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
Unmanaged GetCurrentAsk() use
Collapse
X
-
Unmanaged GetCurrentAsk() use
For an unmanaged strategy, if using GetCurrentAsk() as the entry limit price are there issues with that price changing / partial fills / etc? In general is using GetCurrentAsk() or Bid() problematic for limit order entry levels as they update very quickly? Regards to allTags: None
-
Hello elliot5,
This would depend on the brokerage. Most brokerages are fine with limit orders on the wrong side of the market. Some forex brokerages are not ok with that and will reject the order.
In a fast moving market, placing an order at ask or bid could quickly become the wrong side of the market.Chelsea B.NinjaTrader Customer Service
-
Ok - but by using GetCurrentAsk() as the limit price - will NT look to change the limit order to the evolving GetCurrentAsk() or Bid() level after initial submission? In other words is the initial GetCurrentAsk() value a static value in terms of the order placement/management under submitunmanaged? Regards
Comment
-
Hello elliot5,
GetCurrentAsk() returns a double with the current snapshot of the ask.
This will be the updated snapshot each time the method is called.
Order methods would use this price as the limit price at the time the order method is called. The limit price is only updated when the order method is called.Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
9 responses
36 views
0 likes
|
Last Post Today, 11:02 AM | ||
Started by DayTradingDEMON, Today, 09:28 AM
|
4 responses
24 views
0 likes
|
Last Post Today, 10:47 AM | ||
Started by geddyisodin, Yesterday, 05:20 AM
|
9 responses
50 views
0 likes
|
Last Post Today, 10:45 AM | ||
Started by George21, Today, 10:07 AM
|
1 response
15 views
0 likes
|
Last Post Today, 10:43 AM | ||
Started by Stanfillirenfro, Today, 07:23 AM
|
9 responses
24 views
0 likes
|
Last Post Today, 10:16 AM |
Comment