Bittrex v3.0.0-alpha.2 Bittrex.Subaccounts View Source

Implements /subaccounts endpoints.

Link to this section Summary

Functions

Create a new subaccount. (NOTE: This API is limited to partners and not available for traders.)

Retrieve details for a specified subaccount. (NOTE: This API is limited to partners and not available for traders.)

List subaccounts. (NOTE: This API is limited to partners and not available for traders.)

Link to this section Functions

Link to this function

create_subaccount(client, params \\ %{}) View Source
create_subaccount(
  %Bittrex.Client{api_key: term(), api_secret: term(), sub_account_id: term()},
  %{}
) ::
  StrawHat.Response.t(
    %Bittrex.Subaccount{created_at: term(), id: term()},
    Bittrex.Client.error()
  )

Create a new subaccount. (NOTE: This API is limited to partners and not available for traders.)

Link to this function

get_subaccount(client, subaccount_id) View Source
get_subaccount(
  %Bittrex.Client{api_key: term(), api_secret: term(), sub_account_id: term()},
  String.t()
) ::
  StrawHat.Response.t(
    %Bittrex.Subaccount{created_at: term(), id: term()},
    Bittrex.Client.error()
  )

Retrieve details for a specified subaccount. (NOTE: This API is limited to partners and not available for traders.)

Link to this function

get_subaccounts(client, params \\ %{}) View Source
get_subaccounts(
  %Bittrex.Client{api_key: term(), api_secret: term(), sub_account_id: term()},
  %{starting_after: String.t(), ending_before: String.t(), limit: integer()}
) ::
  StrawHat.Response.t(
    [%Bittrex.Subaccount{created_at: term(), id: term()}],
    Bittrex.Client.error()
  )

List subaccounts. (NOTE: This API is limited to partners and not available for traders.)