Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Congrats! Posts like this give me massive inspiration. Like many here, I have tons of side project/toy apps stored in private repo's; that will probably never see use by anyone other than myself. However, some of this code _does_ make me profit (trading bots). Been contemplating taking portions of my trading app and generalizing into a product, but always seem to lose motivation.

Glad I saw this post + thread today, y'all just gave me another boost of energy.




What kind of algorithm do you use for your trading bot?

Say:

Strategy 1: If the market is trending higher. Then, buy on the dips. Hold. Sell for 20% gains. Then rinse and repeat.

Strategy 2: Or, if the market ($SPY) has risen for x percent for the day, say 3%, then you short the stock. Wait for it to correct, and sell for 20% gains. But if it continues rising higher than 10%, then buy back the stock to close out your position.


Thanks for the feedback. I'm glad I inspired you a little :-)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: