Requesting Benchmark or Stock History in a Trade Module
Summary
This short forum post gives a data access pattern for retrieving historical benchmark or stock data from a trade module. The example requests closing prices and volume for a benchmark symbol over a specified lookback, using daily frequency, and assigns the result to a variable. The stated point is that the history request in this module needs to be written in that form.
The post includes no explanation of the returned data structure, symbol conventions beyond its example, missing-data handling, or how to use the series in a strategy. It also gives no backtest results or trading rationale. The snippet is a narrow platform usage tip; users should consult platform documentation for valid symbols, supported fields, frequency options, and behavior in their specific runtime before relying on the pattern.
Key ideas
- The post shows how to request historical fields through a trade module.
- Its example retrieves closing price and volume at daily frequency for a benchmark symbol.
- The request uses a specified lookback period.
- The thread provides no guidance on returned data handling or strategy use.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.