Commit Graph

147 Commits

Author SHA1 Message Date
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
Jacob Plaster
f38879cfda README: add rest interface to documentation 2018-12-06 13:13:23 +00:00
Jacob Plaster
597e51ee1b models.Order: fix type enum 2018-12-06 13:12:52 +00:00
Jacob Plaster
c27b9c132e bfxpi: expose models in __init__ 2018-12-06 13:12:19 +00:00
Jacob Plaster
1e6f9b2356 examples: use Order.Type enum in order submit 2018-12-06 13:12:02 +00:00
Jacob Plaster
d0f2e81ecd OrderManager: add docstrings to cancel functions 2018-12-06 12:10:46 +00:00
Jacob Plaster
bfb8a62fe2 Order: add order flags enum 2018-12-06 12:10:24 +00:00
Jacob Plaster
2f10d4f356 SubscriptionManager: add docstrings 2018-12-06 12:09:50 +00:00
Jacob Plaster
065873ced8 Rename close_order > cancel_order 2018-12-06 11:33:32 +00:00
Jacob Plaster
80efce2a65 ws.OrderManager: improve update order 2018-12-06 11:30:38 +00:00
Jacob Plaster
7777989bc5 ws.OrderManager: improve submit order 2018-12-06 11:30:23 +00:00
Jacob Plaster
5a7ebb3874 examples: adds atuh funding functions 2018-12-05 15:44:33 +00:00
Jacob Plaster
d4c2942f22 examples: add public get_tickers 2018-12-05 15:44:11 +00:00
Jacob Plaster
cecf9edcce Add docstrings to functions 2018-12-05 15:43:10 +00:00
Jacob Plaster
43ad3d29c7 Adds more authenticated endpoints 2018-12-05 14:57:33 +00:00
Jacob Plaster
9309692344 Add doc strings to model 2018-12-05 14:55:20 +00:00
Jacob Plaster
3760efcc16 Expose create modles via __init__ 2018-12-05 14:52:51 +00:00
Jacob Plaster
4ed8fe17e0 Create FundingOffer model 2018-12-05 14:52:29 +00:00
Jacob Plaster
a49c1b608d Create FundingLoan model 2018-12-05 14:52:10 +00:00
Jacob Plaster
ca17ddf53b Create funding credit model 2018-12-05 14:51:55 +00:00
Jacob Plaster
149a7559f4 remove reference to staging 2018-12-04 15:42:06 +00:00
Jacob Plaster
2a96cede5e examples.rest: create public and auth examples 2018-12-04 15:41:02 +00:00
Jacob Plaster
8a63d36159 BfxRest: add auth and public endpoints 2018-12-04 15:40:36 +00:00
Jacob Plaster
0db3fa2f64 models: create position object 2018-12-04 15:39:53 +00:00
Jacob Plaster
6d4f840b27 BfxWebsocket: pass through logLevel 2018-12-04 15:39:29 +00:00