ExBinance.Rest.HTTPClient (ex_binance v0.0.10)

Link to this section Summary

Link to this section Types

Link to this type

config_error()

Specs

config_error() :: {:config_missing, String.t()}
Link to this type

credentials()

Specs

credentials() :: ExBinance.Credentials.t()

Specs

endpoint() :: String.t()

Specs

header() :: {key :: String.t(), value :: String.t()}

Specs

path() :: String.t()
Link to this type

shared_errors()

Specs

shared_errors() ::
  :timeout
  | :connect_timeout
  | {:http_error, any()}
  | {:decode_error, Jason.DecodeError.t()}
  | :bad_symbol
  | :receive_window
  | {:binance_error, map()}

Link to this section Functions

Link to this function

coin_margin_futures_domain()

Link to this function

coin_margin_futures_endpoint()

Link to this function

delete(endpoint, path, params, credentials, opts \\ [])

Specs

delete(endpoint(), path(), map(), credentials(), keyword()) ::
  {:ok, any()} | {:error, shared_errors()}
Link to this function

get(endpoint, path, params, headers \\ [], opts \\ [])

Specs

get(endpoint(), path(), map(), [header()] | credentials(), keyword()) ::
  {:ok, any()} | {:error, shared_errors()}
Link to this function

post(endpoint, path, params, credentials, opts \\ [])

Specs

post(endpoint(), path(), map(), credentials(), keyword()) ::
  {:ok, any()} | {:error, shared_errors()}
Link to this function

put(endpoint, path, params, credentials, opts \\ [])

Specs

put(endpoint(), path(), map(), credentials(), keyword()) ::
  {:ok, any()} | {:error, shared_errors()}
Link to this function

spot_endpoint()

Link to this function

usd_margin_futures_domain()

Link to this function

usd_margin_futures_endpoint()