kucoin-python-sdk icon indicating copy to clipboard operation
kucoin-python-sdk copied to clipboard

Margin Orders?

Open slhawk98 opened this issue 3 years ago • 2 comments

Are margin orders allowed? If so, what's the syntax? I see magin.py file but not sure how to call functions within that file.

slhawk98 avatar May 26 '21 06:05 slhawk98

+1

sparkmobi avatar Dec 22 '21 10:12 sparkmobi

Are margin orders allowed? If so, what's the syntax? I see magin.py file but not sure how to call functions within that file.

from kucoin.client import Trade
client = Trade(key='', secret='', passphrase='', is_sandbox=False)

order =client.create_limit_margin_order(
            symbol='KCS-USDT',
            side='buy',
            size='0.01',
            price='0.001',
            clientOid=get_uuid(),
            remark='test create_market_margin_order',
        )
        

codewc avatar Jan 11 '22 07:01 codewc

Since this issue has already been addressed and there have been no updates for a long time, we will now close it. If you need any further assistance, feel free to ask!

ISAAC-XXYYZZ avatar Jul 29 '24 09:07 ISAAC-XXYYZZ