During a backtest, order quantity is an absolute value which is in most cases different than in a real-time brokerage account. As an example, 1 traded FX lot at a live brokerage account might be the equivalent to 100,000 of notional value (check with your broker) however, in backtest a value of 1 is a literal value of 1 and not 100,000. Thus, if you want to trade 100,000 in a backtest you need to put in a value of 100,000. Just remember that if you convert your strategy from backtest to live you will need to amend the order quantities appropriately.
If I run the strategy on a currency then TradesPerformance.Currency.CumProfit and TradesPerformance.Points.CumProfit are different (Currency is correctly multiplied by 10,000 - my live account uses mini lots - however, I ran the strategy on Sim101, so how does it know?). If I run it on a stock Currency and Points have the same value (which is also correct).
How does NT know when to scale and how much to scale (i.e. by 10,000 for mini lots or 100,000 for normal lots)? Does it get that from the account connection or instrument settings or ...?

Comment