Discover Packages
github.com/NarrowPacific/gocryptotrader
exchanges
account
package
Version:
v0.0.0-...-83dca6d
Opens a new window with list of versions in this module.
Published: May 23, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Process processes new account holdings updates
SubscribeToExchangeAccount subcribes to your exchange account
Account holds a stream ID and a pointer to the exchange holdings
Balance is a sub type to store currency name and individual totals
Available returns the amount you can use immediately. E.g. if you have $100, but $20
are held (locked) because of a limit buy order, your available balance is $80.
Change defines incoming balance change on currency holdings
Holdings is a generic type to hold each exchange's holdings for all enabled
currencies
GetHoldings returns full holdings for an exchange
Service holds ticker information for each individual exchange
Update updates holdings with new account info
SubAccount defines a singular account type with asocciated currency balances
Source Files
¶
Click to show internal directories.
Click to hide internal directories.