Hello,
This question was asked on the MC forum but I am looking for the same on the .Net version.
How to access the Binance Contract Ratios from a strategy script?
Thanks,
ATC
Binance Contract Ratios
- Tammy MultiCharts
- Posts: 200
- Joined: 06 Aug 2020
- Has thanked: 6 times
- Been thanked: 65 times
Re: Binance Contract Ratios
Hello tornadoatc,
The contract ratio information is received from the broker. Accessing Contract Ratio values directly from the script in MultiCharts is not possible.
However, the following information might help you calculate the position size:
Contract Ratio value for Spot symbols and USDT Futures equals to BigPointValue. You can refer to BigPointValue in your script through Bars.Info.BigPointValue.
Contract Ratio for Coin Futures always equals to 1.
The contract ratio information is received from the broker. Accessing Contract Ratio values directly from the script in MultiCharts is not possible.
However, the following information might help you calculate the position size:
Contract Ratio value for Spot symbols and USDT Futures equals to BigPointValue. You can refer to BigPointValue in your script through Bars.Info.BigPointValue.
Contract Ratio for Coin Futures always equals to 1.