Difference between revisions of "4.6.5 Real-time"
Jump to navigation
Jump to search
(Created page with "After the strategy calculation of all signal bars on the historical data, the strategy proceeds to calculation in RealTime mode. In case of the historical calculation: Environ...") |
|||
Line 3: | Line 3: | ||
Strategy signals calculation in RealTime is executed in the same way as historic calculation, upon the close of the next bar in sequence. | Strategy signals calculation in RealTime is executed in the same way as historic calculation, upon the close of the next bar in sequence. | ||
− | [[Category:.NET | + | [[Category:4. Understanding PowerLanguage .NET]] |
Latest revision as of 09:28, 6 May 2013
After the strategy calculation of all signal bars on the historical data, the strategy proceeds to calculation in RealTime mode. In case of the historical calculation: Environment.IsRealTimeCalc = false, and in RealTime: Environment.IsRealTimeCalc = true. The key difference between RealTime calculation and historic calculation is that the sent orders at historic calculation can be executed at any possible price within the bar. In RealTime it happens only on the ticks received for the symbol.
Strategy signals calculation in RealTime is executed in the same way as historic calculation, upon the close of the next bar in sequence.