1. 首页
  2. 数据库
  3. 其它
  4. bian rs:Binance API客户端 源码

bian rs:Binance API客户端 源码

上传者: 2021-04-29 12:24:44上传 ZIP文件 17.59KB 热度 14次
- 币安API Rust异步SDK 使用 在Cargo.toml中添加依赖 [ dependencies ] tokio = { version = " 1 " , features = [ " full " ] } bian-rs = { git = " https://github.com/PrivateRookie/bian-rs.git " } 在国内使用需要设置代理,bian-rs通过HTTP_PROXY和HTTPS_PROXY环境变量自动设置代理。 use bian_rs :: UFuturesHttpClient; use std :: env; #[tokio::main] async fn main () { let api_key = "your api key" ; let secret_key = "your secret key" ; /
用户评论