This commit is contained in:
parent
54dceac9b1
commit
ad6e9d946c
|
@ -115,12 +115,12 @@ class KucoinDepoFetcher(DepoFetcher):
|
||||||
|
|
||||||
# Convert arguments to kucoin client arguments
|
# Convert arguments to kucoin client arguments
|
||||||
if input_asset == fin_defs.USDT:
|
if input_asset == fin_defs.USDT:
|
||||||
symbol: str = f'{output_asset}-{input_asset}'
|
symbol: str = f'{output_asset.raw_short_name()}-{input_asset.raw_short_name()}'
|
||||||
side: str = 'buy'
|
side: str = 'buy'
|
||||||
size = None
|
size = None
|
||||||
funds = str(input_amount)
|
funds = str(input_amount)
|
||||||
else:
|
else:
|
||||||
symbol = f'{input_asset}-{output_asset}'
|
symbol = f'{input_asset.raw_short_name()}-{output_asset.raw_short_name()}'
|
||||||
side = 'sell'
|
side = 'sell'
|
||||||
size = str(input_amount)
|
size = str(input_amount)
|
||||||
funds = None
|
funds = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user