Skip to content

ankitgyawali/bitcoin-trading-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin trading bot

Automated bitcoin trading bot.

Blog Link: https://blog.ankitgyawali.com/blog/2018/06/10/Bitcoin-Trading-Bot/

Installation Instructions

Dev Setup

  • The node version required for this project is at least v8.9.4+ LTS. (nvm- short for node version manage is great if you need to run multiple node versions)
  • Dependencies should be installed with npm install
    • You will need pm2 for managing bot processes (npm install -g pm2)
    • One of the node dependencies tulind indicator needs to compile C binaries - if npm install failes for that module you can build directly with npm install tulind --build-from-source. This will require you to ensure you have g++ installed on your system.
  • Ensure you have elasticsearch and kibana running on your localhost. Alternatively you can install it on an aws ec2 (recommended for serious users). Official installation guide can be found here.
  • Configure elasticsearch port on config.json. Default elasticsearch port is already configured on the project repo. Run the following commands to run ingest cron and position taking crons respectively. We will discuss what each does in next section.
    • npm run ingest
    • npm run takeposition

About

Open Sourcing portions of my personal trading bot. Referenced by:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published