Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I wrote this small console application in C# to help a guy in another forum, but thought some users here might find it interesting. It is pretty basic and just gets the last price on ES 12-10 before shutting down. It uses the ATI interface to Ninja.
You can compile it as an exe or run it in your IDE's debug mode to check it out.
If you are really bored you can turn it into a WinForms or WPF app and post it back .
Its a holiday here and I was bored so I actually did write a extremely basic WinForms app called APITrader that buys and sells ES 12-10 and shows the bid/ask/last/market position. If anyone is interested holla back and and I'll post it as a VS 2010 Project file.
It is coded by a complete neophyte (me) but I'm under pressure to get up to speed on this kind of thing quickly, so welcome to WinForms 101 for Ninja .
I would sure like to play with it if your willing to share. I am thinking of heading in this direction for some other ideas and this reading of your code might really give me a jumpstart
Sure. Do you have VS2010? I can attached zipped project files. If not I can attach the main code files.
Note the Ninja ATI is pretty limited in what it can do. But it's a great place to start.
EDIT: Attached the VS2010 Project for the APITrader thing I posted November 5th. I haven't played with it since (other things to do), and it is set up only to buy/sell ES 12-10, but the code might be a starting point for something.
I downloaded APITrader and I am using NinjaTrader 7.0.1000.4
I have VS2010 and when I run APITrader it does not connect to NinjaTrader - I have NinjaTrader running along with the Simulated Data Feed.
The bottom left is in red and it indicates the connection to NinjaTrader is not active. I have also tried the file menu connect option and it does not work.