thibaultyou/tradingview-alerts-processor

Relative account sizing is not working correctly

Opened this issue · 1 comments

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.

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