• 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 REST API /
avatar image
0
Question by simonegiuliani · Oct 21, 2019 at 10:34 AM · TT REST API

PDS/.../instrument/{instrumentId} returns expiration date with non-null time part

Good morning guys,

We are going through your migration on UAT and we actually received an expiration date with the non-null time part and we were wondering why are you sending us that?

We were expecting the time part to be null or at least 00:00 as I have seen it already returned by your PROD system.

Has something changed in your back-end for the Expiration Date format/content? We would like to know more about it as for us it's a potential breaking change.

This is your response:




Thanks

expirationdatetimepart.png (25.7 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by trishmessina · Oct 21, 2019 at 01:10 PM

@simonegiuliani The expirationDate field is a date time field so the time portion can be populated. Currently many instruments are 000000 or 235959 marking the end of the day but it can vary by exchange. The system is moving to being more accurate with the time of the session close if/when possible so do not assume a value of 0.

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
avatar image
0

Answer by simonegiuliani · Oct 21, 2019 at 01:11 PM

Thanks @trishmessina

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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

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

8 People are following this question.

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

Related Questions

TT Rest API 2 Answers

TTREST - No Support -is it ready for Prime Time? 1 Answer

TT Rest API 1 Answer

Fills, which fields are mandatory? i.e. if we wanted to query all fills, do we simply leave them all blank? or do we need to query by account product etc.? 1 Answer

How far back does data available to TT REST API go?,How far back does data go for trade and position histories when using the TT REST API? 2 Answers

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