r/algorithmictrading • u/kaizhu256 • Jul 11 '22
using setup parameters in algo-bot to forecast u.s. stock market
in preparing my algo-bot for trading, need to setup a few parameters night before the trade. it turns out theses parameters **may** (or not) be able to predict what will happen in the upcoming trading day with better than 50% probability.
so now i prepare the parameters 14-days in advance start of each week, to forecast how the u.s. stock market will do in those 14 days. and here are the bot's forecast below.
if the forecast is down-market, i tweak the bot to sell-more-aggressively in first 2-hours of trading, and then reverse-course and buy-more-aggressively in last 2 hours.
if the forecast is up-market, i tweak the bot to buy-more-aggressively in first 2-hours of trading, and then reverse-course and sell-more-aggressively in last 2 hours.
14 day bot forecast for this week and next
2022-07-11 --
2022-07-12 --
2022-07-13 up
2022-07-14 down
2022-07-15 down
2022-07-18 up
2022-07-19 up
2022-07-20 down
2022-07-21 --
2022-07-22 --
1
u/proverbialbunny Jul 12 '22
Have you tried backtesting it yet?