Code quality
This commit is contained in:
parent
39cee8c601
commit
7c72093893
|
@ -54,12 +54,12 @@ BACKEND_MODULE_NAMES = [
|
|||
]
|
||||
|
||||
__all__ = [
|
||||
'defi_kraken',
|
||||
'defi_kucoin',
|
||||
'investbank_nordnet',
|
||||
'defi_partisia_blockchain',
|
||||
'__version__',
|
||||
'data',
|
||||
'defi_kraken',
|
||||
'defi_kucoin',
|
||||
'defi_partisia_blockchain',
|
||||
'investbank_nordnet',
|
||||
'static',
|
||||
]
|
||||
|
||||
|
|
|
@ -243,7 +243,6 @@ class KucoinDepoFetcher(DepoFetcher):
|
|||
for _weeks_back in range(20):
|
||||
end_time = end_time - datetime.timedelta(days=7)
|
||||
timestamp = int(end_time.timestamp() * 1000)
|
||||
print(timestamp)
|
||||
raw_details = self.kucoin_client.get_orders(end=timestamp)
|
||||
yield from (order_from_json(item) for item in raw_details['items'])
|
||||
del _weeks_back, raw_details
|
||||
|
|
|
@ -57,6 +57,4 @@ def test_get_historic_spot_orders():
|
|||
@needs_secrets
|
||||
def test_get_double_registers():
|
||||
double_registers = get_fetcher()._get_double_registers()
|
||||
print(double_registers)
|
||||
assert len(double_registers) > 0
|
||||
assert False
|
||||
|
|
Loading…
Reference in New Issue
Block a user