Documentation ¶
Index ¶
Constants ¶
View Source
const ( Spot = Item("spot") Margin = Item("margin") MarginFunding = Item("marginfunding") Index = Item("index") Binary = Item("binary") PerpetualContract = Item("perpetualcontract") PerpetualSwap = Item("perpetualswap") Futures = Item("futures") Future = Item("future") UpsideProfitContract = Item("upsideprofitcontract") DownsideProfitContract = Item("downsideprofitcontract") CoinMarginedFutures = Item("coinmarginedfutures") USDTMarginedFutures = Item("usdtmarginedfutures") )
Const vars for asset package
Variables ¶
View Source
var ( // ErrNotSupported is an error for an unsupported asset type ErrNotSupported = errors.New("received unsupported asset type") )
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item string
Item stores the asset type
Click to show internal directories.
Click to hide internal directories.