Trading Strategy for my personal TradeKing account
Use the software or algorithm in this repository at your own risk. The author is not liable for any losses caused by usage of this code. For more details, please refer to the LICENSE document.
-
Clone the repository
git clone git@github.com:gaoyuan/TradeKing.git
-
Download the latest version of Nodejs.
-
Install all the node modules.
npm install -
Create your own config.js.
var config = {}; config.account_id = Your_Trade_King_Account_ID; config.api_url = 'https://api.tradeking.com/v1'; config.stream_url = 'https://stream.tradeking.com/v1/'; config.consumer_key = Your_Trade_King_Consumer_Key; config.consumer_secret = Your_Trade_King_Consumer_Secret; config.access_token = Your_Trade_King_Access_Token; config.access_secret = Your_Trade_King_Access_Secret; module.exports = config;
-
Start the trading algorithm.
npm start
The code is licensed under the MIT License.
Everything is made possible by the developer API provided by <a href=http://www.tradeking.com title=”Powered by TradeKing”>TradeKing.
