An unofficial Liqui public and trade API client for Go.
- info
- ticker
- depth
- trades
- getInfo
- Trade
- ActiveOrders
- OrderInfo
- CancelOrder
- TradeHistory
- WithdrawCoin Method (not active now, will be available soon)
package main
import (
"context"
"fmt"
"github.com/gabu/go-liqui"
)
func main() {
liqui := liqui.NewClient()
ctx := context.Background()
ticker, err := liqui.Ticker(ctx, "ltc_btc")
if err != nil {
fmt.Println(err)
}
fmt.Println(ticker)
}
func main() {
liqui := liqui.NewClient().Auth("YOUR API KEY", "YOUR API SECRET")
}