Commit Graph

9 Commits

Author SHA1 Message Date
waterquarks 5d91691480 Extend fills 2023-04-25 04:47:04 +00: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
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
Leonard G 969c14f3e1
Added match and cancel order to market class.
Added the following:

- place order API
- cancel order API
- integration tests for existing functionalities
- split the run_int-test script into several files so that we can just start the docker image without running the integration tests
- fix the issue when the test fails but the build is still red.
2020-09-15 11:52:19 +08:00
Michael Huang 43cfe1be57
Refactor bootstrapped fixtures (#28)
* Add wallet fixture

* Make format

* Extra verbose logging for int tests

* Update make scripts

* Refactor bootstrapped fixtures
2020-09-13 16:30:57 -05: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
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