2015-09-29 18:45:27:467 Exception when rolling instruments: [B]Unable to cast object[/B] of type 'NinjaTrader.Gui.NinjaScript.Editor.ScriptItem' to type 'System.Windows.Controls.TabItem'. 2015-09-29 18:45:27:479 Exception when rolling instruments: Unable to cast object of type 'NinjaTrader.Gui.NinjaScript.Editor.ScriptItem' to type 'System.Windows.Controls.TabItem'. 2015-09-29 20:37:19:142 Cbi.Instrument.RequestBars (to Provider): instrument='6E 12-15' from='09/23/2015 00:00:00' to='09/29/2015 23:59:59' period='1 Tick' ..... 2015-09-29 21:22:05:413 (NTBroker) Cbi.Account.AccountItemCallback: account='Practice' accountItem=BuyingPower currency=UsDollar value=***** 2015-09-29 21:22:05:414 (NTBroker) Cbi.Account.AccountItemCallback: account='Practice' accountItem=CashValue currency=UsDollar value=***** 2015-09-29 21:22:05:414 (NTBroker) Cbi.Account.AccountItemCallback: account='Practice' accountItem=Commission currency=UsDollar value=***** 2015-09-29 21:22:05:414 (NTBroker) Cbi.Account.AccountItemCallback: account='Practice' accountItem=Fee currency=UsDollar value=***** 2015-09-29 21:22:05:414 (NTBroker) Cbi.Account.AccountItemCallback: account='Practice' accountItem=GrossRealizedProfitLoss currency=UsDollar value=***** ... 2015-09-29 21:22:05:979 Cbi.Instrument.RequestBars (to Provider): instrument='CL 11-15' from='09/28/2015 19:00:00' to='09/29/2015 23:59:59' period='1 Tick' 2015-09-29 21:22:05:994 Cbi.Instrument.RequestBars (to Provider): instrument='ES 12-15' from='09/28/2015 19:00:00' to='09/29/2015 23:59:59' period='1 Tick' 2015-09-29 21:22:08:100 Cbi.Instrument.RequestBars (to Provider): instrument='CL 11-15' from='09/29/2015 19:00:00' to='09/29/2015 23:59:59' period='1 Tick' 2015-09-29 21:22:11:937 Cbi.Instrument.RequestBars (to Provider): instrument='ES 12-15' from='09/29/2015 19:00:00' to='09/29/2015 23:59:59' period='1 Tick' 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='14c99c470a1c460e80214abecc34a3cb' account='Sim101' name='Entry' orderState=Filled instrument='CL 11-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=2 tif=Day oco='' filled=2 averageFillPrice=44.59 id=25 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='e014ea5b8c2941b38762cc711ed49d0c' account='Sim101' name='Target1' orderState=Filled instrument='CL 11-15' orderAction=Sell orderType='Limit' limitPrice=44.63 stopPrice=0 quantity=2 tif=Gtc oco='b798db614fc54237b158c02d18f9c92a' filled=2 averageFillPrice=44.63 id=27 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='eeeb61a5b91f4247a0ee2a7149b6091b' account='Sim101' name='Stop1' orderState=Cancelled instrument='CL 11-15' orderAction=Sell orderType='Stop Market' limitPrice=0 stopPrice=44.53 quantity=1 tif=Gtc oco='b798db614fc54237b158c02d18f9c92a' filled=0 averageFillPrice=0 id=26 gtd='2099-12-01' currentOrderState=Cancelled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='15e1e90b38ce4c0f9acdbb30a6e780c9' account='Sim101' name='Entry' orderState=Filled instrument='CL 11-15' orderAction=Buy orderType='Market' limitPrice=0 stopPrice=0 quantity=2 tif=Day oco='' filled=2 averageFillPrice=44.65 id=28 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='c70105e720e14a18aa0722c5a5d1581e' account='Sim101' name='Stop1' orderState=Filled instrument='CL 11-15' orderAction=Sell orderType='Stop Market' limitPrice=0 stopPrice=44.59 quantity=2 tif=Gtc oco='557161bb2d904e3a8a2a4087154561ad' filled=2 averageFillPrice=44.59 id=29 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='8174c3783aed4d888bb0ebb1cceada9a' account='Sim101' name='Target1' orderState=Cancelled instrument='CL 11-15' orderAction=Sell orderType='Limit' limitPrice=44.69 stopPrice=0 quantity=2 tif=Gtc oco='557161bb2d904e3a8a2a4087154561ad' filled=0 averageFillPrice=0 id=30 gtd='2099-12-01' currentOrderState=Cancelled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='67848a756b234bcf9ed96d3b698bdeec' account='Sim101' name='Entry' orderState=Filled instrument='CL 11-15' orderAction=Buy orderType='Stop Limit' limitPrice=45.15 stopPrice=45.15 quantity=2 tif=Day oco='' filled=2 averageFillPrice=45.15 id=31 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='ac0d90c046e44cbbb0cb309b989fb544' account='Sim101' name='Stop1' orderState=Filled instrument='CL 11-15' orderAction=Sell orderType='Stop Market' limitPrice=0 stopPrice=45.09 quantity=2 tif=Gtc oco='2dd2da42da5d4698b6f11fa80cb62d91' filled=2 averageFillPrice=45.08 id=32 gtd='2099-12-01' currentOrderState=Filled 2015-09-29 21:22:14:151 (NTBroker) Cbi.Account.Cancel0: orderId='b5bd4a493ef4450990c3537841e93352' account='Sim101' name='Target1' orderState=Cancelled instrument='CL 11-15' orderAction=Sell orderType='Limit' limitPrice=45.19 stopPrice=0 quantity=2 tif=Gtc oco='2dd2da42da5d4698b6f11fa80cb62d91' filled=0 averageFillPrice=0 id=33 gtd='2099-12-01' currentOrderState=Cancelled 2015-09-29 21:22:14:155 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=BuyingPower currency=UsDollar value=***** 2015-09-29 21:22:14:155 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=CashValue currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=Commission currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=Fee currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=GrossRealizedProfitLoss currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=RealizedProfitLoss currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=InitialMargin currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=IntradayMargin currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=LongOptionValue currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=LookAheadMaintenanceMargin currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=LongStockValue currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=MaintenanceMargin currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=NetLiquidationByCurrency currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=PositionMargin currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=RealizedProfitLoss currency=UsDollar value=***** 2015-09-29 21:22:14:156 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=ShortOptionValue currency=UsDollar value=***** 2015-09-29 21:22:14:157 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=ShortStockValue currency=UsDollar value=***** 2015-09-29 21:22:14:157 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=SodCashValue currency=UsDollar value=***** 2015-09-29 21:22:14:157 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=SodLiquidatingValue currency=UsDollar value=***** 2015-09-29 21:22:14:157 (NTBroker) Cbi.Account.AccountItemCallback: account='Sim101' accountItem=TotalCashBalance currency=UsDollar value=***** 2015-09-29 21:22:14:206 *************** unhandled exception trapped *************** 2015-09-29 21:22:14:206 Object reference not set to an instance of an object. 2015-09-29 21:22:14:208 System.NullReferenceException: Object reference not set to an instance of an object. at NinjaTrader.Data.BarsSeries.GetBid(Int32 index) at NinjaTrader.NinjaScript.SuperDomColumns.Volume.<OnStateChange>b__e(BarsRequest request, ErrorCode errorCode, String errorMessage) at NinjaTrader.Data.BarsRequest.<>c__DisplayClass60_1.<Request>b__2() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) 2015-09-29 21:22:15:043 Cbi.Instrument.RequestBars (to Provider): instrument='CL 11-15' from='09/29/2015 19:00:00' to='09/29/2015 23:59:59' period='1 Tick' .....
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Resetting Sim Account - unhandled exception trapped
Collapse
X
-
Resetting Sim Account - unhandled exception trapped
I reset 2 sim accounts in a row and got an Unhandled Exception. The first one I reset didn't cause a problem and was "Practice", the second was the built in "Sim101". Just before I did this I did roll the contracts in the database tab. Those seemed to show an CAST error as well. There shouldn't have been active orders but it shows it canceled some on SIM101.
Code:Tags: None
-
Hello,
Can you please forward me your log and trace files so I may look into the issue further.
To forward your files please go to the NinjaTrader Control Center-->Help-->Email Support-->Subject: Attn Chris Jameson-> Include a link to this thread in the body of the message-->Put a check next to "Log and trace files"-->Click Send.Christopher J.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mmenigma, Today, 02:22 PM
|
0 responses
1 view
0 likes
|
Last Post
by mmenigma
Today, 02:22 PM
|
||
Started by frankthearm, Today, 09:08 AM
|
9 responses
35 views
0 likes
|
Last Post Today, 02:21 PM | ||
Started by NRITV, Today, 01:15 PM
|
2 responses
9 views
0 likes
|
Last Post
by NRITV
Today, 01:51 PM
|
||
Started by maybeimnotrader, Yesterday, 05:46 PM
|
5 responses
26 views
0 likes
|
Last Post Today, 01:19 PM | ||
Started by quantismo, Yesterday, 05:13 PM
|
2 responses
21 views
0 likes
|
Last Post
by quantismo
Today, 01:07 PM
|
Comment