I'm connecting to the same account I use on Thinkorswim. Is this data being rounded by NinjaTrader, or by TD Ameritrade? Can I display more significant figures?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Undesired price rounding on penny stocks
Collapse
X
-
Undesired price rounding on penny stocks
I'm trying to monitor penny stocks, which in Thinkorswim are displayed with four significant figures after the decimal point. However, MarketDataEventArgs.Last and MarketDataEventArgs.Price both round to two figures, so for example 0.0288 is rounded to 0.03. This rounding is ruining my algorithms.
I'm connecting to the same account I use on Thinkorswim. Is this data being rounded by NinjaTrader, or by TD Ameritrade? Can I display more significant figures?Tags: None
-
Hello Phoenix2518,
Please use the steps below to change the tick size for your instrument:- Go to the Control Center
- Tools->Instruments
- Select your instrument in the list
- Click edit
- Select 0.0001 from the Tick size drop down
- Click Ok
- Click Ok
Christopher J.NinjaTrader Customer Service
- Likes 2
-
That worked very well, thank you. I was even able to multi-select the entire stock list and apply the change to all of them.
Comment
-
I have a question regarding this issue.
While the number of decimal places does indeed increase to four as described in post #2 , it seems the chart is still rounding the prices to two decimal places which is why it doesnt match up with the chart in TOS. The NT8 T&S window is showing the prices coming in with four decimal places but as I said, the chart does not display the prices correctly. Is there any setting change that is required in the chart?
Comment
-
Hello iq200,
Thank you for your post.
The chart should change automatically when changing this in the Instruments settings when using the most recent version of NinjaTrader Desktop.
If this does not you may try opening a new chart to the desired instrument after making this change.Spencer F.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by 00nevest, Today, 02:27 PM
|
1 response
8 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
41 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
12 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
8 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
||
Started by Philippe56140, Today, 02:35 PM
|
0 responses
7 views
0 likes
|
Last Post Today, 02:35 PM |
Comment