All Projects → elsesiy → crypto-trader

elsesiy / crypto-trader

Licence: MIT license
Cryptocurrency investing using Dollar Cost Averaging (not limited to dollar)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to crypto-trader

Crypto-Resources
Resources for trading Bitcoin and Altcoins
Stars: ✭ 22 (-53.19%)
Mutual labels:  trading, zcash, monero, litecoin
wallet-address-validator
Useful library for validation of Bitcoin, Litecoin, Ethereum and other cryptocoin addresses
Stars: ✭ 240 (+410.64%)
Mutual labels:  dash, zcash, monero, litecoin
Ta4j Origins
A Java library for technical analysis ***Not maintained anymore, kept for archival purposes, see #192***
Stars: ✭ 354 (+653.19%)
Mutual labels:  trading, trading-strategies, litecoin
MoneroMixer
The easiest way to use Monero to anonymously exchange and properly mix XMR, BTC, LTC, ETH, BCH, & 100+ other coins on Tails OS or Whonix.
Stars: ✭ 57 (+21.28%)
Mutual labels:  dash, monero, litecoin
Valets
Command line wallets generator (Bitcoin, Bitcoin cash, Ethereum, Ethereum classic, Dash, Zcash, Dogecoin, Litecoin, Navcoin, Vertcoin, Reddcoin, Emercoin)
Stars: ✭ 46 (-2.13%)
Mutual labels:  dash, zcash, monero
Cryptocurrency Dashboard
Crypto Currency Dashboard Using Twitter 🐦 And Coinmarketcap 🚀 API
Stars: ✭ 54 (+14.89%)
Mutual labels:  dash, monero, litecoin
Cryptocurrency Cli
💰 Cryptocurrency Portfolio On The Command Line 💰
Stars: ✭ 99 (+110.64%)
Mutual labels:  dash, monero, litecoin
gdax bot
gdax_bot - Micro dollar cost averaging for crypto
Stars: ✭ 57 (+21.28%)
Mutual labels:  trading, trading-strategies, litecoin
Ta4j
A Java library for technical analysis.
Stars: ✭ 948 (+1917.02%)
Mutual labels:  trading, trading-strategies, litecoin
TradeBot
Crypto trading bot using Binance API (Java)
Stars: ✭ 292 (+521.28%)
Mutual labels:  trading, trading-strategies
payserver
Blockchain micro-service which is working on zigzag.io. It served as unified API for other micro-services to receive and send cryptocurrency assets.
Stars: ✭ 24 (-48.94%)
Mutual labels:  dash, litecoin
tradingview-alert-binance-trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 153 (+225.53%)
Mutual labels:  trading, trading-strategies
Insider-Trading
This program extracts insider trading data from the sec website and stores it in excel file for the specified time frame.
Stars: ✭ 43 (-8.51%)
Mutual labels:  trading, trading-strategies
adequate crypto address
A Ruby Library for dealing with validation cryptocurrency addresses
Stars: ✭ 18 (-61.7%)
Mutual labels:  dash, zcash
algobox
Open Source algorithmic trading platform in Java / Python
Stars: ✭ 90 (+91.49%)
Mutual labels:  trading, trading-strategies
scpx-wallet
Scoop Wallet: Core open-source, multi-asset & cross-platform CLI
Stars: ✭ 18 (-61.7%)
Mutual labels:  dash, litecoin
awesome-pinescript
A Comprehensive Collection of Everything Related to Tradingview Pine Script.
Stars: ✭ 563 (+1097.87%)
Mutual labels:  trading, trading-strategies
coinwatch
Coinmarketcap console client to keep track of your crypto currency trades - are you winning or losing?
Stars: ✭ 73 (+55.32%)
Mutual labels:  trading, monero
Twitter Activated Crypto Trading Bot
Buys crypto through keyword detection in new tweets. Executes buy in 1 second and holds for a given time (e.g. Elon tweets 'doge', buys Dogecoin and sells after 5 minutes). Tested on Kraken and Binance exchanges
Stars: ✭ 92 (+95.74%)
Mutual labels:  trading, trading-strategies
futu algo
Futu Algorithmic Trading Solution (Python) 基於富途OpenAPI所開發量化交易程序
Stars: ✭ 143 (+204.26%)
Mutual labels:  trading, trading-strategies

crypto-trader

Investing using Dollar Cost Averaging strategy

This node script let you set a daily amount to invest on any cryptocurrency pair that's available via kraken crypto exchange.

Dollar Cost Averaging

Dollar cost averaging (DCA) is an investment strategy with the goal of reducing the impact of volatility on large purchases of financial assets such as equities. Dollar cost averaging is also called the constant dollar plan (in the US), pound-cost averaging (in the UK), and, irrespective of currency, as unit cost averaging or the cost average effect.

By dividing the total sum to be invested in the market (e.g. $100,000) into equal amounts put into the market at regular intervals (e.g. $1000 over 100 weeks), DCA hopes to reduce the risk of incurring a substantial loss resulting from investing the entire "lump sum" just before a fall in the market. Dollar cost averaging is not always the most profitable way to invest a large sum, but it is alleged to minimize downside risk. The technique is said to work in markets undergoing temporary declines because it exposes only part of the total sum to the decline. The technique is so-called because of its potential for reducing the average cost of shares bought. As the amount of shares that can be bought for a fixed amount of money varies inversely with their price, DCA effectively leads to more shares being purchased when their price is low and fewer when they are expensive. As a result, DCA possibly can lower the total average cost per share of the investment, giving the investor a lower overall cost for the shares purchased over time.

Finance journalist Dan Kadlec of Time summarized the relevant research in 2012, writing: "The superior long-term returns of lump sum investing [over DCA] have been acknowledged for more than 30 years." Similarly, decades of empirical research on DCA has found that it does not function as promoted, and is a sub-optimal investment strategy.

Source: Wikipedia

Setting the right investment amount

Figure out how much you'd like to invest over a certain period of time. Let's assume I want to invest 10000 EUR in Ethereum over the course of 6 months:

10000 / (6 * 30) = 10000 / 180 = approx. 55€ / day

I will then setup my .env file

KRAKEN_API_KEY=myKrakenKeyHere
KRAKEN_API_SECRET=myKrakenSecretKeyHere
AMOUNT=55.55
COIN=ETH
FIAT=EUR

Pre-requisites

  • Node >= 8
  • A wallet for the appropriate coin or multi-currency wallet, i.e. Jaxx

Usage

This snippet clones the repo, cd in it, installs and installs all required dependencies and renames the .env.sample so you can set it up according to your needs.

git clone github.com/elsesiy/crypto-trader.git && cd crypto-trader && npm i && mv .env.sample .env

Scheduling

Run the script via node index.js as often as you'd like to invest or setup a cronjob or deploy it on Heroku with a custom clock process

Contributing

Feel free to open up an issue or PR if you've any remarks.

Inspired by bitcoin-trading-dca.

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].