Commit Graph

121 Commits

Author SHA1 Message Date
Jacob Plaster
e24f4085f9 Subscriptions: limit channels to 25 per instance 2019-05-13 17:11:58 +10:00
Paolo Ardoino
73e2ed8cc9 Merge pull request #12 from JacobPlaster/add-apache-lic
Adds apache 2.0 license
2019-04-27 11:08:25 +02:00
Jacob Plaster
b2a87bafa0 Adds apache 2.0 license 2019-04-26 11:29:25 +10:00
Paolo Ardoino
9337578c60 Merge pull request #11 from JacobPlaster/update-default-ws-url
change default api endpoint to api-pub
2019-04-12 08:05:31 +01:00
Jacob Plaster
296012f22f requirements: upgrade pytest and pylint 2019-04-12 11:49:00 +10:00
Jacob Plaster
32be40da95 travis.yml: use python 3.6.7 2019-04-12 11:49:00 +10:00
Jacob Plaster
5cf5277774 change default v2 api endpoint to pub-api 2019-04-12 11:19:13 +10:00
Paolo Ardoino
4a92c429a8 Merge pull request #10 from JacobPlaster/improve-callbacks-and-checksum
Improve callbacks
2019-02-08 18:54:23 +01:00
Jacob Plaster
4cbbbccd51 requirements: add aiohttp 2019-02-08 17:48:47 +00:00
Jacob Plaster
87bc9241cc requirements: add pyee 2019-02-08 17:46:00 +00:00
Jacob Plaster
4e0f5f5144 travis: use python 3.6 2019-02-08 17:43:24 +00:00
Jacob Plaster
4c12a9e474 requirements. add six 2019-02-08 16:19:47 +00:00
Jacob Plaster
dadf28964f GenericWS: add ability to manually close websocket 2019-02-07 15:34:10 +00:00
Jacob Plaster
8b36d6c4e6 BfxWebsocket: add cancel order with group id 2019-02-07 15:33:53 +00:00
Jacob Plaster
d3f3456627 OrderManager: avoid callback clashing 2019-02-07 15:33:25 +00:00
Jacob Plaster
fbb08afca9 test: add testing for order callbacks 2019-02-07 15:31:22 +00:00
Jacob Plaster
d4c9186fb4 travis: add run pytest script 2019-01-29 15:10:17 +00:00
Jacob Plaster
c35606098b Readme: update with disconnect and stopped event 2019-01-29 15:10:00 +00:00
Jacob Plaster
5a6c2bbbef websocket: add disconnect and stoppd event 2019-01-29 15:09:47 +00:00
Paolo Ardoino
21890e5708 Merge pull request #9 from JacobPlaster/checksum-fix
Convert prices/amounts to Decimals rather than floats
2019-01-25 15:16:29 +00:00
Jacob Plaster
5c8cab8e8a test: add extremely small number checksum unit test 2019-01-25 12:16:00 +00:00
Jacob Plaster
6ea571d468 orderbook: use string values to generate checksum 2019-01-25 12:16:00 +00:00
Jacob Plaster
105c2f22df bfxapi: expose BfxWebsocket 2019-01-25 12:16:00 +00:00
Jacob Plaster
ac0abe54c5 tests: add unit testts for orderbook, order and subscriptions 2019-01-25 12:16:00 +00:00
Jacob Plaster
77fb4b1bac requirements: add pytest-asyncio 2019-01-25 12:16:00 +00:00
Jacob Plaster
3eb02910d2 subscriptions: make generate sub_id more unique 2019-01-25 12:16:00 +00:00
Jacob Plaster
afbb4a670c Create and use decimal object instead of floats 2019-01-25 12:16:00 +00:00
Jacob Plaster
8dc745f149 Use python3/decimal instead of float when parsing ws 2019-01-23 14:37:25 +00:00
Jacob Plaster
3c8c3fb71e genericWebsocket: add reconnect attempt on disconnect 2019-01-18 11:38:08 +00:00
Paolo Ardoino
6e4012f3c1 Merge pull request #6 from JacobPlaster/fix-subscriptions
subscription: fix unsubscrbe
2019-01-11 17:00:12 +01:00
Jacob Plaster
500e662f35 BfxRest: add ability to specify timeframe when seeding candles 2019-01-11 14:38:09 +00:00
Jacob Plaster
504f8422b4 BfxWebsocket: handle ws errors correctly 2019-01-11 14:37:44 +00:00
Jacob Plaster
e259abd568 README: reference medium tutorial article 2019-01-11 14:37:16 +00:00
Jacob Plaster
a22d43a0e0 subscription: fix unsubscrbe 2019-01-04 16:37:00 +00:00
Paolo Ardoino
d5dcf3cf80 Merge pull request #4 from JacobPlaster/little-fixes
Little fixes
2018-12-21 18:48:05 +00:00
Jacob Plaster
2d9a40162f requirements: change pylint to version 2.2.2 2018-12-21 18:06:57 +00:00
Jacob Plaster
db3bb21b1d travis: add install python3 2018-12-21 17:34:23 +00:00
Jacob Plaster
61f2e6daa7 travis.yml: fix pip install 2018-12-21 17:34:23 +00:00
Jacob Plaster
b28d31c19e Order: add amount_filled var and improve __str__ 2018-12-21 17:34:23 +00:00
Jacob Plaster
8807e9f63b Remove open order check on cancel order 2018-12-21 14:59:19 +00:00
Paolo Ardoino
4d2ceb5e13 Merge pull request #3 from JacobPlaster/ws-dead-man-switch
Ws dead man switch
2018-12-18 16:55:56 +00:00
Jacob Plaster
0bcbe5bc1f Remove callback by cid 2018-12-18 15:09:40 +00:00
Jacob Plaster
35c0cdc440 travis use pip3 2018-12-18 11:52:29 +00:00
Jacob Plaster
0c9a0fadbc fix all linting for pylint3 2018-12-18 11:28:04 +00:00
Jacob Plaster
4ef8be144b Add pylint to requirements 2018-12-17 09:48:13 +00:00
Jacob Plaster
1cb33692a0 General fixups 2018-12-14 16:02:33 +00:00
Jacob Plaster
c1aea594a8 Improve callback handling on order complete 2018-12-14 16:02:00 +00:00
Jacob Plaster
2b1912e6a7 Adds .travis.yml for lint pipeline 2018-12-14 16:01:28 +00:00
Jacob Plaster
df017a6685 Add optional dead man switch to websocket 2018-12-07 10:24:22 +00:00
Paolo Ardoino
0b2feb3275 Merge pull request #2 from JacobPlaster/add-rest-services
Add rest interface to bfxapi
2018-12-06 18:03:00 +01:00