View Source BinanceHttp.Api.SAPI.V1.Behaviour behaviour (binance_http v0.1.2)

Link to this section Summary

Link to this section Callbacks

@callback account_snapshot() :: :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_snapshot(params)

View Source
@callback account_snapshot(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_snapshot(params, opts)

View Source
@callback account_snapshot(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback account_status() :: :ok | {:ok, term()} | {:error, term()}
@callback account_status(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_status(params, opts)

View Source
@callback account_status(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_trading_status()

View Source
@callback account_trading_status() :: :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_trading_status(params)

View Source
@callback account_trading_status(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

account_trading_status(params, opts)

View Source
@callback account_trading_status(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback asset_detail() :: :ok | {:ok, term()} | {:error, term()}
@callback asset_detail(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

asset_detail(params, opts)

View Source
@callback asset_detail(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback asset_divident() :: :ok | {:ok, term()} | {:error, term()}
@callback asset_divident(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

asset_divident(params, opts)

View Source
@callback asset_divident(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback capital_getall() :: :ok | {:ok, term()} | {:error, term()}
@callback capital_getall(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

capital_getall(params, opts)

View Source
@callback capital_getall(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback deposit_address() :: :ok | {:ok, term()} | {:error, term()}
@callback deposit_address(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

deposit_address(params, opts)

View Source
@callback deposit_address(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback deposit_history() :: :ok | {:ok, term()} | {:error, term()}
@callback deposit_history(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

deposit_history(params, opts)

View Source
@callback deposit_history(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

disableFastWithdrawSwitch()

View Source
@callback disableFastWithdrawSwitch() :: :ok | {:ok, term()} | {:error, term()}
Link to this callback

disableFastWithdrawSwitch(params)

View Source
@callback disableFastWithdrawSwitch(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

disableFastWithdrawSwitch(params, opts)

View Source
@callback disableFastWithdrawSwitch(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback dust_btc() :: :ok | {:ok, term()} | {:error, term()}
@callback dust_btc(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback dust_btc(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback dust_log() :: :ok | {:ok, term()} | {:error, term()}
@callback dust_log(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback dust_log(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback dust_transfer() :: :ok | {:ok, term()} | {:error, term()}
@callback dust_transfer(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

dust_transfer(params, opts)

View Source
@callback dust_transfer(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback system_status() :: :ok | {:ok, term()} | {:error, term()}
@callback system_status(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

system_status(params, opts)

View Source
@callback system_status(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback trade_fee() :: :ok | {:ok, term()} | {:error, term()}
@callback trade_fee(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback trade_fee(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
@callback withdraw_history() :: :ok | {:ok, term()} | {:error, term()}
Link to this callback

withdraw_history(params)

View Source
@callback withdraw_history(params :: map() | Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}
Link to this callback

withdraw_history(params, opts)

View Source
@callback withdraw_history(params :: map() | Keyword.t(), opts :: Keyword.t()) ::
  :ok | {:ok, term()} | {:error, term()}