Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ccxt ¶
type Ccxt struct {
// contains filtered or unexported fields
}
Ccxt Rest SDK (https://github.com/franz-see/ccxt-rest, https://github.com/ccxt/ccxt/)
func MakeInitializedCcxtExchange ¶
MakeInitializedCcxtExchange constructs an instance of Ccxt that is bound to a specific exchange instance on the CCXT REST server
func (*Ccxt) FetchOrderBook ¶
FetchOrderBook calls the /fetchOrderBook endpoint on CCXT, trading pair is the CCXT version of the trading pair
func (*Ccxt) FetchTicker ¶
FetchTicker calls the /fetchTicker endpoint on CCXT, trading pair is the CCXT version of the trading pair
type CcxtTrade ¶
type CcxtTrade struct { Amount float64 `json:"amount"` Cost float64 `json:"cost"` Datetime string `json:"datetime"` ID string `json:"id"` Price float64 `json:"price"` Side string `json:"side"` Symbol string `json:"symbol"` Timestamp int64 `json:"timestamp"` }
CcxtTrade represents a trade
Click to show internal directories.
Click to hide internal directories.