Commit Graph

260 Commits

Author SHA1 Message Date
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
Erik Berdonces Bonelo
90ef627cc6 Use ranges in setup.py versions
Versions in setup.py shouldn't be pinned.
https://packaging.python.org/discussions/install-requires-vs-requirements/?highlight=install_requires

Removed also dev dependencies, as setup.py should only keep the ones used for production. For dev and testing you use the ones in requirements.txt.

To understand `~=~ check here: https://pip.pypa.io/en/latest/user_guide/#understanding-your-error-message

>~=3.1: version 3.1 or later, but not version 4.0 or later. ~=3.1.2: version 3.1.2 or later, but not version 3.2.0 or later.
2021-02-04 12:56:09 +01:00
Paolo Ardoino
8a8c325203 Merge pull request #99 from itsdeka/master
Implemented additional endpoints (rest) + updated setup.py requirements
2021-01-29 18:59:10 +01:00
Dario Moceri
cae37ccf4c Readded get_public_tickers() (I accidentally removed it) 2021-01-29 15:49:09 +01:00
Dario Moceri
d172bf620b Readded get_public_tickers() (I accidentally removed it) 2021-01-29 15:48:38 +01:00
Dario Moceri
026cd63929 Update dependencies in setup.py 2021-01-29 15:19:30 +01:00
Dario Moceri
0c9299184d Added Public Funding Stats (rest) 2021-01-28 22:12:20 +01:00
Dario Moceri
438cc2ef2c Added Public Tikers History (rest) 2021-01-28 21:50:10 +01:00
Dario Moceri
aea663c921 Added Public Tikers History (rest) 2021-01-28 21:50:05 +01:00
Dario Moceri
63942264ca - added function submit_pulse_comment()
- renaming
2021-01-28 21:31:51 +01:00
Dario Moceri
25f4fdc3d9 added endpoint rest auth order multi op
(https://docs.bitfinex.com/reference#rest-auth-order-multi)
2021-01-28 21:14:47 +01:00
Dario Moceri
7a5b0f338d amount is NOT optional 2021-01-27 21:58:46 +01:00
Dario Moceri
a813eb3b4b fixed generate_invoice() 2021-01-27 21:33:30 +01:00
Dario Moceri
2387a65272 updated CHANGELOG 2021-01-27 21:01:57 +01:00
Dario Moceri
1a835ee086 added https://docs.bitfinex.com/reference#rest-public-stats1 endpoint (get_public_stats) 2021-01-27 21:01:36 +01:00
Dario Moceri
a212fa03d9 limit = 100 as default would be better, but there is an issue with large response ( failed with status 500 - ["error",10001,"ERR_REQUEST_GENERIC: ESOCKETTIMEDOUT"] ) 2021-01-25 17:36:19 +01:00
Dario Moceri
a322549142 better rewriting 2021-01-25 17:34:57 +01:00
Dario Moceri
6a6545eecc removed redundant brackets 2021-01-25 17:31:40 +01:00
Dario Moceri
409d9ca595 get_public_pulse_hist() -> end should be optional 2021-01-25 17:30:19 +01:00
Dario Moceri
6d39059503 removed debug prints 2021-01-25 16:58:57 +01:00
Dario Moceri
f01deb5540 Implemented additional REST endpoints
- Foreign exchange rate
- Market average price
- Generate invoice
- Keep funding
- Cancel order multi
2021-01-24 17:20:59 +01:00
Dario Moceri
29f50fccb0 Implemented additional REST endpoints
- Foreign exchange rate
- Market average price
- Generate invoice
- Keep funding
- Cancel order multi
2021-01-24 17:20:02 +01:00
Dario Moceri
d7ec7bcb95 Implemented PULSE endpoints (rest) 2021-01-22 18:59:57 +01:00
Dario Moceri
20d87ea4b7 removed wrong comment 2021-01-22 18:56:46 +01:00
Dario Moceri
64fadefd1b Implemented PULSE endpoints (rest) 2021-01-22 18:55:19 +01:00
Paolo Ardoino
f6c089b6e0 Merge pull request #98 from itsdeka/master
Python 3.X compatibility
2021-01-22 14:20:03 +01:00
Dario Moceri
acc232e049 Updated changelog and version.py
Note: there was a mismatching
2021-01-21 16:26:01 +01:00
Dario Moceri
1463f667d8 Updated pyee -> 8.0.1
Changed deprecated EventEmitter(scheduler=X) with AsyncIOEventEmitter

Now bitfinex-api-py works on Python 3.8
2021-01-21 16:18:06 +01:00
Dario Moceri
a79f5b5fdf Updated pyee -> 8.0.1
Now bitfinex-api-py works on Python 3.8
2021-01-21 16:08:24 +01:00