go-ftx:FTX REST和Websocket API的完整实现

时间:2021-03-07 07:58:55
【文件属性】:
文件名称:go-ftx:FTX REST和Websocket API的完整实现
文件大小:53KB
文件格式:ZIP
更新时间:2021-03-07 07:58:55
go api golang cryptocurrency ftx go-ftx FTX交换Golang库 从分叉 这是FTX REST和Websocket API的完整实现。 使用风险自负。 安装 go get github.com/uscott/go-ftx 用法 有关更多示例,请参见示例目录和测试用例。 休息 package main import ( "fmt" "net/http" "time" "github.com/uscott/go-ftx/api" "github.com/uscott/go-ftx/models" ) func main () { client := api . New ( api . WithAuth ( "API-KEY" , "API-SECRET" ), api . WithHTTPClient ( & http. Client { Timeout : 5 * time . Seco
【文件预览】:
go-ftx-master
----go.mod(477B)
----.github()
--------workflows()
----models()
--------staking.go(1KB)
--------futures.go(4KB)
--------subaccounts.go(740B)
--------options.go(4KB)
--------wallet.go(3KB)
--------websocket.go(3KB)
--------spot_margin.go(1KB)
--------leveraged_tokens.go(2KB)
--------types.go(3KB)
--------orders.go(4KB)
--------convert.go(570B)
--------markets.go(3KB)
--------account.go(2KB)
--------fills.go(1KB)
--------funding.go(345B)
----examples()
--------websocket()
--------rest()
----LICENSE(1KB)
----test()
--------account()
--------spot-margin()
--------staking()
--------fills()
--------utils()
--------ws-fills()
--------client()
--------wallet()
--------ws-markets()
--------leveraged-tokens()
--------test.go(2KB)
--------websocket()
--------ws-orders()
--------subaccounts()
--------orders()
--------markets()
--------options()
--------futures()
--------funding()
--------ws-all()
--------convert()
----README.md(2KB)
----api()
--------utils.go(1KB)
--------client.go(7KB)
--------staking.go(3KB)
--------futures.go(3KB)
--------subaccounts.go(3KB)
--------options.go(8KB)
--------wallet.go(5KB)
--------websocket.go(12KB)
--------spot_margin.go(4KB)
--------leveraged_tokens.go(4KB)
--------orders.go(8KB)
--------convert.go(2KB)
--------markets.go(3KB)
--------account.go(2KB)
--------fills.go(538B)
--------funding.go(667B)
----.gitignore(350B)
----_config.yml(26B)

网友评论