TickSize work for you?
Created at 12 Aug 2017, 09:24
TickSize work for you?
12 Aug 2017, 09:24
Try their reference code
/api/reference/internals/symbol/ticksize
protected override void OnTick() { Print("The current symbol has TickSize: {0}", Symbol.TickSize); }
During backtest ( EURUSD tick data ) log results are
10/08/2017 23:59:58.000 | The current symbol has TickSize: 1E-05
double pipSize = Symbol.PipSize; Print("DEBUG: Symbol Pip Size {0} ", pipSize);
During backtest ( EURUSD tick data ) log results are
10/08/2017 23:59:58.000DEBUG: Symbol Pip Size 0.0001
BeardPower
14 Aug 2017, 16:19
RE:
Hi,
what exactly is your issue?
1E-05 is just the scientific notation of 0.00001.
EURUSD is notated with five digits.
TickSize: 0.00001
PipSize is TickSize times 10: 0.0001
@BeardPower