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 Gui.Chart.ChartPanel.OnRender: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
       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 toughiee, Today, 12:04 AM
0 responses
2 views
0 likes
Last Post toughiee  
Started by vdoan20, Yesterday, 08:30 PM
0 responses
7 views
0 likes
Last Post vdoan20
by vdoan20
 
Started by gupagoer, Yesterday, 07:42 PM
0 responses
9 views
0 likes
Last Post gupagoer  
Started by Holligoly, Yesterday, 05:13 PM
2 responses
11 views
0 likes
Last Post Holligoly  
Started by Raginpower, Yesterday, 01:53 PM
0 responses
14 views
0 likes
Last Post Raginpower  
Working...
X