Matrix Engine Api Documentation - v2.0.0
Preparing search index...
CoinGeckoAdapter
Class CoinGeckoAdapter
Index
Constructors
constructor
Properties
_
timer
coin
Ids
history
history
Len
on
Update
prev
Price
Methods
_
build
Grid
_
seed
History
_
tick
start
stop
Constructors
constructor
new
CoinGeckoAdapter
(
coinIds
?:
string
[]
,
historyLen
?:
number
)
:
CoinGeckoAdapter
Parameters
coinIds
:
string
[]
= ...
historyLen
:
number
= 64
Returns
CoinGeckoAdapter
Properties
_
timer
_timer
:
Timeout
coin
Ids
coinIds
:
string
[]
history
history
:
{}
history
Len
historyLen
:
number
on
Update
onUpdate
:
any
prev
Price
prevPrice
:
{}
Methods
_
build
Grid
_buildGrid
()
:
{
coinCount
:
number
;
coins
:
{
id
:
string
;
max
:
number
;
min
:
number
;
samples
:
any
}
[]
;
timeSteps
:
number
;
}
Returns
{
coinCount
:
number
;
coins
:
{
id
:
string
;
max
:
number
;
min
:
number
;
samples
:
any
}
[]
;
timeSteps
:
number
;
}
_
seed
History
_seedHistory
()
:
Promise
<
void
>
Returns
Promise
<
void
>
_
tick
_tick
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
(
intervalMs
?:
number
)
:
Promise
<
void
>
Parameters
intervalMs
:
number
= 60000
Returns
Promise
<
void
>
stop
stop
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
timer
coin
Ids
history
history
Len
on
Update
prev
Price
Methods
_
build
Grid
_
seed
History
_
tick
start
stop
Matrix Engine Api Documentation - v2.0.0
Loading...