I recently realised my day trading could be completed automated, probably with much better results than I get at the moment since the computer could handle far more trades at once and would be free from the psychological side of trading.
My broker provides an API with functions for order handling but there appear to be no functions for the retrieval of market data. Presumably then I need a separate API to request market data, but despite endless searching I can’t find any information on the subject.
How would one normally go about retrieving market data for an automated trading application?
Also, are then any APIs that contain functions for the calculation of indicators such as moving averages? This would save a lot of time over having to write code to calculate all the indicators myself.
My model is fairly simple and it just uses a weighted combination of 13 factors to decide whether to enter a trade long, short or stay out. I just want to write a program to repeatedly evaluate the real time data from a set of high volume stocks against my model to assess whether they are offering a trading opportunity. It’s all fairly simple and if I had functions like double MovingAverage(string strTicker, int iPeriod) then it would be extremely easy to implement.
I must be searching for the wrong terms since I’m having no luck finding information on this subject so I’d be very grateful for any advice you can offer.
Thanks a lot for your help.
My broker provides an API with functions for order handling but there appear to be no functions for the retrieval of market data. Presumably then I need a separate API to request market data, but despite endless searching I can’t find any information on the subject.
How would one normally go about retrieving market data for an automated trading application?
Also, are then any APIs that contain functions for the calculation of indicators such as moving averages? This would save a lot of time over having to write code to calculate all the indicators myself.
My model is fairly simple and it just uses a weighted combination of 13 factors to decide whether to enter a trade long, short or stay out. I just want to write a program to repeatedly evaluate the real time data from a set of high volume stocks against my model to assess whether they are offering a trading opportunity. It’s all fairly simple and if I had functions like double MovingAverage(string strTicker, int iPeriod) then it would be extremely easy to implement.
I must be searching for the wrong terms since I’m having no luck finding information on this subject so I’d be very grateful for any advice you can offer.
Thanks a lot for your help.