Tasks#
The indexes app maintains historical price series for
market indexes. The full schedule and queue routing are in
Tasks. Current-price tracking is not
wired in – the upstream data source (TipRanks) does not
support index symbols.
Price history#
- richy.indexes.tasks.fetch_historical_data.__wrapped__(index=None)#
Fetches new historical data (prices) for the given index. Already existing price records gets updated if price differs. If no index was given fetches data for all index.
If new data has been found we update caches and regenerate performance chart.
- Parameters:
share (int) – Index PK.