All Projects → pizzatarian → Bitcoin Trading Dca

pizzatarian / Bitcoin Trading Dca

Licence: mit
Bitcoin investing using Dollar Cost Averaging

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bitcoin Trading Dca

Qtbitcointrader
Secure multi crypto exchange trading client
Stars: ✭ 520 (-9.25%)
Mutual labels:  bitcoin, cryptocurrency
Lnd
Lightning Network Daemon ⚡️
Stars: ✭ 5,623 (+881.33%)
Mutual labels:  bitcoin, cryptocurrency
Techan
Technical Analysis Library for Golang
Stars: ✭ 404 (-29.49%)
Mutual labels:  bitcoin, cryptocurrency
Crypto Arbitrage
Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
Stars: ✭ 369 (-35.6%)
Mutual labels:  bitcoin, cryptocurrency
Bxbot
A simple Bitcoin trading bot written in Java.
Stars: ✭ 515 (-10.12%)
Mutual labels:  bitcoin, cryptocurrency
Cryptocurrency
Overview of top cryptocurrencies
Stars: ✭ 385 (-32.81%)
Mutual labels:  bitcoin, cryptocurrency
Cryptocurrencyprediction
Predict Cryptocurrency Price with Deep Learning
Stars: ✭ 453 (-20.94%)
Mutual labels:  bitcoin, cryptocurrency
Bitcoinlib
Bitcoin Core RPC compatible, battle-tested .NET library and RPC wrapper for Bitcoin and Altcoins
Stars: ✭ 350 (-38.92%)
Mutual labels:  bitcoin, cryptocurrency
Cpuminer Multi
Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Stars: ✭ 499 (-12.91%)
Mutual labels:  bitcoin, cryptocurrency
Exchangesharp
ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
Stars: ✭ 489 (-14.66%)
Mutual labels:  bitcoin, cryptocurrency
Donut
🏹 Dead-simple cross-platform cryptocurrency tracker.
Stars: ✭ 367 (-35.95%)
Mutual labels:  bitcoin, cryptocurrency
Rate.sx
💰 curl cryptocurrencies exchange rates
Stars: ✭ 563 (-1.75%)
Mutual labels:  bitcoin, cryptocurrency
Algo Coin
Python library for algorithmic trading cryptocurrencies across multiple exchanges
Stars: ✭ 365 (-36.3%)
Mutual labels:  bitcoin, cryptocurrency
Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (-32.11%)
Mutual labels:  bitcoin, cryptocurrency
React Native Redux Crypto Tracker
💎 Learn how to build a Redux + React Native cryptocurrency app
Stars: ✭ 351 (-38.74%)
Mutual labels:  bitcoin, cryptocurrency
Lets Build A Blockchain
A mini cryptocurrency in Ruby
Stars: ✭ 416 (-27.4%)
Mutual labels:  bitcoin, cryptocurrency
Ethlist
The Comprehensive Ethereum Reading List
Stars: ✭ 3,576 (+524.08%)
Mutual labels:  bitcoin, cryptocurrency
Tribeca
A high frequency, market making cryptocurrency trading platform in node.js
Stars: ✭ 3,646 (+536.3%)
Mutual labels:  bitcoin, cryptocurrency
Asch
Asch is an efficient, flexible, safe and decentralized application platform, which was initially designed to lower the barrier to entry for developers.The services provided by the Asch platform include a public chain and a set of application SDKs.
Stars: ✭ 484 (-15.53%)
Mutual labels:  bitcoin, cryptocurrency
Neutrino
Privacy-Preserving Bitcoin Light Client
Stars: ✭ 564 (-1.57%)
Mutual labels:  bitcoin, cryptocurrency

Bitcoin investing using Dollar Cost Averaging strategy

This node script let you set a daily amount to invest on crypto currency (Bitcoin in this case) via the kraken crypto exchange.

Dollar Cost Averaging

Dollar-cost averaging (DCA) is an investment technique of buying a fixed dollar amount of a particular investment on a regular schedule, regardless of the share price. The investor purchases more shares when prices are low and fewer shares when prices are high.

Dollar Cost Averaging has being initially used in the stock market to pursue an investment on an higher number of stocks with the same amount spend, just by investing it in a longer period of time due to the volatility of the stocks.

In the case of crypto-currency is well known that the volatility of those assets is way higher than the traditional shares purchased in the stock market. This makes the Dollar Cost Averaging strategy well suited for this type of investments.

How you should choose investment amount and range

This highly depends on your risk level, in my case what I've done is set up a total investment amount. Let's say I want to invest 1000$ and I want to spread my investment for 3 months. I also know I want to invest daily to take advantage of the volatility of the bitcoin against the dollar.

1000 / (3 * 30) = 1000 / 90 = ~11$ / day

I will then setup my .env file

KRAKEN_KEY=myKrakenKeyHere
KRAKEN_SECRET=myKrakenSecretKeyHere
INVESTMENT_AMOUNT=11.11
ASSETS_PAIR=XXBTZEUR

Pre-requisites

In order to make it work you will need

  • A bitcoin wallet obviously. I've used a desktop/paper wallet Electrum
  • A way to exchange EUR with Bitcoins and other crypto-currencies. This repo uses Kraken Exchange
  • node.js 8
  • npm

Getting started

Once you have registered your bitcoin wallet, you have your kraken account with enough funds and you've installed node js, you can start

Clone the project locally

git clone github.com/0x13a/bitcoin-trading-dca && cd bitcoin-trading-dca

Install the dependencies

npm install

Run

This should be run once a day, every day, after lunch or setup a cronjob that runs it for you every day

node index.js

Serverless template

There is a serverless template that you can use if you want to deploy this to an aws lambda https://github.com/izifortune/bitcoin-trading-dca-serverless

Disclaimer

Dollar Cost Averaging is meant to be used as a long-term strategy. This does not mean that returns are guaranteed, it's an investment and it's on your own risk. The general idea of this is to be used as Buy, hold and don't watch too closely

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].