Commit Graph

15 Commits

Author SHA1 Message Date
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
Michael Huang 43c66c7f3f
Update README.md 2020-11-29 12:20:34 -06:00
michaelhly b902058fa7 Get token mints 2020-10-31 08:53:01 -05:00
michaelhly 734b372c33 Simplify get_live_markets 2020-10-29 23:24:45 -05:00
Michael Huang 722935cb5f
Add load_orders_for_owner and get_live_markets (#52)
* true list of live markets and open orders

* linting fix

* remove unused req file

* moar lints

* fixing commitment with solana api

* using chain

* MOAR LINT

* Revert layout changes

* Revert state.py changes

* Move get_live_markets

* Format and lint

* Add test for get_live_markets

* Update README.md

* Address prior feedback

Co-authored-by: gitjcs <julien.collardseguin@gmail.com>
2020-10-29 18:17:29 -05:00
Lowell Tarek Abbott Vidal 42b2f03332
Fix typo on example for order information (#50) 2020-10-14 13:24:50 -05:00
michaelhly c7a7d61f01 Update README.md and setup.py 2020-10-01 10:58:28 -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 e7406f8c7d
[MINOR] Updated README. (#35)
Updated README to include the instruction to start Serum DEX in docker and also mention the source of truth for the market addresses.
2020-09-17 15:30:14 +08:00
Michael Huang 1cc4b7b052
Set up integration tests and workflow (#27)
* Set up integration workflow

* Add rust toolchain and cargo to workflow

* Add run_int_tests script

* Remove install cargo

* Fix script

* Install libudev-dev in workflow

* Update makefile

* Fix work flow

* Add integration tests

* Update scripts

* Update script

* Update script

* Run int tests script with sudo

* Move int tests back to last workflow item

* Update README and try fix

* Set url to localhost:8899

* Add python and pipenv set up to integratino workflow

* Install pytest
2020-09-12 19:56:43 -05:00
Leonard Ge f02898dd55 Refacoted loadbid and loadask interface. 2020-09-04 00:39:19 +01:00
Leonard Ge 29baa580de Added get started in README. 2020-09-03 10:16:50 +01:00
michaelhly 384b9547be Remove pydocstyle from linters and update README.md 2020-08-30 08:31:11 -05:00
michaelhly 5edd6f64fc Set up repo 2020-08-29 17:28:24 -05:00