Data Mining /A.I. in Ninja for automation? - NinjaTrader | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader

Data Mining /A.I. in Ninja for automation?
Started:May 31st, 2010 (11:28 AM) by jungian Views / Replies:2,380 / 4
Last Reply:March 17th, 2012 (11:36 AM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Data Mining /A.I. in Ninja for automation?

Old May 31st, 2010, 11:28 AM   #1 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus/ZF
Favorite Futures: ES, 6E, CL
jungian's Avatar
Posts: 97 since Aug 2009
Thanks: 87 given, 232 received

Data Mining /A.I. in Ninja for automation?

Any one here use Data Mining/A.I. for automation? Would it be possible to integrate it into Ninja?

Just as an example, Rapidminer software

As an example, If I had inputs of data that are then analyzed by Rapidminer I would take the analysis of that and need to input it into a Ninja strategy based on that analysis. What is the conduit between Ninja and Rapidminer? How does the information transfer?

Signed, Clueless in Programming/Scripting

Last edited by sam028; June 4th, 2010 at 03:20 AM. Reason: link
Reply With Quote

Old May 31st, 2010, 11:28 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old June 3rd, 2010, 11:01 PM   #3 (permalink)
Austin, TX
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus Futures/Rithmic
Favorite Futures: Futures [ZB]
Posts: 36 since Sep 2009
Thanks: 12 given, 21 received

This post has been selected as an answer to the original posters question Answer

I dabbled with this for a while and used a lot of different data mining softwares as well as some homegrown versions. What you're going to need to do for this is to use the .dll files that are included with RapidMiner or whatever you do end up using. From there you will need to reference the saved model/network that you have trained.

It's probably best to use Visual Studio for this so that you can see what the .dll file references and how to access it. After you can access your network though, you should be fine. It's just a matter of taking the indicators and other inputs you trained it to use and plugging them in.

The best suites I used and the ones I had the most luck implementing in NinjaTrader were:

Encog and AForge

with AForge being an order of magnitude faster than Encog, although Encog is more fully-featured. At least in Java, I don't know if the C# library has caught up yet. Implementation between the two was almost exactly the same. If you need more guidance than that, I probably have some legacy code lying around for how to hook up to each one, but it'll take some searching.

Finally, I did notice you said "data mining" and a word of advice; I went through the same thing and what you should really be looking into is "time-series analysis", which is a whole different kind of analysis. Instead of looking at Neural Nets, Perceptrons, and Feedforward Backpropagation this or that, you should be looking at ANOVA and MANOVA(spelling?). However, if you do use Encog, I believe the have the Boltzmann machine is now a part of the library and I remember really wanting to look into that after looking at a few talks on the subject. I think there is a lot of promise there.

Reply With Quote
The following 2 users say Thank You to zwentz for this post:

Old June 4th, 2010, 11:24 AM   #4 (permalink)
Elite Member
London, UK
Futures Experience: Intermediate
Platform: NinjaTrader, Julia
Favorite Futures: Ockham's razor
gregid's Avatar
Posts: 638 since Aug 2009
Thanks: 311 given, 586 received

zwentz View Post
If you need more guidance than that, I probably have some legacy code lying around for how to hook up to each one, but it'll take some searching.

One more here to be grateful for any further assistance with the hook up code!
If you could find it... this will be highly appreciated!

Reply With Quote

Old March 17th, 2012, 11:36 AM   #5 (permalink)
Elite Member
New York, NY USA
Futures Experience: Intermediate
Platform: NT7
Broker/Data: AMP/CQG
Favorite Futures: anything that moves
Posts: 14 since Oct 2011
Thanks: 34 given, 19 received

Some TF stats and trends - testing the waters

Futures Edge on FIO
I derived this from 6 years of 5min candles. Using Access for bulk manipulation and Excel for ad-hoc reporting and charting. Some interesting results...

Attached Thumbnails
Data Mining /A.I. in Ninja for automation?-tf-stats-3-15-12.pdf  
Reply With Quote
The following 4 users say Thank You to jacqudy for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > Data Mining /A.I. in Ninja for automation?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja hangs up on loading data aligator Traders Hideout 23 October 26th, 2013 04:33 PM
Automation for the programmatically impaired trader trendisyourfriend Elite Automated NinjaTrader Trading 3 August 19th, 2012 08:12 PM
Ninja 6.5 showing different data than 7 spinnybobo Brokers and Data Feeds 10 March 25th, 2011 11:48 AM
$EUR/USD data for Ninja ceramictilepro Brokers and Data Feeds 19 October 26th, 2010 01:13 PM
historical emini data for Ninja replays always4nu NinjaTrader 3 August 15th, 2010 05:28 AM

All times are GMT -4. The time now is 06:17 AM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-28 in 0.08 seconds with 28 queries on phoenix via your IP