package
0.0.2-alpha
Repository: https://github.com/unclepx/golang-crypto-trading-bot.git
Documentation: pkg.go.dev

# Functions

MarketNameFor gets the market name as seen by the exchange.
NewBinanceWrapper creates a generic wrapper of the binance API.
NewBitfinexWrapper creates a generic wrapper of the bittrex API.
NewBittrexV2Wrapper creates a generic wrapper of the bittrex API v2.0.
NewBittrexWrapper creates a generic wrapper of the bittrex API.
NewCandlesCache creates a new CandlesCache Object.
NewExchangeWrapperSimulator creates a new simulated wrapper from another wrapper and an initial balance.
NewHitBtcV2Wrapper creates a generic wrapper of the HitBtc API v2.0.
NewKrakenWrapper creates a generic wrapper of the poloniex API.
NewKucoinWrapper creates a generic wrapper of theKucoin.
NewOrderbookCache creates a new OrderbookCache Object.
NewPoloniexWrapper creates a generic wrapper of the poloniex API.
NewSummaryCache creates a new SummaryCache Object.

# Constants

MakerTrade represents the "sell" order type.
TakerTrade represents the "buy" order type.

# Variables

ErrWebsocketNotSupported is the error representing when an exchange does not support websocket.

# Structs

BinanceWrapper represents the wrapper for the Binance exchange.
BitfinexWrapper provides a Generic wrapper of the Bitfinex API.
BittrexWrapper provides a Generic wrapper of the Bittrex API.
BittrexWrapperV2 wraps Bittrex API v2.0.
CandlesCache represents a local candles cache for every exchange.
ExchangeWrapperSimulator wraps another wrapper and returns simulated balances and orders.
HitBtcWrapperV2 wraps HitBtc API v2.0.
KrakenWrapper provides a Generic wrapper of the Kraken API.
KucoinWrapper wrapsKucoin.
OrderbookCache represents a local orderbook cache for every exchange.
PoloniexWrapper provides a Generic wrapper of the Poloniex API.
SummaryCache represents a local summary cache for every exchange.

# Interfaces

ExchangeWrapper provides a generic wrapper for exchange services.

# Type aliases

TradeType represents a type of order, from trading fees point of view.