Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

nt8.0.3.1 - Playback-MR - OnRender - System.InvalidOperationException

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    nt8.0.3.1 - Playback-MR - OnRender - System.InvalidOperationException

    Silly me, I didn't restart market replay.

    I ran replay for 3 years. I got my reports saved. I disconnected replay. I connected to replay. I changed my ES chart from 15 second to 5 minutes. I changed the start date to 2 weeks ago. I added the SampleMACrossover. I hit play at MAX speed.

    Not even by mid-day it blew up.

    Will try again.


    Code:
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Account.OrderUpdateCallback: orderId='aee356b8ef524ccbb0fb51786619e386' account='Playback101' name='Sell short' orderState=Accepted instrument='ES ##-##' orderAction=SellShort limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=0 averageFillPrice=0 time='2017-01-17 00:30:00' statementDate='2017-01-17' error=NoError comment='' 
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Account.OrderUpdateCallback: orderId='aee356b8ef524ccbb0fb51786619e386' account='Playback101' name='Sell short' orderState=Working instrument='ES ##-##' orderAction=SellShort limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=0 averageFillPrice=0 time='2017-01-17 00:30:00' statementDate='2017-01-17' error=NoError comment='' 
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Simulator.Fill1: orderId='aee356b8ef524ccbb0fb51786619e386' maxFillQuantity=1 price=2266.25 thread=37
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Simulator.Fill2: orderId='aee356b8ef524ccbb0fb51786619e386' fillQuantity=1 price=2266.25
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Account.OrderUpdateCallback: orderId='aee356b8ef524ccbb0fb51786619e386' account='Playback101' name='Sell short' orderState=Filled instrument='ES ##-##' orderAction=SellShort limitPrice=0 stopPrice=0 quantity=1 orderType='Market' filled=1 averageFillPrice=2266.25 time='2017-01-17 00:30:00' statementDate='2017-01-17' error=NoError comment='' 
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Account.ExecutionUpdateCallback: executionId='16d1b0c64efa441f9ecddf729c24067b' account='Playback101' instrument='ES ##-##' exchange=Globex price=2266.25 quantity=1 marketPosition=Short operation=Add orderID='aee356b8ef524ccbb0fb51786619e386' isSod=False time='2017-01-17 00:30:00' statementDate='2017-01-17'
    2017-01-30 18:33:22:020 (Playback Connection) Cbi.Account.PositionUpdateCallback: instrument='ES ##-##' account='Playback101' avgPrice=2266.25 quantity=1 marketPosition=Short operation=Add
    2017-01-30 18:33:22:032 [B]Gui.Chart.ChartPanel.OnRender: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
    [/B]   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at NinjaTrader.Gui.Chart.ChartTrader.GetChartTraderPosition()
       at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
       at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
       at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()

Latest Posts

Collapse

Topics Statistics Last Post
Started by LiamTwine, Today, 08:10 AM
0 responses
2 views
0 likes
Last Post LiamTwine  
Started by Balage0922, Today, 07:38 AM
0 responses
5 views
0 likes
Last Post Balage0922  
Started by JoMoon2024, Today, 06:56 AM
0 responses
6 views
0 likes
Last Post JoMoon2024  
Started by Haiasi, 04-25-2024, 06:53 PM
2 responses
19 views
0 likes
Last Post Massinisa  
Started by Creamers, Today, 05:32 AM
0 responses
6 views
0 likes
Last Post Creamers  
Working...
X