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 FrancisMorro, Today, 03:24 AM
0 responses
1 view
0 likes
Last Post FrancisMorro  
Started by Segwin, 05-07-2018, 02:15 PM
10 responses
1,770 views
0 likes
Last Post Leafcutter  
Started by Rapine Heihei, 04-23-2024, 07:51 PM
2 responses
31 views
0 likes
Last Post Max238
by Max238
 
Started by Shansen, 08-30-2019, 10:18 PM
24 responses
944 views
0 likes
Last Post spwizard  
Started by Max238, Today, 01:28 AM
0 responses
11 views
0 likes
Last Post Max238
by Max238
 
Working...
X