diff --git a/README.md b/README.md index 355ebe7..ac7bf3e 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,11 @@ publicClient.getDepth(console.log, 'iota_btc'); publicClient.getTrades(console.log); // replace the parameters with your API key and secret -var privateClient = new OKCoin('your-api-key', 'your-api-secret'); +var privateClient = new OKEX('your-api-key', 'your-api-secret'); privateClient.getUserInfo(console.log); // buy limit order for 1 IOTA at price 00021054 BTC privateClient.addTrade(console.log, 'iota_btc', 'buy', '1', '00021054'); -``` \ No newline at end of file +```