OKEX V5 WS接口账户持仓推送例子
8
Follow
1365
Followers
Source
JavaScript
function getLogin(pAccessKey, pSecretKey, pPassphrase) {
// 签名函数,用于登录
var ts = (new Date().getTime() / 1000) + ""
var login = {
"op": "login",
"args":[{
"apiKey" : pAccessKey,
"passphrase" : pPassphrase,
"timestamp" : ts,
"sign" : exchange.HMAC("sha256", "base64", ts + "GET" + "/users/self/verify", pSecretKey)
}]
} Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1
