tai v0.0.53 Tai.VenueAdapters.Bitmex.NormalizeAccount

Link to this section Summary

Link to this section Types

Link to this type

account()

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

credential_id()

credential_id() :: Tai.Venue.credential_id()
Link to this type

currency()

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

margin()

margin() :: ExBitmex.Margin.t()
Link to this type

venue_id()

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

Link to this section Functions

Link to this function

build(margin, venue_id, credential_id)

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

satoshis_to_btc(satoshis)

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