26 lines
492 B
Markdown
26 lines
492 B
Markdown
# Create
|
||
|
||
Creates a timeseries with the specified parameters for access to the spreads history.
|
||
|
||
```
|
||
bool Create(
|
||
string symbol, // symbol
|
||
ENUM_TIMEFRAMES period // period
|
||
)
|
||
|
||
```
|
||
|
||
Parameters
|
||
|
||
symbol
|
||
|
||
[in] Timeseries symbol.
|
||
|
||
period
|
||
|
||
[in] Timeseries timeframe ([ENUM_TIMEFRAMES](/en/docs/constants/chartconstants/enum_timeframes) enumeration value).
|
||
|
||
Return Value
|
||
|
||
true - successful, false - cannot create the timeseries.
|