NexusFi: Find Your Edge


Home Menu

 





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


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one gregid with 1 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 jungian with 1 posts (0 thanks)
    4. looks_4 zwentz with 1 posts (2 thanks)
    1. trending_up 4,371 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 1 attachments




 
Search this Thread

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

  #1 (permalink)
 
jungian's Avatar
 jungian 
Ontario
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus/ZF
Trading: ES, 6E, CL
Posts: 97 since Aug 2009
Thanks Given: 88
Thanks Received: 270

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
http://www.neuralmarkettrends.com/2010/02/20/rapidminer-5-0-video-tutorial-1/

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
Jungian

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #3 (permalink)
 zwentz 
Austin, TX
 
Experience: Advanced
Platform: NinjaTrader
Broker: Optimus Futures/Rithmic
Trading: Futures [ZB]
Posts: 36 since Sep 2009
Thanks Given: 12
Thanks Received: 22


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
Thanked by:
  #4 (permalink)
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623


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
  #5 (permalink)
 jacqudy 
New York, NY USA
 
Experience: Intermediate
Platform: looking for the next one
Broker: AMP/CQG
Trading: anything that moves
Posts: 14 since Oct 2011
Thanks Given: 34
Thanks Received: 19

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




Last Updated on March 17, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts