1
0

Fixed assets
All checks were successful
Test Python / Test (push) Successful in 26s

This commit is contained in:
Jon Michael Aanes 2024-09-02 20:15:08 +02:00
parent 54dceac9b1
commit ad6e9d946c
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -115,12 +115,12 @@ class KucoinDepoFetcher(DepoFetcher):
# Convert arguments to kucoin client arguments
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'
size = None
funds = str(input_amount)
else:
symbol = f'{input_asset}-{output_asset}'
symbol = f'{input_asset.raw_short_name()}-{output_asset.raw_short_name()}'
side = 'sell'
size = str(input_amount)
funds = None