Pro Algo Trading | AlgoKing
Recent
checking my backtests for overfitting
·1019 words
worried my strategies are overfit to historical data. spent today testing for it. been reading NexusFi backtesting threads about this exact problem.
the problem # my backtests look great:
week 2 review - back in the red
·668 words
week 2 sucked. gave back week 1 gains and then some.
the numbers # trades this week:
total: 7 wins: 3 losses: 4 win rate: 43% avg winner: $310 avg loser: $485 net: -$1,010 account:
how i organize my trading code on github
·988 words
got asked on r/algotrading how i organize my trading repos. here’s my setup after 4 months of refactoring.
repo structure # i have 4 main repos:
correlation risk - learned the hard way
·795 words
lost $1,400 yesterday because i didn’t track correlation between my positions. dumb mistake.
what happened # may 10, 2pm:
interactive brokers vs tastyworks APIs - which is better for algo trading
·803 words
been using both IB and tastyworks for 4 months now. the thing is matters for algo trading.
background # started with interactive brokers in january when i went live. added tastyworks in march specifically for options premium selling.
polygon.io data feed review after 1 month
·624 words
been using polygon.io for options data since april. here’s my review after 1 month.
background # was using alpha vantage (free tier) until march. data quality was shit:
week 1 review - small progress
·566 words
first week of may done. +$520.
not amazing but way better than april’s weekly average (-$3k/week).
the numbers # trades this week:
fixed the fucking assignment bug
·458 words
found the bug that cost me $5k in april. took 6 hours but finally fucking fixed it.
the problem # selling options spreads. sometimes short leg gets assigned early (ITM before expiration).
may day 1 - smaller position sizes
cut position sizes in half. only trading 3 strategies now.
first day of may went… fine? +$180 on one trade. nothing else triggered.
new risk rules # old position sizing: 2.5% risk per trade = $850 max loss (on $340k account)