Commit Graph

288 Commits

Author SHA1 Message Date
itsdeka
1af7badf65 adjusted CHANGELOG 2021-10-04 11:34:54 +02:00
itsdeka
64917d9e94 updated version 2021-10-04 11:34:23 +02:00
itsdeka
b4dfa65597 Handle InvalidStatuCode exception 2021-10-04 11:33:32 +02:00
Vigan Abdurrahmani
09a9b8f52b Merge pull request #162 from itsdeka/ob
added full_orderbook.py example
2021-08-12 22:35:41 +07:00
Dario Moceri
d5370b155c Merge branch 'master' into ob 2021-08-12 16:39:31 +02:00
Vigan Abdurrahmani
ab166f74a0 Merge pull request #161 from itsdeka/retry
if max_retries == 0 continue forever
2021-08-12 21:36:11 +07:00
itsdeka
e1e8eb5753 semver adjustment 2021-08-12 16:33:04 +02:00
itsdeka
30b46b1ebe semver adjustment 2021-08-12 16:31:54 +02:00
itsdeka
48e8455180 ver 2021-08-09 12:31:16 +02:00
itsdeka
df0bc58305 ver 2021-08-09 12:30:41 +02:00
itsdeka
8e87cf17ce added full_orderbook.py example 2021-08-09 12:18:13 +02:00
itsdeka
110b4b46e1 added full_orderbook.py example 2021-08-09 12:15:56 +02:00
itsdeka
4e86eede41 if max_retries == 0 continue forever 2021-08-06 13:45:28 +02:00
Robert Kowalski
62501edfa0 Merge pull request #158 from nkasimova/update-time-in-force
Fixed bug in setting 'time in force' in order update
2021-07-19 11:56:15 +02:00
Robert Kowalski
4b9cb8f373 Merge pull request #157 from nkasimova/change-close-flag
Fixed a bug in 'close position' flag
2021-07-19 11:55:38 +02:00
nkasimova
4f07ba0e39 Fixed bug in setting 'time in force' in order update (added changes to rest) 2021-07-15 11:19:38 +03:00
nkasimova
18eba161e5 Fixed bug in setting 'time in force' in order update 2021-07-09 15:38:14 +03:00
nkasimova
f899feb1ca Fixed a bug in close position flag 2021-07-09 13:21:05 +03:00
Robert Kowalski
7a04ecb64d Merge pull request #153 from itsdeka/margin_info
Added Margin Info endpoint & claim position
2021-06-25 13:11:39 +02:00
itsdeka
6df56657d3 -) updated CHANGELOG
-) updated example get_authenticated_data.py
-) updated string formatter margin_info.py and margin_info_base.py
2021-06-25 12:20:37 +02:00
Dario Moceri
062b13a382 fix example for ws (#151) 2021-06-25 11:37:56 +02:00
itsdeka
a28b263238 added claim_position to bfx_rest.py 2021-06-21 21:45:50 +02:00
itsdeka
98825aae10 Added Margin Info endpoint 2021-06-10 18:17:13 +02:00
Dario Moceri
4a8d3e48b0 Added 'ids' parameter to get_order_history() (#121)
* Added 'ids' parameter to get_order_history()
* fix

Co-authored-by: Robert Kowalski <robert@bitfinex.com>
2021-05-25 11:33:08 +02:00
Dario Moceri
a58c772e4b added ws example (#137)
* This is an example of how is it possible to spawn multiple bfx ws instances to comply to the open subscriptions number contraint (max. 25)
* fix
* typo
* bump version
* made the list smaller
* added newline
Co-authored-by: Robert Kowalski <robert@bitfinex.com>
2021-05-24 14:30:36 +02:00
Dario Moceri
42b15e690e fix docs (#139) 2021-05-24 13:33:32 +02:00
Richard Hoekstra
e7218aef92 feat: implement funding trades endpoint (rest) (#135)
* feat: support funding_trades endpoint
* chore: bump version, add changelog entry
* chore: add final newline to funding_trade.py
* fix: 'maker' is now placeholder in fundingtrade

Co-authored-by: Richard Hoekstra <me@richardhoekstra.com>
Co-authored-by: Robert Kowalski <robert@bitfinex.com>
2021-05-24 13:32:50 +02:00
fintzd
8660fac2bb fix: delete get_seed_trades.py (#134)
* Delete get_seed_trades.py
The request here is made with REST not WS, so it is not the correct place for this example.
* Moved the file to where it belongs
2021-05-24 13:28:01 +02:00
Robert Kowalski
d97c8c8a7c 1.1.14 2021-04-28 15:25:37 +02:00
Dario Moceri
fa6ec4e718 Added missing error to ERRORS (#136)
* Added missing error to ERRORS
* bump version
2021-04-23 13:23:05 +02:00
Jon
e1f5254372 Adding balance_available to the wallet (#132)
* Adding balance_available to the wallet
* Refactoring bfx_rest.py/get_wallets to use the updated Wallet class, which has available_balance i it

Co-authored-by: jon <fcmisc@gmail.com>
2021-04-14 12:53:05 +02:00
Dario Moceri
4b4a17ebd8 get_public_trades() orders should be sorted by [timestamp, id] (#127)
Co-authored-by: Robert Kowalski <robert@bitfinex.com>

 - solved the merge conflict in CHANGELOG
2021-04-09 16:24:32 +02: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
fintzd
3d4847934d Update README.md 2021-04-09 16:10:11 +02:00
fintzd
e22d3649b2 Update README.md 2021-04-09 16:10:11 +02:00
fintzd
e6c94c32f9 update definitions: wrong arg value format
get_public_candles (line 99) : limit arg was set as string while below it is defined as int
get_public_trades (line 121) : limit arg was set as string while below it is defined as int
2021-04-09 16:00:13 +02:00
Dario Moceri
c755d33d28 Python 3.9.2 requires websockets 8 2021-04-09 15:46:33 +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
Robert Kowalski
e39ed1c491 prepare 1.1.10 2021-02-12 10:44:05 +01:00
Robert Kowalski
082a94c752 Merge pull request #104 from itsdeka/master (get_seed_candles)
get_seed_candles() has been fixed in a backwards compatibility manner
2021-02-12 09:41:57 +01:00
Dario Moceri
ce02356b76 updated version and CHANGELOG 2021-02-10 22:07:03 +01:00
Dario Moceri
ab1a3da851 adjusted function get_seed_candles() [maintaining backward compability] 2021-02-10 22:02:50 +01:00
Dario Moceri
82020263e3 adjusted function get_seed_candles() 2021-02-10 21:43:48 +01:00
Robert Kowalski
b21837c668 Merge pull request #103 from Sturgelose/patch-1
Use ranges in setup.py versions
2021-02-10 17:12:54 +01:00
Erik Berdonces Bonelo
7c8ce5c389 Update setup.py 2021-02-10 16:07:46 +01:00
Erik Berdonces Bonelo
83b447e4cd Update requirements.txt 2021-02-10 16:07:27 +01:00
Erik Berdonces Bonelo
c7f5678a5f Pin pyee to ~=8.0 2021-02-10 12:34:52 +01:00
Erik Berdonces Bonelo
7833feb101 Pin pyee to version 7.X.X 2021-02-09 17:29:43 +01:00