reduce calls_per_second

This commit is contained in:
gcarq 2017-11-11 21:29:35 +01:00
parent 517879382b
commit 1c3c316e45
2 changed files with 3 additions and 3 deletions

View File

@ -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,
)

View File

@ -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