Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Relative account sizing is not working correctly #33

Open
almodhfer opened this issue Oct 1, 2021 · 1 comment
Open

Relative account sizing is not working correctly #33

almodhfer opened this issue Oct 1, 2021 · 1 comment

Comments

@almodhfer
Copy link

When using relative sizing in binance futures such as :
{ "stub": "MAIN", "direction": "long", "symbol": "BTC/USDT", "size": "20%" }

It buys only 20% of the available balance without the margin.

@leifjones
Copy link
Collaborator

One of these spots may be the code to look at: getTickerPosition() or getPositionSize(). Though, I'm unfamiliar with either exchange

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

No branches or pull requests

2 participants