1.0.0 • Published 4 years ago

okexsdk v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

apikey相关申请和修改,请在登录 "www.okex.com"成功后,"账户-个人中心-我的API"申请V3 API页面进行相关操作。 ###安装方法

npm i okexsdk

使用指南

const { PublicClient } = require(‘@okfe/okex-node’);
const { V3WebsocketClient } = require(‘@okfe/okex-node’);
const { AuthenticatedClient } = require(‘@okfe/okex-node’);
const pClient = new PublicClient();
const authClient = new AuthenticatedClient(key,secret, passphrase);
const wss = new V3WebsocketClient();

测试Demo: https://github.com/zisuting/okex-node-sdk-sample