RedstoneQueryForSeveralSymbols

redstone-api / Exports / RedstoneQueryForSeveralSymbols

Class: RedstoneQueryForSeveralSymbols

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Parameters:

Returns: RedstoneQueryForSeveralSymbols

Overrides: RedstoneQueryForSingleOrSeveralSymbols

Properties

params

Protected params: QueryParams

Inherited from: RedstoneQueryForSingleOrSeveralSymbols.params

Methods

atDate

atDate(date: ConvertableToDate): RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

Configures query to fetch the price for a specific date.

Parameters:

Returns: RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

query object

Inherited from: RedstoneQueryForSingleOrSeveralSymbols

getExecutableQuery

ProtectedgetExecutableQuery(update: any): RedstoneQueryExecutable

Type parameters:

Parameters:

Returns: RedstoneQueryExecutable

Inherited from: RedstoneQueryForSingleOrSeveralSymbols

hoursAgo

hoursAgo(hoursCount: number): RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

Configures query to fetch the price for X hours ago.

Parameters:

Returns: RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

query object

Inherited from: RedstoneQueryForSingleOrSeveralSymbols

Defined in: redstone-query.ts:86

latest

latest(): RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

Configures query to fetch the latest price/prices It doesn't support any params

Returns: RedstoneQueryExecutable<{ [symbol: string]: PriceData; }>

query object

Inherited from: RedstoneQueryForSingleOrSeveralSymbols

Last updated