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 .
The following 7 users say Thank You to MXASJ for this post:
Brilliant, I hadn't considered such an approach before for getting information out of NinjaTrader, only pushing information to...
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
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 .
The following 5 users say Thank You to MXASJ for this post:
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.
Last edited by MXASJ; December 12th, 2010 at 06:48 AM.
The following 4 users say Thank You to MXASJ for this post:
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.