r/algorithmictrading • • Mar 10 '21

How should I select arbitrary time data from a 1-min database?

4 Upvotes

I would like to seek advice on the following:

  • a single-stock price database (mysql)
  • 1-min price data from 9:30 to 16:00
  • timestamp(yyyy-mm-dd hh:mm:ss), bid price, ask price, last price, volume
  • assuming data exist in all 1-min slots (imputed if missing)
  • there are times say for simple charting or backtesting when you use 5-min, 60-min, daily data
  • how should you select such 5-min data from the 1-min data?
  • SELECT * FROM stock_jpm_data WHERE MOD(MINUTE(timestamp), 5)=0 should evaluate every row and be very slow

r/algorithmictrading • • Mar 09 '21

Feedback on TradeWithPython

8 Upvotes

Hey Guys, How is everyone doing? I have been writing some beginner-level blogs for TradeWithPython, and while I am getting decent views on the article, my plea for feedback is not really being recognized.

I wanted to get feedback from the community. Would you mind visiting the website and, if possible, give me genuine feedback on what is the scope of improvement? Are my articles easy enough to read? Any topics which I should absolutely be covering.

Since its launch last month, I have written about 10 articles; my latest article is Constructing Candlesticks using Python. Please can I request you to give it a read and give me genuine feedback?


r/algorithmictrading • • Feb 28 '21

Any courses or resources to start coding algo

5 Upvotes

Hey I have about 8 months of experience coding in R and I am learning python. I was wondering if you guys could share some resources for coding trading algorithms. Any free courses would be greatly appreciated


r/algorithmictrading • • Feb 24 '21

For any new quants out here, I've created a simple pine script to get you started!

Thumbnail
tradingview.com
17 Upvotes