Other
One day after successfully starting many market data subscriptions, I start to see the below error in the local TT logs.
2020-11-02 15:05:46.9185721 | 0000014 | Dspch | EXCEP | Exception on Task 'Index must be within the bounds of the List.Parameter name: index' Stack Trace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.Insert(Int32 index, T item) at tt_net_sdk.InstrumentMarketDataBook.applyUpdates(List`1 updates, List`1 existing) at tt_net_sdk.InstrumentMarketDataBook.ApplyUpdate(MarketDataUpdate marketUpdate) at tt_net_sdk.MarketDataBookSubscriptionManager.ApplyUpdate(MarketDataUpdate marketUpdate) at tt_net_sdk.MarketDataSubcriptionManager.HandlePriceUpdate(PriceUpdate prcmsg) at tt_net_sdk.WorkerDispatcher.dispatchThread()
The previous log to the above error is:
2020-11-02 15:05:45.9498200 | 0000020 | EdgeSv | INFO | EDGE IN: {"PriceSnap":{"iid":5148039222191790293,"reqs":["e21c8455"],"is":1,"md":{"bid":[{"p":9350,"q":52,"iq":0,"no":2},{"p":9225,"q":15,"iq":0,"no":2},{"p":9175,"q":8,"iq":0,"no":1}],"ask":[{"p":9600,"q":62,"iq":0,"no":3},{"p":10000,"q":5,"iq":0,"no":1},{"p":10025,"q":12,"iq":0,"no":1}]},"td":{"tp":11150,"tq":1,"ttq":1,"ctq":1,"ts":2,"h":11150,"l":11150,"o":11150,"s":15100,"sts":4,"ti":19,"tn":"","ott":0,"it":false,"lt":false,"t":1604323679043648000},"cc":0,"rs":1604329545874593400,"sid":"e7446dd0"}}
I am also using the following setup:
2020-11-01 21:03:11.6815862 | 0000003 | | INFO | SDK Version: 3.0.0.182020-11-01 21:03:11.6815862 | 0000003 | Dspch | INFO | WorkerDispatcher thread starting.2020-11-01 21:03:11.7138336 | 0000003 | TTAPI | INFO | OS Platform: Win32NT Version Major:6 Minor:22020-11-01 21:03:11.7158043 | 0000003 | TTAPI | INFO | Options received - Environment:ProdLive
Does this hint to a problem with my user code or the API?
Answer by trishmessina · Nov 02, 2020 at 08:24 PM
@phamkevsj I would suggest opening a TT support ticket and uploading the logs so they will be able to investigate the issue properly.
Ask questions and share ideas about the TT® and X_TRADER® platforms.
First time here? See our Getting Started Guide and FAQs.
© 2017 Trading Technologies International, Inc. All rights reserved.
Powered by AnswerHub