BinanceApi.HTTP (binance_api v0.2.1) View Source
This module constructs a request for binance using authentication information
that is set in by the opts
param
By default the opts will use the api_key
and secret_key
set in the config
Options
:secured?
- The default value isfalse
.:secret_key
- The default value is"ls2MumrOXWvrslvWJSHGHVDjanm4dxe8QlcTsbtZ0F4rsubs7OXi1I5xDLAqOKQZ"
.:api_key
- The default value is"PKXk4AJ7rS3jSG9bCq74tt69isicgRMiM2kcVRsuB0tWelezvXM5OUzijao1vpwq"
.:base_futures_url
- The default value is"https://fapi.binance.com"
.:base_url
- The default value is"https://api.binance.com"
.:secure_receive_window
- The default value is5000
.:pool_timeout
- The default value is5000
.:receive_timeout
- The default value is15000
.
Link to this section Summary
Link to this section Types
Specs
Specs
opts() :: [ secured?: boolean(), secret_key: String.t(), api_key: String.t(), base_futures_url: String.t(), base_url: String.t(), secure_receive_window: non_neg_integer(), pool_timeout: non_neg_integer(), receive_timeout: non_neg_integer() ]