Only run once per pair

This commit is contained in:
Matthias 2019-01-21 19:56:15 +01:00
parent e7800aa88a
commit 27b2021726
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ class Exchange(object):
input_coroutines = []
# Gather corotines to run
for pair, ticker_interval in pair_list:
for pair, ticker_interval in set(pair_list):
# Calculating ticker interval in second
interval_in_sec = constants.TICKER_INTERVAL_MINUTES[ticker_interval] * 60