Skip to content
/ goex Public
forked from nntaoli-project/goex

Exchange Rest And WebSocket API For Golang Wrapper support okcoin,okex,huobi,hbdm,bitmex,coinex,poloniex,bitfinex,bitstamp,binance,kraken,bithumb,zb,hitbtc,fcoin, coinbene

License

Notifications You must be signed in to change notification settings

100btcer/goex

Repository files navigation

goex目标

goex项目是为了统一并标准化各个数字资产交易平台的接口而设计,同一个策略可以随时切换到任意一个交易平台,而不需要更改任何代码。

示例

    import (
        "github.com/nntaoli-projects/goex/v2"
    )
    goex.SetHttpTimeout(5)
    //goex.SetHttpProxy("socks5://127.0.0.1:2220")
    goex.SetupDefaultLibs()  //must need call
    marketApi := binance.Spot.MarketApi()
    tk,err := marketApi.GetTicker(goex.CurrencyPair{Symbol: "btcusdt"})

About

Exchange Rest And WebSocket API For Golang Wrapper support okcoin,okex,huobi,hbdm,bitmex,coinex,poloniex,bitfinex,bitstamp,binance,kraken,bithumb,zb,hitbtc,fcoin, coinbene

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%