The class properties.
Optional
apiThe API secret key.
ProviderBinance
The client for RESTFUL and WebSocket API.
ProviderBinance
The API url.
ProviderBinance
Readonly
httpThe testnet API url.
ProviderBinance
Readonly
idThe id of the provider (readonly).
ProviderBinance
The logger.
ProviderBinance
The name of the provider.
ProviderBinance
Receive window prop (recvWindow).
ProviderBinance
Optional
subUse testnet.
ProviderBinance
Define API Ratio limit levels behaviors : will pause request if weight API ratio is too high, to avoid IP ban.
ProviderCommon
Define the max wheight to avoid banning.
ProviderBinance
Create a LIMIT order.
ProviderBinance
Side of the order (BUY | SELL)
The amount of the token concerned.
The price of the limit order.
The base asset.
The quote asset.
Rest
...args: Arguments<IProviderEvents[E]>Get all orders (filled or active).
ProviderBinance
The base asset.
The quote asset.
Optional
orderId: numberIf set, it will get orders >= that orderId. Otherwise most recent orders are returned.
Grouping order request for an array of pairs.
Pairs of asssets to filter.
Optional
status: stringThe orders status.
Optional
daysRange: numberThe number of days to request (default: 365).
Get candles history for a pair.
ProviderBinance
The base asset.
The quote asset.
Optional
intervalType: ICandleChartIntervalKeys = ICandleChartIntervalKeys.ONE_DAYThe type of interval.
Optional
endOptional
limit?: numberOptional
startOptional
event: EGenerated using TypeDoc
Init the Provider with config.
Memberof
ProviderBinance