LimestoneQueryForSeveralSymbols
limestone-api / Exports / LimestoneQueryForSeveralSymbols

Class: LimestoneQueryForSeveralSymbols

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

+ new LimestoneQueryForSeveralSymbols(params: QueryParams): LimestoneQueryForSeveralSymbols
Parameters:
Name
Type
params
QueryParams
Defined in: limestone-query.ts:166

Properties

params

Protected params: QueryParams
Defined in: limestone-query.ts:58

Methods

atDate

atDate(date: ConvertableToDate): LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
Configures query to fetch the price for a specific date.
Parameters:
Name
Type
Description
date
ConvertableToDate
Date for the historical price (date | timestamp | string)
Returns: LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
query object
Defined in: limestone-query.ts:97

getExecutableQuery

ProtectedgetExecutableQuery(update: any): LimestoneQueryExecutable
Type parameters:
Name
T
Parameters:
Name
Type
update
any
Defined in: limestone-query.ts:65

hoursAgo

hoursAgo(hoursCount: number): LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
Configures query to fetch the price for X hours ago.
Parameters:
Name
Type
Description
hoursCount
number
Number of hours ago
Returns: LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
query object
Defined in: limestone-query.ts:86

latest

latest(): LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
Configures query to fetch the latest price/prices It doesn't support any params
Returns: LimestoneQueryExecutable<{ [symbol: string]: PriceData; }>
query object
Defined in: limestone-query.ts:77
Copy link
Outline
Class: LimestoneQueryForSeveralSymbols
Hierarchy
Table of contents
Constructors
Properties
Methods