Skip to content

wouterds/btc-challenge

Repository files navigation

Bitcoin Challenge

Simple challenge: start off with 1 BTC and trade your way up to 100 BTC. Obviously you don't need to per se start with 1 Bitcoin and go to 100, it's configurable. Whatever you like, I'm trying to go from 0.1 to 1 for example. This repo keeps track of your wallet balance and Bitmex balance combined over time to help you keep track & visualize progress.

Screenshot

Requirements

  • Nodejs

Setup

Dependencies

npm i

Configuration

Create your .env file and change the values with your address, goal, api keys etc.

cp .env.example .env
START_DATE=2018-11-01
BTC_BALANCE_GOAL=10
BTC_WALLET_ADDRESS=1Cj9w6SsJQABFv611RHV728qa4tAWo1TJv
BITMEX_API_KEY_ID=XXXXXXXXXXXXXXXXXXX
BITMEX_API_KEY_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Running

npm start

Bitmex

On Bitmex you can trade crypto derivatives with up to 100x leverage. If you don't have an account yet, register by clicking on the image below to get a 10% discount on fees the first 6 months.

Screenshot