Commit Graph

11 Commits

Author SHA1 Message Date
Ennio Nasca 2954a7779f update solanapy 2022-10-18 16:53:45 +02:00
Imaclean74 7d10ecc9eb
Replace Deprecated Account type with Keypair (#92)
* Replace Deprecated Account type with Keypair

* revert python version change

* removed comments, unnecessary spaces

* require solana-py >= 0.15.0

* fixed mypy errors

* fixed account loader

* Fix lint error

* fixing market tests

* fixing async_test_ market for Keypair

Co-authored-by: Ian MacLean <Imaclean74@github.com>
2021-11-03 20:57:08 -05:00
Kevin Heavey 954732976d
Add async support (#82)
* add async utils and connection

* refactor market.py before adding async

* add async open orders account

* add async_market

* add type hint

* replace pytest-tornasync with pytest-asyncio

* add async tests

* add async tests

* linting

* add async exmplae to README

* fix unit test selection

* bump minor version number

* chmod

* fix keygen error when key already exists

* use --cov-append

* fix coverage for multi test

* fix typo

Co-authored-by: kevinheavey <kevinheavey123@gmail.com>
2021-08-12 20:36:28 +01:00
Kevin Heavey a2f9bd6ca4
Typing fixes (#81) 2021-08-10 10:06:07 -04:00
Leonard G 19ae0c5a42
Fixed size bug. (#70)
* Fixed size bug.

* Fixed linting error.

* Updated version.

* Fixed linting error.

* Fixed linting error.

* Fixed bug.
2021-04-05 10:31:39 -05:00
Michael Huang 4c03b7ef31
Set up docs (#47)
* Add sphinx

* Add doc src

* Update Mafile & LICENSE

* Bump down solana

* Docs under construction

* Add docs workflow

* Install sphinxemoji in workflow

* Only build docs on push

* Doc dependencies

* Remove make docs

* force_orphan
2020-10-05 21:12:53 -05:00
Michael Huang 135c770dcf
Changes for pypi release (#44)
* Adjustments for pypi release

* Remove if else

* Fix typo

* Revert "Remove if else"

This reverts commit 9beb895e56b4e9fa9d9a0b597671486afc84c072.

* Restore queue.py

* Revert "Restore queue.py"

This reverts commit d868475b0059d5d8c1c62132d9d031524e85729b.

* Restore event_queue_binary

* Restore other stuff

* Update README.md

* Fix version

* Address feedback
2020-10-01 10:37:32 -05:00
Michael Huang a6c0f31f05
Set up code coverage (#38)
* Setup code coverage

* Update main.yml

* Use codecov.yml, add badges and clean up scripts

* Add pytest-cov to dev deps
2020-09-19 19:09:40 -05:00
Leonard G 31830db963
Added queue layout and load filled order. (#19)
Added queue layout for both request queue and event queue. Implemented load_request_queue, load_event_queue and load_filled_order for market class.
2020-09-04 23:16:39 +01:00
Michael Huang 89014c6287
Account flags layout (#9)
* Account flag layout

* Add wrapper methods

* Replace empty flags with padding
2020-08-30 18:45:39 -05:00
michaelhly 5edd6f64fc Set up repo 2020-08-29 17:28:24 -05:00