Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Disable popup messages for rejected orders changes
Collapse
X
-
Hello carnitron,
Thank you for your response.
I've added a vote to this request (SFT-671) on your behalf.
Thank you for your feedback!
- Likes 1
-
Please add my vote, there are many scenarios where these dialogs occur where there is no risk to the user if they don't see them. It's just noise.
Leave a comment:
-
I agree, it is absolutely ridiculous that this issue of unwanted error popups has not been addressed!
Leave a comment:
-
Hi all, I started programming some strategies on ninjatrader and i'm seriously flabbergasted that i have to stumble upon an issue that already exists since 2007 on this platform (based on the starting date of the thread ).
"Deciding on features for future releases is not a simple black and white decision. There are many factors involved including but not limited to:- Demand which is measured by objective user requests and subjective discretion on the part of our Product Management team.
- Feasibility
- Developer bandwidth
- Current projects in the queue
- Economics"
Imo, this argumentation for not implementing this feature is ridiculous. This feature, if you can already call it a feature, is just adding a simple boolean property at the setDefaults and checking it when the software wants to trigger a popup from a strategy. This isn't rocket science, and 5 minutes of work for a junior developer or an intern.
if (State == State.SetDefaults)
{
this.IsUnmanaged = true;
this.DisablePopupWindows = true;
}
For your legal concerns, you can add a popup at the startup of a strategy in which the user should consent and is aware the strategy will not popup any messages.
On top of that, all information and messages can already be found in the log...
For everybody who is interested, here is a snippet to kill those messages from code, just call the static "searchAndKill()"
namespace NinjaTrader.Custom.Strategies.PBRStrategy.OrderMan ager
{
using NinjaTrader.NinjaScript.Strategies;
using System.Runtime.InteropServices;
using HWND = System.IntPtr;
public static class OpenWindowGetter
{
public static IDictionary<HWND, string> GetOpenWindows()
{
HWND shellWindow = GetShellWindow();
Dictionary<HWND, string> windows = new Dictionary<HWND, string>();
EnumWindows(delegate (HWND hWnd, int lParam)
{
if (hWnd == shellWindow) return true;
if (!IsWindowVisible(hWnd)) return true;
int length = GetWindowTextLength(hWnd);
if (length == 0) return true;
StringBuilder builder = new StringBuilder(length);
GetWindowText(hWnd, builder, length + 1);
windows[hWnd] = builder.ToString();
return true;
}, 0);
return windows;
}
private delegate bool EnumWindowsProc(HWND hWnd, int lParam);
[DllImport("USER32.DLL")]
private static extern bool EnumWindows(EnumWindowsProc enumFunc, int lParam);
[DllImport("USER32.DLL")]
private static extern int GetWindowText(HWND hWnd, StringBuilder lpString, int nMaxCount);
[DllImport("USER32.DLL")]
private static extern int GetWindowTextLength(HWND hWnd);
[DllImport("USER32.DLL")]
private static extern bool IsWindowVisible(HWND hWnd);
[DllImport("USER32.DLL")]
private static extern IntPtr GetShellWindow();
}
public class WindowKiller
{
[DllImport("user32.dll")]
public static extern int SendMessage(int hWnd, uint Msg, int wParam, int lParam);
public const int WM_SYSCOMMAND = 0x0112;
public const int SC_CLOSE = 0xF060;
public static void SearchAndKill()
{
foreach (KeyValuePair<IntPtr, string> window in OpenWindowGetter.GetOpenWindows())
{
IntPtr handle = window.Key;
string title = window.Value;
if (title.Contains("Error"))
{
SendMessage(handle.ToInt32(), WM_SYSCOMMAND, SC_CLOSE, 0);
}
}
}
}
}
- Likes 2
Leave a comment:
-
JoseFRS, no changes have been implemented regarding pop-up messages. I'll add your vote to SFT-671.
Leave a comment:
-
Any update on disabling these pop ups in V8?
Please add my vote as well
- Likes 2
Leave a comment:
-
Originally posted by EB Worx View PostPatrick,
This issue still exists in NinjaTrader 8
Calling ChangeOrder() with a price that is close to the current ask/bid can cause a rejected order (with a popup)
It probably is caused by the fact that at the time the order gets 'executed' the market already moved a bit and the order becomes invalid and gets rejected
However.. rejected orders are not the problem, we can handle rejected orders in our code.
A rejected order is nothing scary. It's just something that happens and something we can deal with from within in our code.
What is the problem is that ninjatrader opens a popup every time this happens and there is no way to disable that
Erwin
Leave a comment:
-
Patrick,
This issue still exists in NinjaTrader 8
Calling ChangeOrder() with a price that is close to the current ask/bid can cause a rejected order (with a popup)
It probably is caused by the fact that at the time the order gets 'executed' the market already moved a bit and the order becomes invalid and gets rejected
However.. rejected orders are not the problem, we can handle rejected orders in our code.
A rejected order is nothing scary. It's just something that happens and something we can deal with from within in our code.
What is the problem is that ninjatrader opens a popup every time this happens and there is no way to disable that
Erwin
- Likes 1
Leave a comment:
-
EB Worx - thanks for your feedback.
First, I'd like to clarify that this forum topic is regarding NinjaTrader 7. In general, NinjaTrader 7 will not receive any further development updates. NinjaTrader 7 will be maintained and will receive critical maintenance updates while all other desktop platform effort is focused on NinjaTrader 8.
With that said, let's discuss the general state of feature requests, how they work, and what to expect.
While I can understand your frustrations regarding this specific feature request, your premise that we ignore feature requests could not be more incorrect. In fact, a majority of the changes to NinjaTrader over the years are directly from feature requests (or at least inspired by them). You can find them as notes in the release notes. The Order Flow+ suite of tools, for example. began as a feature request.
Forum user bltdavid's comment earlier in this topic is actually a pretty good summary of why this particular feature request likely will never see the light of day - it is simply too risky to allow developers or end-users to request to ignore messages regarding orders from their broker. It may benefit the minority in some ways but would absolutely not benefit the majority while also exposing NInjaTrader to unnecessary risk. If you have a different opinion, I encourage you to contact us via email at PlatformSupport[AT]NinjaTrader[DOT]com so we can more accurately understand your perspectives and use cases.
In general, if you ever want an update on a feature request, make sure to provide the tracking number we provided to you. These feature requests are tracked internally and if implemented will appear in the release notes. With that said, there is typically no update on a feature request until it has been implemented.
For any other concerns not directly addressed on the forums, I highly encourage you to contact us via email as well.
Leave a comment:
-
Here we are.. 13 years later and still, nothing has done to one of the most annoying issues in NinjaTrader
As a developer myself who has been coding for over 20+ years I know that a single dev can implement this request in 1-2 hours max.
It's just a shame that NinjaTrader treats its users & developers this way!
I'm part of the NinjaTrader vendor program, but as a vendor, I'm deeply disappointed in how NinjaTrader treats its customers & developers.
I get a strong feeling that NinjaTrader is not doing anything at all with all the feature requests here in this forum.
There's a number assigned to it and some upvotes, but that's it.
After that, it looks like it's just thrown in the garbage bin and is never looked at again.
And before you know it 13 years has past and this issue is still here (same with all the other issues mentioned in the forum)
Did you guys ever implement 1 request mentioned in this forum over the last 15 years?
Same with stuff we vendors mention. The whole vendor licensing plugin is a pain in the **s and costing vendors us so much time
I had a call with NinjaTrader about this and they were very friendly, but in the end.. you guessed it.. nothing changes
I've already requested before that NinjaTrader opens up and gives way more transparency to its developers & users about what's being worked on
You guys could learn so much from the Asobo team at flightsimulator.com.
They do communicate with their developers & clients and keep updated lists on what's being worked on, what's on the backlog, what's under investigation,
and when they expect a certain feature is done.
But again.. that request just got a number and a vote ... and in the end, nothing was done with it
Last edited by EB Worx; 06-11-2021, 12:16 AM.
- Likes 1
Leave a comment:
-
There is no update on the feature request to disable pop-ups alerting you of order submission issues. This change is unlikely to be made since it is critical that you are aware when order submission issues occur. With that said, the feature request is still being tracked for interest.
You'll find a note regarding your feature request in the release notes when a feature is implemented.
Leave a comment:
-
This behavior has not changed.
Deciding on features for future releases is not a simple black and white decision. There are many factors involved including but not limited to:- Demand which is measured by objective user requests and subjective discretion on the part of our Product Management team.
- Feasibility
- Developer bandwidth
- Current projects in the queue
- Economics
Leave a comment:
-
Good morning,
Has there been any progress on this old request to remove or disable the annoying popup error messages for rejected orders. Rejected orders are not errors, and they can easily be tracked inside strategies.
I agree with old the previous posts requesting this, but after so much time and many updates, this has not implemented so far, on NT8.
Thank you
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
5 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
6 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Leave a comment: