I was doing that the entire time. I should have updated this thread, I had to run the program and sterling from a non windows 7 computer. I don't understand that all, but it works perfect on XP. I am just using VMWare workstation so I can run it on my new computer...go figure.
Hi, I'm new to sterling and would like to code in the API. I do not know Visual Basic, however I know C++ and have coded in other APIs I have downloaded the sample programs. Which is do most people use or is recommended? AX_Examples? DDE_Examples? or VB.Net examples? Also I'm using Visual Studio 2008. Is that good? Also any other information with regard to how to get started out be appreciated. Thanks
It depends on what you want to do. You can start with the SimpleSendOrderDemo example in the VB.NET folder. I have also used the Quotes example in their VB folder. VS 2008 is perfect.
Sterling API needs a few things and the same ones I pointed out to them 3 years ago...they said the software is "complex" and I suggested, give me the code and I'll give it back to you by the end of the day with all the new features; a) SetPrimaryIP(Address, Port) b) SetSecondary(Address, Port) c) SetCredentials(Username, Password) d) SetAutoReconnect(bool Enabled = TRUE) e) AutoLogin(bool NoSplash = TRUE) f) fix LastFlag on positions spin g) bring Error enum's up to date [from the API most of them are bogus] h) fix ReplaceOrder it still doesn't work i) make risk real-time in the OMS so back-to-back sell + short in under 500ms does not reject with "can't short you're still long" j) learn how to handle 10,000 messages a second instead of 100
What's wrong with replaceorder? My workaround for the auto-reconnect is to use the windows api to relog back in with a bunch of FindWindow and SendMessage functions. If the primary doesn't work it will then try the secondary. Not ideal but it works. Ya, it would be nice to be able to send over 200 orders a second (that seems to be my max). More importantly, cancel 200 orders a second. But I don't see that happening any time soon...
I hear ya', not in 3 years and not anytime soon and why I've done 5 other API's, but people still flock to Sterling so I don't want to be left out
I am pulling my hair out trying to figure this out... How can NinjaTrader (which uses C#) be connected to Sterling Trader Pro?? (Ideally, life would be great if code could be inserted into a NT strategy to link it to STP... is this possible? If not can someone please provide any help? (hope to have some hair left after all this is done)
Hello everyone, I want to know whether there is a limitation of function RegisterQuote.I use RegisterQuote to register more than 400 symbols, but in the cQuotes_OnSTIQuoteSnap Event ,there is only 100 symbols will be got. Thanks for everyone's reply ,thank you very much