Bitfinex order history limit
See original GitHub issue- OS: Linux
- Programming Language version: PHP
- CCXT version: 1.18.923
- Exchange: Bitfinex and Bitfinex2
- Method: fetchClosedOrders
Bitfinex has a parameter ‘limit’ (https://docs.bitfinex.com/reference#rest-auth-orders-history) which doesn’t work when passing under params. This code only returns 93 orders… (there are def more than 93 orders on the exchange).
$closedOrders = $exchange->fetchClosedOrders($market, null, 500, ['limit' => 500]);
Bitfinex2 crashes out with:
privatePostOrdersHist method not found, try underscore_notation instead of camelCase for the method being called.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Orders History - Bitfinex API
Term Type Description
ID int Order ID
GID int Group ID
CID int Client Order ID
Read more >Bitfinex Order Types and Order Options
A Limit Order allows you to specify an amount and price you are able and willing to buy or sell. For example, if...
Read more >What is a Limit Order on Bitfinex
A Limit Order enables you to buy or sell at your chosen price. Your limit order will be executed if the market hits...
Read more >Retrieve Orders - Bitfinex API
Term Type Description
ID int64 Order ID
GID int Group ID
CID int Client Order ID
Read more >Historical Orders (deprecated)
Deprecated channel that retrieves past orders. ... TYPE, string, The type of the order: LIMIT, MARKET, STOP, TRAILING STOP, EXCHANGE MARKET, EXCHANGE LIMIT, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is exactly what I was looking for.
I’m comfortable enough with Javascript. If I get a spare few hours i’ll look deeper into it all 😃
Thanks for all your help.
@FlickerBean thx! We appreciate all PRs and contributions!
Here:
Well, technically, we accept JavaScript only, however, if you open the JavaScript fetchClosedOrders and the PHP fetchClosedOrders and compare them, you will immediate notice 0 differences:
↑ That code is literally the same line-to-line. That is because the code is designed to be portable. So, if you don’t feel confident with JavaScript, but you can code in PHP – you could still implement the proper method in JS just by copy-pasting the existing code.
When writing the new code we stick to these rules:
Let us know if you have specific questions, will be happy to answer )