Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Can I get official session close price?
Collapse
X
-
Hello,
There is not a way to query the exchange. Calling Close[0] on a daily bar or at the time of the close will provide you with the close provided by the data provider. Depending on how the data provider handles the close this may or may not be the settlement price.
Leave a comment:
-
OK thank you. So you're saying that there is no method or function or property within NT8 to query the exchange or data provider directly to specifically get the official settlement price? Like a GetSettlementPrice() call, or Instrument.MasterInstrument.SettlementPrice(Date) or something like that?
Thanks!
Bryan
Leave a comment:
-
Hello,
You would need to discuss this with your Data Provider. Depending on the data provider the Close for the end of the day bar may be the settlement price or could be a different price depending on what time the close of the bar is.
Leave a comment:
-
Originally posted by NinjaTrader_PatrickH View Postcassb,
You were referring to the official settlement price, correct?
The data provider that you connect to supplies the Close[0]/last price of the day (if a day bar). If they use the settlement or not is entirely their discretion.
Thanks!
Bryan
Leave a comment:
-
cassb,
You were referring to the official settlement price, correct?
The data provider that you connect to supplies the Close[0]/last price of the day (if a day bar). If they use the settlement or not is entirely their discretion.
Leave a comment:
-
What do you mean by "the last price of the day"? Isn't this the Close price for that session?
Bryan
Leave a comment:
-
Hello cassb,
Thank you for your post.
There is no means to pull this from a data provider as they will provide the last price of the day. If you had an external file with the value in it you could use the System.IO methods to pull from that file. For information on System.IO in NinjaTrader 7 please visit the following link: http://ninjatrader.com/support/forum...ead.php?t=3477
Leave a comment:
-
Can I get official session close price?
Is there a way in NT to query and receive the official closing price of any instrument (using MasterInstrument.Instrument?) from the exchange? For example, I want to know the 'official' (not the broker's) closing price of the ES instrument as of the close of the US trading session, as of the close of the Tokyo trading session, as of the close of the London trading session, etc. Is this information available to an indicator or strategy?
See http://www.cmegroup.com/trading/equity-index/us-index/emini-sandp500_contract_specifications.html
Thanks!
BryanTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,603 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
4 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
12 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Leave a comment: