For instance, we could write a function to convert ES JUN23 to ES 06-23 and back again but should we each be writing that? Is there one in the API now already?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Programmatic access to symbology display style
Collapse
X
-
Programmatic access to symbology display style
Is there a NinjaScript programmatic access to what the symbology display style is that is selected, and to convert between the formats?
For instance, we could write a function to convert ES JUN23 to ES 06-23 and back again but should we each be writing that? Is there one in the API now already?Tags: None
-
Hello QuantKey_Bruce,
Thank you for your note.
At this time, programmatic access to the symbology style that is selected is not documented. I have submitted this as a feature request to the development team for future consideration. I will follow up once I have a tracking number for the request.
Thank you for your patience.
Comment
-
Thank you NinjaTrader_Emily - but is there an undocumented or unsupported approach? I realize I could code this no problem, but I want to use common resources if possible and I am sure I am not alone in this need.
Comment
-
Hello QuantKey_Bruce,
Thank you for your reply.
We are not able to provide information that we don't have access to. Undocumented access to platform features is not something that our support team can comment on, as it goes beyond the scope of our support. Feel free to experiment on your own using the NinjaScript Editor or Visual Studio for your own purposes, though as this is not a documented item you would have to explore at your own risk and results may vary. As common resources on this topic do not exist yet, the feature request is to request support documentation that could be used to support this in the future, if implemented.
Thank you for your patience and understanding.
Comment
-
Hello QuantKey_Bruce,
Thanks for your patience.
The internal tracking number for your feature request is SFT-5482. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.
When a feature request is implemented, you'll find a description of the new feature in the release notes:Thank you for using NinjaTrader.
Comment
-
NinjaTrader_Emily Can you please clarify how NinjaTrader disambiguates the exchange symbology display style e.g. ES M8? What is the exact rule to know if that means ES 06-18 or ES 06-28?
Comment
-
Well then let me rephrase my question please with an example. Suppose my symbology display style is "exchange". I see that ESM2 (June 2022) is a valid contract for ES by looking at the rollover dates for ES in the instrument definition. But, when I try to open a chart of ESM2, it says that is an invalid symbol, leading me to believe that since "2" as the last digit of the year is < "3" where we are now in 2023, you have interpreted this as ES June 2032 rather than ES June 2022. How would one open a chart of June 2022's symbol in NinjaTrader Desktop then, if ESM2 is interpreted as June 2032 (despite that rollover being shown as ESM2 in the rollover list)?
Comment
-
Hello Bruce,
Thank you for the example.
I do not know if the platform is reading ESM2 as ES 06-23 or if it is interpreting it as 06-22. I have submitted a report to the development team so they may investigate and clarify this behavior. I will follow up with you here once I have more information to relay regarding the report. In the meantime, as a workaround, you should be able to open a June 2022 ES chart using either the Month Abbreviation or the Numeric symbology display; I have tested them both on my end successfully. Here are some screenshots to demonstrate:
Thank you for your patience.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
86 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
29 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment