NexusFi: Find Your Edge


Home Menu

 





Adventures in Algorithms


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one rleplae with 5 posts (4 thanks)
    2. looks_two trendisyourfriend with 3 posts (0 thanks)
    3. looks_3 Raphael with 2 posts (3 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
      Best Posters
    1. looks_one bobwest with 5 thanks per post
    2. looks_two Raphael with 1.5 thanks per post
    3. looks_3 MALIK456 with 1 thanks per post
    4. looks_4 rleplae with 0.8 thanks per post
    1. trending_up 3,725 views
    2. thumb_up 13 thanks given
    3. group 7 followers
    1. forum 14 posts
    2. attach_file 0 attachments




 
Search this Thread

Adventures in Algorithms

  #1 (permalink)
Raphael
San Francisco, CA
 
Posts: 2 since Sep 2015
Thanks Given: 2
Thanks Received: 1

I'm just getting started with trading so figured now is a good time to start a journal.

A bit about me: I have a PhD in signal processing and optimization and spent the last 10 years in industry as a software engineer developing signal processing and machine learning algorithms. Hopefully this will make me a little more disciplined when it comes to OOS testing and cross-validation. I'm very comfortable on the programming and algorithms side but have very little experience trading.

I've had good success with property investing but that's a very different ballgame I'm sure. It's also hard to tell with property how much was just luck because the number of transactions is so low. On the plus side though I'm well capitalized as a result.

Ideally I'd like to transition to trading as a job probably for the same reasons as many others: being independent and getting out of the corporate world. I figure there is 5% or less chance of this happening which is OK with me. If it becomes a hobby that helps me generate some pocket money that's fine to. Or maybe it just doesn't work at all. It would be nice to find a way to gradually improve through consistent effort and chart a path to success rather than just giving up though.

So on to the plan. Right now I'm reading through Ernie Chan's algorithmic trading and setting up my own back testing environment in Python (although zipline / Quantopian / IB look pretty interesting too as an off the shelf solution). I'm planning to trade only once per day or so, running the algorithms nightly and then entering trades by hand, at least initially. Low frequency should keep transaction costs low and hopefully decrease the number of opportunities more experienced traders have to eat into me with more precise timing and better market knowledge. I really lack in my ability to read price action. It's something I'll need to get a better feel for. Any references on this would be much appreciated.

Ideally I'd like to identify 100 or so algorithms, short list and implement 20, back test them over many different time periods, then forward test them with small size trades. If one ended up being moderately profitable I'd be pretty happy.

The real challenge now is identifying a pipeline of algorithms to try out. I have a preference towards correlation / stat arb and machine learning models for mean reversion but am frankly open to anything. I have a strong bias against Elliott waves, square of nines and other esoteric forms of TA though.

Anyway, I'm looking forward to getting to know some of you better and setting out on this journey.

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
 
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
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



Raphael View Post

Ideally I'd like to transition to trading as a job probably for the same reasons as many others: being independent and getting out of the corporate world. I figure there is 5% or less chance of this happening which is OK with me.

Good luck in your endeavor...

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 MALIK456 
delhi india
 
Experience: Advanced
Platform: Amibroker
Trading: Gold
Posts: 3 since Aug 2015
Thanks Given: 37
Thanks Received: 4


Raphael View Post
I'm just getting started with trading so figured now is a good time to start a journal.

A bit about me: I have a PhD in signal processing and optimization and spent the last 10 years in industry as a software engineer developing signal processing and machine learning algorithms. Hopefully this will make me a little more disciplined when it comes to OOS testing and cross-validation. I'm very comfortable on the programming and algorithms side but have very little experience trading.

I've had good success with property investing but that's a very different ballgame I'm sure. It's also hard to tell with property how much was just luck because the number of transactions is so low. On the plus side though I'm well capitalized as a result.

Ideally I'd like to transition to trading as a job probably for the same reasons as many others: being independent and getting out of the corporate world. I figure there is 5% or less chance of this happening which is OK with me. If it becomes a hobby that helps me generate some pocket money that's fine to. Or maybe it just doesn't work at all. It would be nice to find a way to gradually improve through consistent effort and chart a path to success rather than just giving up though.

So on to the plan. Right now I'm reading through Ernie Chan's algorithmic trading and setting up my own back testing environment in Python (although zipline / Quantopian / IB look pretty interesting too as an off the shelf solution). I'm planning to trade only once per day or so, running the algorithms nightly and then entering trades by hand, at least initially. Low frequency should keep transaction costs low and hopefully decrease the number of opportunities more experienced traders have to eat into me with more precise timing and better market knowledge. I really lack in my ability to read price action. It's something I'll need to get a better feel for. Any references on this would be much appreciated.

Ideally I'd like to identify 100 or so algorithms, short list and implement 20, back test them over many different time periods, then forward test them with small size trades. If one ended up being moderately profitable I'd be pretty happy.

The real challenge now is identifying a pipeline of algorithms to try out. I have a preference towards correlation / stat arb and machine learning models for mean reversion but am frankly open to anything. I have a strong bias against Elliott waves, square of nines and other esoteric forms of TA though.

Anyway, I'm looking forward to getting to know some of you better and setting out on this journey.

As you want to identify quite a big number of algorithms to trade with, i believe you have to increase your trading frequency (and number of tradable instruments also) because then only you will come to know about real life behaviour of the algorithms.
In practical terms all statistical testing will only help you to sort the good algorithms from the bad ones(from historical perspective only!);although future utility of any algorithm is still very much subject to chance (especially so in the financial markets).
Positive expectation from a histirically proven algorithm/strategy is as valid as the hope that..."history repeats ....".
All the best.

Reply With Quote
Thanked by:
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


MALIK456 View Post
Positive expectation from a histirically proven algorithm/strategy is as valid as the hope that..."history repeats ....".
All the best.

Try to avoid the pitfall of curve fitting
I have been in that situation myself

The biggest challenge will be to trigger the right algo's for the right market condition (which changes constantly)

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020


rleplae View Post
Try to avoid the pitfall of curve fitting
I have been in that situation myself

The biggest challenge will be to trigger the right algo's for the right market condition (which changes constantly)

According to your research, have you categorized the market conditions. Or do you simply distinguish between range bound vs out of range/balance conditions?

Reply With Quote
  #7 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


trendisyourfriend View Post
According to your research, have you categorized the market conditions. Or do you simply distinguish between range bound vs out of range/balance conditions?

There are many different conditions
One need to understand the strength and the weakness of each algorithm and when to use it ...

You can compare it to a doctor, making a diagnose and then subscribing the right medicine
market condition depends on many factors and a trader should have an arsenal of tools
some tools are for certain conditions

You need to have a controller that knows when to 'enable' and when to 'disable' an algorithm.

There are many more conditions that can trigger/halt a algorithm than 'range vs out of range/balance conditions'
think about correlation, statistical, ...

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,437
Thanks Received: 26,276


Raphael View Post
I'm just getting started with trading so figured now is a good time to start a journal.
...
The real challenge now is identifying a pipeline of algorithms to try out. I have a preference towards correlation / stat arb and machine learning models for mean reversion but am frankly open to anything. I have a strong bias against Elliott waves, square of nines and other esoteric forms of TA though.

Anyway, I'm looking forward to getting to know some of you better and setting out on this journey.

A couple of potential resources on this forum:





I am not an algorithmic trader, and so I couldn't say whether these would help much or not.... But Kevin ( @kevinkdog ) is a frequent poster and a successful trader, and, to my non-algo eye, makes useful contributions and seems to know what he is talking about.

So that might be something to look at. There will be some others also, but these just came to mind.

You could also just go up to the Search box in the upper right corner of every page and try some relevant search terms. You might have better luck opting to use Advanced Search (basic Search just looks for matching thread titles, Advanced looks for text in the posts.)

There are fewer algorithmic traders here than there are discretionary, but some searching may find you something that may be of value to you.

Good luck, and keep us posted.

Bob.

Reply With Quote
  #9 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020


rleplae View Post
There are many different conditions
One need to understand the strength and the weakness of each algorithm and when to use it ...

You can compare it to a doctor, making a diagnose and then subscribing the right medicine
market condition depends on many factors and a trader should have an arsenal of tools
some tools are for certain conditions

You need to have a controller that knows when to 'enable' and when to 'disable' an algorithm.

There are many more conditions that can trigger/halt a algorithm than 'range vs out of range/balance conditions'
think about correlation, statistical, ...

Can you list the conditions you have worked out so far in your own tests? Are these conditions part of the algo that you have developed or are these conditions only identifiable by a human?

Reply With Quote
  #10 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



trendisyourfriend View Post
Can you list the conditions you have worked out so far in your own tests? Are these conditions part of the algo that you have developed or are these conditions only identifiable by a human?

The conditions are not discretionary but automated

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 21, 2015


© 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