SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Oct 28, 2020 8:28 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jun 11, 2014 10:07 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 271
Dear Team,

When I have OpenQuant running in live mode and my market data provider is QuantRouter and I stop the OpenQuant strategy it takes a few seconds and then I receive this error message within OpenQuant:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SmartQuant.QuantRouterLib.Tcp.TcpConnection.Close()
bei SmartQuant.QuantRouterLib.Client.Logout()
bei SmartQuant.QR.QuantRouter.Disconnect()
bei SmartQuant.QR.QuantRouter.Shutdown()
bei SmartQuant.Providers.ProviderManager.Shutdown()
bei OpenQuant.Program.Main()

Then almost a minute later QuantRouter crashes with error messages till it fully collapses. One of the messages was:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
bei System.Windows.Forms.Control.Invoke(Delegate method)
bei OpenQuant.Shared.Providers.ProviderHelper.CancelMarketData(IMarketDataProvider provider, Instrument instrument, MarketDataType mdType)
bei QuantRouter.Engine.RequestProcessor.ServerManager_OnUnsubscribeRequested(Object sender, ClientSubscriptionEventArgs e)
bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
bei QuantRouter.Engine.ServerManager.RemoveConnection(IConnection connection)
bei QuantRouter.Engine.ServerManager.connection_OnClosed(Object sender, EventArgs e)
bei SmartQuant.QuantRouterLib.Connection.OnClosed()
bei SmartQuant.QuantRouterLib.Tcp.TcpConnection.JApFMwPnFg(Object )
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart(Object obj)


I hope you can fix this. I was not able to reproduce this problem with every run that I did. So it must have to do with some specific timing issue within TCP/IP.

Regards
Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group