reduce calls_per_second
This commit is contained in:
parent
517879382b
commit
1c3c316e45
@ -27,13 +27,13 @@ class Bittrex(Exchange):
|
||||
_API = _Bittrex(
|
||||
api_key=_EXCHANGE_CONF['key'],
|
||||
api_secret=_EXCHANGE_CONF['secret'],
|
||||
calls_per_second=3,
|
||||
calls_per_second=2,
|
||||
api_version=API_V1_1,
|
||||
)
|
||||
_API_V2 = _Bittrex(
|
||||
api_key=_EXCHANGE_CONF['key'],
|
||||
api_secret=_EXCHANGE_CONF['secret'],
|
||||
calls_per_second=3,
|
||||
calls_per_second=2,
|
||||
api_version=API_V2_0,
|
||||
)
|
||||
|
||||
|
@ -322,7 +322,7 @@ def main():
|
||||
elif new_state == State.RUNNING:
|
||||
if args.dynamic_whitelist:
|
||||
_CONF['exchange']['pair_whitelist'] = gen_pair_whitelist(_CONF['stake_currency'])
|
||||
throttle(_process, min_secs=_CONF['internals'].get('process_throttle_secs', 5))
|
||||
throttle(_process, min_secs=_CONF['internals'].get('process_throttle_secs', 10))
|
||||
old_state = new_state
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user