Please review Stockalyze: https://g.page/r/CYw4g9KFTD6FEAI/review.

Question on historical data

Started by Tony, October 25, 2019, 10:04:00 AM

Previous topic - Next topic

Tony

Hi Sacha.
Just a question on when historical data is downloaded.

Early on in learning Stockalyze I thought running a trading system on a list of stock symbols would download the historical data.

But now when I run a trading system, and then chart a symbol, I get the brief message "waiting for price history" then the chart is displayed.

So my question is:
How did the system run a trading system and use historical data when, by displaying a chart for a symbol, Stockalye needs to retrieve historical data?

Thanks,
Tony


Sacha

QuoteEarly on in learning Stockalyze I thought running a trading system on a list of stock symbols would download the historical data.
Your understanding is right. Just that the data for only those stocks get downloaded that you used in backtesting. It's not only backtesting, anything you do like creating chart, run stock screener, backtesting, or even if you had alert set and you started Stockalyze then the price history of required stocks are downloaded. So, Stockalyze fetches data always on on-demand basis.
For creating chart there is a small optimization. If data is already present then a chart is first created with existing data, so that you get to see the chart as soon as possible and also the download of price is started in the background and chart is updated if there is new data available. If there is no data existing then only you see "waiting for price history".

QuoteBut now when I run a trading system, and then chart a symbol, I get the brief message "waiting for price history" then the chart is displayed.
Are you getting this for same symbol you used in backtesting? Was backtesting done with Eod and you are creating intraday chart or vice versa? If not then it is a bug, but I doubt it. Please confirm. If it is bug it will be solved quickly.

QuoteSo my question is:
How did the system run a trading system and use historical data when, by displaying a chart for a symbol, Stockalye needs to retrieve historical data?
I suspect either the symbol or the periodicity of backtesting and chart don't match. Please confirm.

One more thing to note is that intraday data and EoD data are separate and so both require separate downloads.
Sorry for lengthy explanation but I am putting it here for everyone's help. :)

Regards,
Sacha
Stockalyze Support
Let's be friends

Tony

Thanks for the explanation.

That answers it.
It was the same symbol used in backtesting.

I am not creating an intra day chart just Eod.

I was backtesting with weekly periodicity. So does that mean only the weekly historical data is downloaded?

And my charts are daily, which is why it needs to download "daily" data to display the chart?

I don't believe it's a bug, just my ignorance.

Thanks again.
Tony

Sacha

Which data-provider you had selected? If it was Yahoo and you see this problem then it can in fact be a bug. Can you give me more details please? Which stock and which data provider?
Stockalyze Support
Let's be friends

Tony

Sorry for the late reply.

I am using Yahoo, but everything works as it's supposed to.

WORK was the symbol I was using at the time.

I'm a happy camper.
Thanks,
Tony

Sacha

I am glad things are working as expected.
Thanks for letting me know.
Stockalyze Support
Let's be friends