NexusFi: Find Your Edge


Home Menu

 





Artificial Intelligence (AI) inside NinjaTrader strategies


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 6 posts (0 thanks)
    2. looks_two sefstrat with 5 posts (0 thanks)
    3. looks_3 wh with 4 posts (0 thanks)
    4. looks_4 turbolover with 3 posts (1 thanks)
    1. trending_up 23,501 views
    2. thumb_up 13 thanks given
    3. group 19 followers
    1. forum 32 posts
    2. attach_file 2 attachments




 
Search this Thread

Artificial Intelligence (AI) inside NinjaTrader strategies

  #21 (permalink)
 
sefstrat's Avatar
 sefstrat 
Austin, TX
 
Experience: Advanced
Platform: NT/Matlab
Broker: Interactive Brokers
Trading: FX majors
Posts: 285 since Jun 2009
Thanks Given: 20
Thanks Received: 768


turbolover View Post
What do you think of Streambase - - I have not tried their demo, but would like to implement two categories of rules to create a warning system of sorts - - one that accounts for market hours and holidays, etc. and one that parses the news events (like they go into detail about in the video).
What is your opinion, and / or do you recommend a better method?

I haven't heard of streambase before but looking at the aurora project which it spawned from it appears to be just a very optimized database oriented towards realtime processing of streams.

Wikipedia says that as of Q2 2009 they had 75 customers, I take that to mean that their software is very expensive =)

One of the cardinal rules of machine learning could be summed up as 'work smart, not hard'.. if you follow that rule then you will not need something like streambase.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
21 thanks
My NQ Trading Journal
19 thanks
Tao te Trade: way of the WLD
16 thanks
HumbleTraders next chapter
9 thanks
  #22 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512


wh View Post
use the search function of this forum. here are some approach ...

look for anfis, wavelet ... some papers can also found here.

here a nice paper link: https://waset.org/journals/waset/v58/v58-86.pdf

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
  #23 (permalink)
 
sefstrat's Avatar
 sefstrat 
Austin, TX
 
Experience: Advanced
Platform: NT/Matlab
Broker: Interactive Brokers
Trading: FX majors
Posts: 285 since Jun 2009
Thanks Given: 20
Thanks Received: 768




Yes, some good info in this paper.

This line from the intro is particularly valuable:
traditional volatility measures have shown major drawbacks
since they perform their calculations for the standard deviation
in fixed times intervals, in contrast to the real life situation
where volatility should be calculated from an event based
perspective and observations made after a certain event has
occurred.

Reply With Quote
  #24 (permalink)
 
wh's Avatar
 wh 
Neubrandenburg, Germany
 
Experience: Advanced
Platform: R
Trading: Stocks
Posts: 538 since Jun 2009
Thanks Given: 298
Thanks Received: 512


sefstrat View Post
Yes, some good info in this paper.

This line from the intro is particularly valuable:
traditional volatility measures have shown major drawbacks
since they perform their calculations for the standard deviation
in fixed times intervals, in contrast to the real life situation
where volatility should be calculated from an event based
perspective and observations made after a certain event has
occurred.

steve do have or know a simple sugeno example for java or c#?

ok have found some examples
1. https://sourceforge.net/projects/fuzzynet/files/fuzzynet/fuzzynet%20v1.2.0%20%28beta%29/fuzzynet_1_2_0.zip/download
2. https://en.wikipedia.org/wiki/Fuzzy_logics

Causality is the relationship between an event (the cause) and a second event (the effect), where the second event is a consequence of the first.
Reply With Quote
  #25 (permalink)
ptd26
Portland, Oregon
 
Posts: 27 since Jan 2010
Thanks Given: 3
Thanks Received: 2

Before you start thinking about AI, first consider what you will feed the AI. The hardest part is coming up with the inputs and figuring out the pre-processing. Simply feeding in the tick data or OHLCV data ain't gonna work. My first experiment with AI was feeding in several of the traditional technical indicators into a genetic algorithm / genetic programming framework (ECJ). I found nothing of value with that approach, but perhaps others here can.

Reply With Quote
  #26 (permalink)
 kevind 
Seattle, WA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Interactive Brokers/IQFeed
Trading: Stocks
Posts: 27 since Nov 2009
Thanks Given: 10
Thanks Received: 68

I own NeuroShell and have a lot of time & $ invested in it. I've made money with the platform, but not by using neural nets (neural nets are only a small portion of their hundreds of indicators). There are a number of things that they got right; for example they have a great genetic optimizer (which of course can be very dangerous and easily lead to overfit systems if you don't know what you're doing). But their wizard-based interface gets really tedious, especially for rules that are time-sequential in nature. You can put custom code in a DLL, and I wrote a bunch of them, but it's not a very productive development methodology.

With neural nets it's extremely easy to make overfit systems that backtest great, but perform poorly in the future. It takes a fair amount of experience to be able to build a neural net system that has a chance of surviving in the real world. I know how to test a non-AI system to build confidence that it's not overfit, but some of the techniques (like varying parameters to test sensitivity) can't really be used on neural nets. So it's hard to build confidence that your great backtesting results aren't an accident. You can test on out-of-sample data, but some percentage of overfit systems will look great on the out-of-sample data, so even that doesn't really protect you.

Then you run into another problem. Every system, even really good ones, goes through periods of losing money. When that happens, you need to really understand what kind of behavior is expected from your system, so you can either confidently continue trading it through the drawdown, or confidently stop trading it because it has gone outside its expected boundaries. I had trouble getting to the required confidence level. I built plenty of models that backtested great, performed great on out of sample data, paper traded great for a while, then totally fell apart.

And then what do you do? You can retrain the net, but then you have a completely different system, so you have to start characterizing it all over again. You can add or tweak some additional rules, but then you are probably overfitting even more.

There are people out there who claim to be getting great results with neural nets, and I don't doubt that they are. I just wasn't able to get there myself, and I found it easier to make money with systems that use non-AI techniques where I understand what they are doing and I can characterize them and and build confidence in them.

Reply With Quote
  #27 (permalink)
 
darthtrader3.6's Avatar
 darthtrader3.6 
wny
 
Experience: Intermediate
Platform: ninja, excel
Trading: YM, equities
Posts: 86 since Jan 2010

Max Dama has some cool blog posts on AI and trading, pretty cool looking decision tree system in R too.
Max Dama on Automated Trading: Artificial Intelligence

Something else to think about is there is the entire world of classification when it comes to AI as opposed to prediction. I've always thought this would be a much more worth while experiment to generate trade ideas from as opposed to trying to get the computer to sift through all this data without finding nonsense in its prediction, but worse yet nonsense that might be past your ability to see that its nonsense until it slams your bankroll.

There is also an entire machine learning course on youtube from Stanford.


I watched the first 3 and realized I was in way over my head with this and have put ML far on the backburner.
I would also think you are really cutting yourself short by thinking of doing this stuff in something other than matlab or R without a degree in the field.

Visit my NexusFi Trade Journal Reply With Quote
  #28 (permalink)
Sam Collins
Australia
 
Posts: 4 since May 2010
Thanks Given: 0
Thanks Received: 0

Anyone done any more work on this stuff? That good paper linked to a couple of posts back is no longer available, wondering if anyone can upload if they have it?

Am very interested in this stuff, and most info that I'm finding is from 2008 - 2010, so surely there are some updates and progress in this field?

Reply With Quote
  #29 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,207
Thanks Received: 101,599


Sam Collins View Post
Anyone done any more work on this stuff? That good paper linked to a couple of posts back is no longer available, wondering if anyone can upload if they have it?

Am very interested in this stuff, and most info that I'm finding is from 2008 - 2010, so surely there are some updates and progress in this field?

There are several threads that cover this in detail from various aspects, but they are all only available to Elite Members, so you won't be able to find them or search for them. The author controls where to place the thread.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #30 (permalink)
Sam Collins
Australia
 
Posts: 4 since May 2010
Thanks Given: 0
Thanks Received: 0


Ah okay, damn $100 just to see some threads on theories/ideas.

Reply With Quote




Last Updated on August 25, 2014


© 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