Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exchange ¶
Exchange represents a single crypto exchange.
func (*Exchange) GetPositions ¶
GetPositions returns all positions on a given exchange.
type Position ¶
Position presents a single position in either a wallet or an exchange.
func NewPosition ¶
NewPosition creates a new Position.
func (*Position) GetValueUSD ¶
GetValueUSD will calculate the value of a ColdAsset based on the current price of the coin on CoinMarketCap.
Click to show internal directories.
Click to hide internal directories.