We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76ca00 commit 132d532Copy full SHA for 132d532
triangular_arbitrage/detector.py
@@ -27,7 +27,7 @@ def get_symbol_from_key(key_symbol: str) -> symbols.Symbol:
27
28
def is_delisted_symbols(exchange_time, ticker, threshold = 1 * constants.DAYS_TO_SECONDS * constants.MSECONDS_TO_SECONDS) -> bool:
29
ticker_time = ticker['timestamp']
30
- return ticker_time is None or not (exchange_time - ticker_time <= threshold)
+ return ticker_time is not None or not (exchange_time - ticker_time <= threshold)
31
32
def get_last_prices(exchange_time, tickers, ignored_symbols):
33
return [
0 commit comments