Excel. You can use iex data or pay for something integrated. Some software will also let you calculate it in app.
Spin up a thread to fill a circular FIFO queue with data, and another to read the data and do the math (calculate mean median mode sd etc) every t time units, find the delta and determine if its good enough for a buy/sell signal.for example, I want the average price change or standard deviation in the past 5 minutes ? and updated based on the real time ticker feeds? what would be the way to design the data pipeline (not sure if this is even the right term)
Search Google/ git for SD indicator code that's probably what you are looking for or you can take the code and change.sorry, I'm using python + sqlite, will adjust my question
Spin up a thread to fill a circular FIFO queue with data, and another to read the data and do the math (calculate mean median mode sd etc) every t time units, find the delta and determine if its good enough for a buy/sell signal.
That being said, in my opinion and having been down this path in 2016, you're barking up the wrong tree. The hedge funds have got Ph.D. Physicists, Mathematicians, and Computer Scientists doing same, but they have the fastest MD news and systems on earth crunching these numbers. They'll eat up that alpha before it even reaches your network card.
Unless you think Citadel hasn't thought of this, you must be more clever. Not a lot of room for the retail investor in today's market. It's like playing chess against a computer on highest level.
Spin up a thread to fill a circular FIFO queue with data, and another to read the data and do the math (calculate mean median mode sd etc) every t time units, find the delta and determine if its good enough for a buy/sell signal.
That being said, in my opinion and having been down this path in 2016, you're barking up the wrong tree. The hedge funds have got Ph.D. Physicists, Mathematicians, and Computer Scientists doing same, but they have the fastest MD news and systems on earth crunching these numbers. They'll eat up that alpha before it even reaches your network card.
Unless you think Citadel hasn't thought of this, you must be more clever. Not a lot of room for the retail investor in today's market. It's like playing chess against a computer on highest level.
Can you imagine and define a simple statement of the indicator that you think is there?Or to be more specific, I want to set up a experiment to test that the alpha is there but just cannot be captured in time, I assume this can be proven even with delayed data.
Can you imagine and define a simple statement of the indicator that you think is there?
Such as, "Over 1000 trials, the volume-weighted average price from t0 to t1 increased by 0.5%, and 57% of the time, continued positively from t1 to t2 by at least 0.1%. This percentage is beyond the first standard deviation, and statistically significant; so, if an equity is found to increase at least 0.5% in time t, it makes sense to take a position"
I was once offered a job in matrix calculation where an institutional investment house was modeling the entire market; at the time, over 23,000,000 variables across all markets worldwide. It took all their computing power 3 minutes to solve with the absolute fastest linear algebraic theory available at the time.
Note that you probably don't want your t0 and t1 to be a single price quote or you risk running your maths on an outlier.I'm just trying to find a way to calculate the sd, mean etc. of SPY between t0 and t1 where it need to be varying from 5m, 1hr, or 10 days. As t1 is defined as "now".
I want to use these kind of indicators (t0-t1) to predict price change at next time interval ( say t2) based on simple linear regression, which might very well be just pure noise around zero, but that confidence band of the prediction interval might also be very useful by itself.