ExBitmex.Rest.Request (ex_bitmex v0.6.1)

Link to this section Summary

Link to this section Types

Link to this type

auth_error_reason()

Specs

auth_error_reason() ::
  :timeout
  | :connect_timeout
  | :non_existent_domain
  | :not_found
  | bad_request()
  | :rate_limited
  | :overloaded
  | :bad_gateway
  | service_unavailable()
  | nonce_not_increasing()
  | :ip_forbidden
  | forbidden()
  | :invalid_signature
  | unauthorized()
Link to this type

auth_error_response()

Specs

auth_error_response() :: {:error, auth_error_reason(), rate_limit() | nil}
Link to this type

auth_response()

Specs

auth_response() :: auth_success_response() | auth_error_response()
Link to this type

auth_success_response()

Specs

auth_success_response() :: {:ok, map() | [map()], rate_limit()}
Link to this type

bad_request()

Specs

bad_request() :: {:bad_request, error :: map()}
Link to this type

credentials()

Specs

credentials() :: ExBitmex.Credentials.t()

Specs

forbidden() :: {:forbidden, message()}

Specs

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

non_auth_error_reason()

Specs

non_auth_error_reason() ::
  :timeout | :not_found | bad_request() | :overloaded | service_unavailable()
Link to this type

non_auth_response()

Specs

non_auth_response() ::
  {:ok, map() | [map()], rate_limit()}
  | {:error, non_auth_error_reason(), rate_limit() | nil}
Link to this type

nonce_not_increasing()

Specs

nonce_not_increasing() :: {:nonce_not_increasing, message()}

Specs

params() :: map()

Specs

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

rate_limit()

Specs

rate_limit() :: ExBitmex.RateLimit.t()
Link to this type

service_unavailable()

Specs

service_unavailable() :: {:service_unavailable, message()}
Link to this type

unauthorized()

Specs

unauthorized() :: {:unauthorized, message()}

Link to this section Functions