• Ask a question
  • Spaces
    • TT® Platform
    • Autospreader®
    • Autotrader™
    • Charting & Analytics
    • Options
    • ADL®
      • ADL Samples
    • RTD
    • APIs
      • TT .NET SDK
      • TT API & XT API
      • TT REST API
    • Cryptocurrencies
    • Topics
    • Questions
    • Articles
    • Ideas
    • Badges
  • Sign in
  • Home /
  • APIs /
  • TT .NET SDK /
This question was closed Nov 02, 2020 at 08:28 PM by phamkevsj for the following reason:

Other

avatar image
0
Question by phamkevsj · Nov 02, 2020 at 08:19 PM · TT.NET.SDK

Price Subscription Error TT Net SDK

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?


Comment
Add comment
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
0
Best Answer

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.

Comment
Add comment · Share
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Community

Ask questions and share ideas about the TT® and X_TRADER® platforms.

First time here? See our Getting Started Guide and FAQs.

Follow

Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

TT.NET SDK 4 Answers

Price of a product in real time with TT.NET SDK example 4 Answers

Can I subscribe to the same instrument via two applications with two different app keys? 1 Answer

Trade Subscription Product Filter 1 Answer

Conditional Based Order Firing 1 Answer

Trading Technologies Home - Legal - Privacy - Contact

© 2017 Trading Technologies International, Inc. All rights reserved.

Powered by AnswerHub

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • TT® Platform
  • Autospreader®
  • Autotrader™
  • Charting & Analytics
  • Options
  • ADL®
    • ADL Samples
  • RTD
  • APIs
    • TT .NET SDK
    • TT API & XT API
    • TT REST API
  • Cryptocurrencies
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges