@exodus/market-history
Version: 0.0.0
Functions
Type Aliases
Asset
AssetPrices
AssetsAtom
BooleanSelector
CacheEntry
CreateAssetRateSelector
DataSelector
ErrorTracking
FetchApiFunction
FiatCurrency
GetAssetPricesSelector
GetPriceFn
Granularity
GranularityPrices
HistoricalPriceParams
HistoricalPriceResponse
MarketHistoryData
MarketHistoryMonitor
MarketHistoryMonitorDependencies
MarketHistoryPort
MarketHistoryState
MarketHistoryStorage
PriceData
PriceRecord
PriceTimeType
PricingClient
TimeSelector
Asset
AssetPrices
AssetsAtom
BooleanSelector
CacheEntry
CreateAssetRateSelector
DataSelector
ErrorTracking
FetchApiFunction
FiatCurrency
GetAssetPricesSelector
GetPriceFn
Granularity
GranularityPrices
HistoricalPriceParams
HistoricalPriceResponse
MarketHistoryData
MarketHistoryMonitor
MarketHistoryMonitorDependencies
MarketHistoryPort
MarketHistoryState
MarketHistoryStorage
PriceData
PriceRecord
PriceTimeType
PricingClient
TimeSelector
Variables
marketHistory
function
Signature
marketHistory(__namedParameters: MarketHistoryConfig): any
Parameters:
__namedParameters: MarketHistoryConfig
Returns:
anymarketHistory
variable
Type
const marketHistory: ({ clearHistoryCacheDefaultValue, remoteConfigClearHistoryCachePath, remoteConfigClearHistoryCacheDefaultValue, marketHistoryRefreshIntervalPath, marketHistoryRefreshIntervalDefaultValue, dailyRequestLimit, hourlyRequestLimit, minutelyRequestLimit, }: MarketHistoryConfig) => { ... }Signature
__type({ clearHistoryCacheDefaultValue, remoteConfigClearHistoryCachePath, remoteConfigClearHistoryCacheDefaultValue, marketHistoryRefreshIntervalPath, marketHistoryRefreshIntervalDefaultValue, dailyRequestLimit, hourlyRequestLimit, minutelyRequestLimit, }?: MarketHistoryConfig): any
Parameters:
{ clearHistoryCacheDefaultValue, remoteConfigClearHistoryCachePath, remoteConfigClearHistoryCacheDefaultValue, marketHistoryRefreshIntervalPath, marketHistoryRefreshIntervalDefaultValue, dailyRequestLimit, hourlyRequestLimit, minutelyRequestLimit, } (optional): MarketHistoryConfig
Returns:
anyAsset
type
Properties
isCombined?
boolean
name
string
ticker
string
AssetPrices
type
AssetsAtom
type
Properties
get
any
BooleanSelector
type
CacheEntry
type
CreateAssetRateSelector
type
DataSelector
type
ErrorTracking
type
Properties
track
any
FetchApiFunction
type
FiatCurrency
type
Properties
defaultUnit
any
GetAssetPricesSelector
type
GetPriceFn
type
Granularity
type
GranularityPrices
type
HistoricalPriceParams
type
Properties
assets
string[]
fiatArray
string[]
granularity
ignoreInvalidSymbols?
boolean
limit
number
timestamp?
number
HistoricalPriceResponse
type
MarketHistoryData
type
MarketHistoryMonitor
type
Properties
fetchAssetPricesFromDate
any
fetchAssets
any
hydrate
any
start
any
stop
any
update
any
updateAll
any
MarketHistoryMonitorDependencies
type
Properties
assetsAtom
clearCacheAtom?
config?
any
currencyAtom
enabledAssetsAtom
errorTracking
getCacheKey?
any
logger
marketHistoryAtom
pricingClient
remoteConfigClearCacheAtom?
remoteConfigRefreshIntervalAtom?
ReadonlyAtom | null
storage
synchronizedTime
any
MarketHistoryPort
type
MarketHistoryState
type
Properties
MarketHistoryStorage
type
Properties
batchGet
any
batchSet
any
clear
any
get
any
set
any
PriceData
type
Properties
close
number
PriceRecord
type
PriceTimeType
type
PricingClient
type
Properties
historicalPrice
any
TimeSelector
type
Asset
type
Properties
isCombined?
boolean
name
string
ticker
string
AssetPrices
type
AssetsAtom
type
Properties
get
any
BooleanSelector
type
CacheEntry
type
CreateAssetRateSelector
type
DataSelector
type
ErrorTracking
type
Properties
track
any
FetchApiFunction
type
FiatCurrency
type
Properties
defaultUnit
any
GetAssetPricesSelector
type
GetPriceFn
type
Granularity
type
GranularityPrices
type
HistoricalPriceParams
type
Properties
assets
string[]
fiatArray
string[]
granularity
ignoreInvalidSymbols?
boolean
limit
number
timestamp?
number
HistoricalPriceResponse
type
MarketHistoryData
type
MarketHistoryMonitor
type
Properties
fetchAssetPricesFromDate
any
fetchAssets
any
hydrate
any
start
any
stop
any
update
any
updateAll
any
MarketHistoryMonitorDependencies
type
Properties
assetsAtom
clearCacheAtom?
config?
any
currencyAtom
enabledAssetsAtom
errorTracking
getCacheKey?
any
logger
marketHistoryAtom
pricingClient
remoteConfigClearCacheAtom?
remoteConfigRefreshIntervalAtom?
ReadonlyAtom | null
storage
synchronizedTime
any
MarketHistoryPort
type
MarketHistoryState
type
Properties
MarketHistoryStorage
type
Properties
batchGet
any
batchSet
any
clear
any
get
any
set
any
PriceData
type
Properties
close
number
PriceRecord
type
PriceTimeType
type
PricingClient
type
Properties
historicalPrice
any
TimeSelector
type
