Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about order volume for linear swap #135

Open
xmiraclez opened this issue Jul 15, 2022 · 0 comments
Open

question about order volume for linear swap #135

xmiraclez opened this issue Jul 15, 2022 · 0 comments

Comments

@xmiraclez
Copy link

Hello. I try place this order:

order.isolated_order({'contract_code':'BTC-USDT','direction':'buy','pair':'BTC-USDT','volume':1,'contract_type':'swap','lever_rate':1,'order_price_type':'limit','price':10000,'offset':'open'})

and receiving:
{'status': 'error',
'err_code': 1047,
'err_msg': 'Insufficient margin available.',
'ts': 1657916879553}

so. 1 BTC is too large of course for my balance.

But if volume less 1 (0.01):

{'status': 'error',
'err_code': 1067,
'err_msg': 'The volume field is invalid. Please re-enter.',
'ts': 1657917373278}

How place order for small amount BTC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant