Tai.VenueAdapters.Bitmex.NormalizeAccount (tai v0.0.75)

Link to this section Summary

Link to this section Types

Specs

account() :: Tai.Venues.Account.t()
Link to this type

credential_id()

Specs

credential_id() :: Tai.Venue.credential_id()

Specs

currency() :: String.t()

Specs

margin() :: ExBitmex.Margin.t()

Specs

venue_id() :: Tai.Venue.id()

Link to this section Functions

Link to this function

build(margin, venue_id, credential_id)

Specs

build(margin(), venue_id(), credential_id()) ::
  {:ok, account()} | {:error, {:unsupported_currency, currency()}}
Link to this function

satoshis_to_btc(satoshis)

Specs

satoshis_to_btc(Decimal.t() | integer()) :: Decimal.t()