oanda:该项目是Goanda中Oanda的新V20 REST API的实现

时间:2021-05-17 04:47:13
【文件属性】:
文件名称:oanda:该项目是Goanda中Oanda的新V20 REST API的实现
文件大小:1.29MB
文件格式:ZIP
更新时间:2021-05-17 04:47:13
Go Oanda客户端API Oanda最近发布了他们的REST API V20,而Go尚未实现它。 这是试图填补这一空白的尝试。 安装 获取包装: brew install glide go get -d github.com/nii236/oanda cd $GOPATH/src/github.com/nii236/oanda/ glide install 用法 到目前为止,仅实现了以下端点: 帐户-列出帐户 定价-当前价格 编写您的主程序。 本示例将轮询每个单项以获取最新的行情自动收录器数据。 package main import ( "time" "github.com/Sirupsen/logrus" "github.com/nii236/oanda" "github.com/spf13/pflag" "github.com/spf13/viper" ) typ

网友评论