-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use FRR on bitfinex as min_daily_rate (#554)
* Return a dict of all currencies even if balance is 0 * Sleep and reduce requests per min if we get ERR_RATE_LIMIT * Reduce request window to 1 sec * Move the timers to millisecond resolution in the coach, MA changes times now when it catches 429 * Comments, logs, fix exception * Don't change api request times unless using bitfinex * Update polo coach to milliseconds * Catch 429 at top level and more sensible api_req_period calc * Use FRR for min_daily_rate * Missing from last commit * PEP-8 * Config and docs for frr as min * Use config for frr and use configured min if higher * Unrelated bug I found from ERR_RATE_LIMIT_fix * Unrelated bug I found from ERR_RATE_LIMIT_fix * Sync Bitfinex API requests completely * Update test * Update test * Messed up the merge from bitfinex_sync_fix * Messed up the merge from bitfinex_sync_fix * Move timer change methods to base class and catch 429 at API level * Add poloniex timer changes * Make sure to re-raise the error, sleep in the MA module not the API. * Converted a tab to spaces * Added FRR Delta for Bitfinex * Added FRR Delta for Bitfinex * PEP-8 * Log when using FRR as min daily rate * Allow config to be picked up from 'BOT' section rather than just coin_cfg * Declare variables to allow global access * This is why we should use classes! * exchangeMax needs defined
- Loading branch information
Showing
5 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters