alpacahq / Momentum-Trading-Example

An example algorithm for a momentum-based day trading strategy.
657 stars 218 forks source link

Algo Recommendations to Prevent Day-Trading #31

Open itsjonlebron opened 3 years ago

itsjonlebron commented 3 years ago

Happy Holidays everyone!

I was hoping anyone has some insight or suggestions for this algo to prevent day-trading. I have been testing the code for a couple of days, making minor changes here and there, but would love some help. I would like to deploy this algo with a lower account balance, making fewer trades. Does anyone have any suggestions of what variables I could change in the code?

Thanks!

nickvertucci commented 3 years ago

Hey Jono,

Were you able to get the code running successfully? I made some changed to the connection line and got it to finally scan and watch symbols BUT it then just sits there and says watching symbols.

Did you do any other modifications to get it working throughout the day?

scottstables commented 3 years ago

I actually created a fairly simple approach for exactly the same issue. I'd share my code publicly - but I'm embarrassed by its 'quality'- I can ping you a snippet if that helps...

nickvertucci commented 3 years ago

Who cares about quality at this point. Think as a template anyone is looking for a viable 'it works' product.