Commit Graph

66 Commits

Author SHA1 Message Date
JacobPlaster
1f300dd326 websocket: add new events and use t/f to define ticker 2020-04-16 10:45:20 +01:00
JacobPlaster
4273a9e7f9 bfxapi: add ticker event updates 2020-04-16 10:45:20 +01:00
JacobPlaster
275cd1c75b generic_websocket: remove daemon thread and add stop function 2020-04-16 10:45:20 +01:00
JacobPlaster
5c618e930a generic_websocket: set event_emmiter thread to daemon 2020-04-13 15:58:49 +01:00
JacobPlaster
972e05eacd generic_websocket: add optimization comment 2020-01-09 11:39:06 +00:00
JacobPlaster
2cde664359 Replace 'is not' with '!=' 2020-01-09 11:39:06 +00:00
JacobPlaster
d54c0d2391 websocket: add write lock when sending 2020-01-09 11:39:06 +00:00
JacobPlaster
2195e8b3b2 ws/client: add channel_filter field 2019-12-20 11:38:00 +00:00
JacobPlaster
39e79da9a1 Orders: add meta field and support for aff_code 2019-12-17 12:52:37 +00:00
ph4z
821f8831b9 Fix resub for authenticated sockets 2019-12-17 12:50:07 +00:00
JacobPlaster
a9afd66449 README: remove ERRORS, spelling and add timeframe comment 2019-10-10 11:47:29 +01:00
JacobPlaster
3e4beb5f7e bfxapi: edit comments for doc generating 2019-10-10 11:47:29 +01:00
Jacob Plaster
25151f5011 websocket: convert notfication to notification object 2019-09-12 14:20:22 +01:00
Jacob Plaster
dfabb438de bfxapi: support leverage for derivatives 2019-09-11 12:49:53 +01:00
Jacob Plaster
f6837452fb bfxapi: add rest order endpoints 2019-09-11 12:49:53 +01:00
Jacob Plaster
11be0577d6 generic_ws: fix data server close and enable custom event emitter 2019-07-25 11:24:33 +07:00
Jacob Plaster
e59a94366f create setup.py for pip integration (@redknightlois) 2019-07-19 16:27:35 +07:00
Jacob Plaster
ac20a7530a websocket: add subscriptions to status channel functionality 2019-07-19 14:54:17 +07:00
Jacob Plaster
1eacb9eab9 Fix camel-casing filenames and remove filename conflicts 2019-07-17 14:25:43 +07:00
Jacob Plaster
13e7d505f8 add websocket multiplexer 2019-06-18 15:10:00 +08:00
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
5a6c2bbbef websocket: add disconnect and stoppd event 2019-01-29 15:09:47 +00:00
Jacob Plaster
6ea571d468 orderbook: use string values to generate checksum 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
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
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
d0f2e81ecd OrderManager: add docstrings to cancel functions 2018-12-06 12:10:46 +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
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
Jacob Plaster
1f2fdf9fa0 Remove trade object from order manager 2018-12-04 11:05:16 +00:00
Jacob Plaster
4fedaee51c Add authentication for rest client 2018-12-03 14:41:30 +00:00
Jacob Plaster
4aa885261e Add extra docs to README 2018-11-28 14:33:28 +00:00