Commit Graph

13 Commits

Author SHA1 Message Date
nkasimova
18eba161e5 Fixed bug in setting 'time in force' in order update 2021-07-09 15:38:14 +03:00
Dario Moceri
d198ccb7a7 Invalid orders should be removed from pending_orders (#126)
* Invalid orders should be removed from pending_orders

* If an EXCHANGE_FILL_OR_KILL order is unfilled and cancelled, confirm_order_new will not get called. This can leave lots of pending orders remaining in the order_manager.

However, confirm_order_closed will get called, and therefore we should delete pending orders from that method as well.
* updated CHANGELOG
2021-04-09 16:20:08 +02:00
Dario Moceri
06a2017c3a newline end 2021-03-15 16:35:00 +01:00
Dario Moceri
02aedade8c removed extra lines 2021-03-15 16:35:00 +01:00
Dario Moceri
50c52b77ab -) Removed pendingOrders from BfxWebsocket() (it was not used anywhere)
-) Fixed issue in confirm_order_new() (the keys of the dict pending_orders are the cids of the orders, and not the ids)
2021-03-15 16:35:00 +01:00
Richard Hoekstra
3fa6feb888 FIX:
- New closed orders were not added to the 'closed_orders' dict.
- Confirmed pending orders were not removed from the 'pending_orders' dict.
2020-07-07 10:42:57 +01:00
JOlson
427e99710e Fix docstring, comment typos 2020-07-07 10:40:06 +01:00
JacobPlaster
2cde664359 Replace 'is not' with '!=' 2020-01-09 11:39:06 +00:00
JacobPlaster
39e79da9a1 Orders: add meta field and support for aff_code 2019-12-17 12:52:37 +00: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
1eacb9eab9 Fix camel-casing filenames and remove filename conflicts 2019-07-17 14:25:43 +07:00