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 helpwanted, Today, 03:06 AM
1 response
12 views
0 likes
Last Post sarafuenonly123  
Started by Brevo, Today, 01:45 AM
0 responses
9 views
0 likes
Last Post Brevo
by Brevo
 
Started by aussugardefender, Today, 01:07 AM
0 responses
5 views
0 likes
Last Post aussugardefender  
Started by pvincent, 06-23-2022, 12:53 PM
14 responses
242 views
0 likes
Last Post Nyman
by Nyman
 
Started by TraderG23, 12-08-2023, 07:56 AM
9 responses
387 views
1 like
Last Post Gavini
by Gavini
 
Working...
X