MarketVolatility computes the volatility for spot and derivative markets trading history.
GET
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Parameters
market_idstringrequiredpathtrade_history_options.trade_grouping_secstring<uint64>queryTradeGroupingSec of 0 means use the chain's default grouping.
trade_history_options.max_agestring<uint64>queryMaxAge restricts the trade records oldest age in seconds from the current block time to consider. A value of 0 means use all the records present on the chain.
trade_history_options.include_raw_historybooleanqueryIf IncludeRawHistory is true, the raw underlying data used for the computation is included in the response.
trade_history_options.include_metadatabooleanqueryIf IncludeMetadata is true, metadata on the computation is included in the response.
Response
200OK
A successful response.
default
An unexpected error response.