Initializes a new instance of the Client class with the provided parameters.
Optionalparams: IClientParamsOptional parameters for initializing the client.
ProtectedaccessThe access token for authenticated requests.
ProtectedapiThe API key for authentication.
The API version to use.
ProtectedaxiosCustom Axios configuration.
ProtectedbackgroundBackground processes configuration.
The base URL for the API.
ProtectedrefreshThe refresh token for obtaining new access tokens.
ProtectedrequestThe request timeout in milliseconds.
ProtectedsecretThe secret key for authentication.
ProtectedsessionThe Axios instance for making HTTP requests.
ProtectedtldThe top-level domain for the API base URL.
Authenticates the client using the provided API key and secret key.
Optionalparams: IAuthenticationParamsOptional authentication parameters.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the authentication response.
Cancels multiple orders in bulk.
An array of parameters for canceling the orders.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the bulk cancel order response.
Creates multiple orders in bulk.
An array of parameters for creating the orders.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the bulk create order response.
Cancels an order with the specified order ID.
Parameters containing the order ID to cancel.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the order status response.
ProtectedcreateCreates a new order.
Parameters for creating the order.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the order status response.
ProtecteddeleteProtectedMakes a DELETE request to the specified API endpoint.
The endpoint path.
Optionalsigned: boolean = falseIndicates if the request requires authentication.
Optionalversion: string = ...The API version to use.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the response data.
ProtectedgetProtectedMakes a GET request to the specified API endpoint.
The endpoint path.
Optionalsigned: boolean = falseIndicates if the request requires authentication.
Optionalversion: string = ...The API version to use.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the response data.
ProtectedgetRetrieves the list of available currencies.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of currency information.
Retrieves the list of available markets.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of market information.
Retrieves the order book for the specified symbol.
Parameters containing the symbol for which to retrieve the order book.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the order book response.
Retrieves the status of an order with the specified order ID(s).
Parameters containing the order ID(s) to retrieve the status for.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the order status response.
Retrieves the list of price tickers.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of ticker information.
Retrieves the recent trades for the specified symbol.
Parameters containing the symbol for which to retrieve recent trades.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of trade information.
ProtectedgetProtectedConfigures and returns the Axios request configuration with the necessary headers and parameters.
The HTTP request method (e.g., 'get', 'post').
Indicates if the request requires authentication.
Optionalkwargs: IRequestOptions = {}Additional request options.
The configured Axios request configuration.
Retrieves the list of open orders.
Optionalparams: IGetOpenOrdersParamsOptional parameters for retrieving open orders.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of order status responses.
Retrieves the user's trade history.
Optionalparams: IGetFillsParamsOptional parameters for retrieving the trade history.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of trade information.
Retrieves the wallet information.
Optionalparams: IGetWalletsParamsOptional parameters for retrieving wallet information.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to an array of wallet responses.
ProtectedpostProtectedMakes a POST request to the specified API endpoint.
The endpoint path.
Optionalsigned: boolean = falseIndicates if the request requires authentication.
Optionalversion: string = ...The API version to use.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the response data.
Refreshes the access token using the provided refresh token or the stored refresh token.
Optionalparams: IRefreshTokenParamsOptional parameters containing the refresh token.
Optionalkwargs: IRequestOptionsAdditional request options.
A promise that resolves to the refresh token response.
StaticCreateCreates a new instance of the Client class and authenticates if API key and secret key are provided.
Optionalparams: IClientParamsOptional parameters for creating the client instance.
A promise that resolves to a new Client instance.
Represents a client for interacting with the Bitpin API.