Skip to content

Node script to daily cost average buy on Dex.ag

Notifications You must be signed in to change notification settings

gwenvador/dca_Dex.ag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Node script for Dollar-Cost Averaging on Dex.ag

Dollar-Cost Averaging (DCA) is an investment strategy that consists in purchasing an asset periodically on a long term period. Because of the high volatility of cryptocurrency DCA is a great plan to increase your crypto assets. This script uses Dex.ag an aggregator of DEX (Decentralized Exchange) to find the best rate and execute the trade.

Based on DEX.ag API

Instructions

  • Install node.js
  • Install ethers.js:

npm install --save ethers

0 0 * * * /usr/bin/node $DIRECTORY/dex.js >> $DIRECTORY/dex.ag.log 2>&1

About

Node script to daily cost average buy on Dex.ag

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages