Categorygithub.com/dangersalad/go-itbit
modulepackage
0.4.4
Repository: https://github.com/dangersalad/go-itbit.git
Documentation: pkg.go.dev

# Functions

GetAllWallets returns the wallets for the user ID in the given config.
GetOrderBook gets a list of the open orders.
GetTicker gets the market data for a symbol.
NewOrder makes a new order.
SetLogger sets a logger on the package that will print messages.

# Constants

CurrencyBTC is an alias for CurrencyXBT.
CurrencyEUR is Euros.
CurrencySGD is SGD.
CurrencyUSD is US Dollars.
CurrencyXBT is bitcoin.
OrderSideBuy indicates a buy trade.
OrderSideSell indicates a sell trade.
OrderTypeLimit indicates a limit order.
SymbolXBTEUR is the USD/EUR trading pair.
SymbolXBTSGD is the USD/SGD trading pair.
SymbolXBTUSD is the USD/BTC trading pair.

# Structs

Config is the configuration to use to access the itBit API.
OrderBook represents open orders.
OrderRequest is a request to place an order on the market.
OrderResponse is a response to an order query or placement.
Ticker represents market data.
No description provided by the author
No description provided by the author

# Type aliases

Currency is a crypto currency.
Order represents an order on the order book.
OrderSide is the side of a trade.
OrderType is the type of the order.
Symbol represents a trading pair.