Commit Graph

88 Commits

Author SHA1 Message Date
Jacob Plaster
e24f4085f9 Subscriptions: limit channels to 25 per instance 2019-05-13 17:11:58 +10:00
Jacob Plaster
5cf5277774 change default v2 api endpoint to pub-api 2019-04-12 11:19:13 +10: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
5a6c2bbbef websocket: add disconnect and stoppd event 2019-01-29 15:09:47 +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
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
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
a22d43a0e0 subscription: fix unsubscrbe 2019-01-04 16:37:00 +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
Jacob Plaster
0bcbe5bc1f Remove callback by cid 2018-12-18 15:09:40 +00:00
Jacob Plaster
0c9a0fadbc fix all linting for pylint3 2018-12-18 11:28:04 +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
df017a6685 Add optional dead man switch to websocket 2018-12-07 10:24:22 +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
Jacob Plaster
3df4604766 models: create static create methods 2018-12-04 15:39:07 +00:00
Jacob Plaster
136773197d Remove order onComplete and add onConfirma and onClose 2018-12-04 11:36:05 +00:00