I have a some trouble calculating the right share/contracts to buy on forex market.
It is such a simple problem that I am a little ashamed, but at least I hope it is quick to solve.
I am using a strategy on binance spot market and I need to calculate how much share of crypto i have to buy.
Example: I want to buy 100$ of "Y" coin. Y/$ change is 2,00.
How many contracts I have to buy?
I first used this formula:
Where price in this case is 2.
Doing simulation everything works fine, in trade list there is nothing strange.
BUT this formula doesn't work in the real world, the order was always rejected by Binance. So Multicharts support suggested me the following formula.
I tested in a simulation, but it buy too much contracts...
I set on Quote Manager Binance as Data Source.
What I am doing wrong?
What forula should I use?
Thank you so much!
Federico