Skip to content

eli007s/3commas-compounding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3Commas Compounding

This is a helper utility to take the profits from your completed deals and compound them to the bots base order size.

Be aware that this will take your profit numbers and round them down. So $0.147 will be calculated as $0.14 and not $0.15.

To get started copy .env.example to .env and fill in the fields.

This uses mongoosedb to store and save the deal ID into a database to keep track of deals already compounded.

Dependencies

  • node
  • yarn (if your not using npm which is installed by default when you install nodejs)

3Commas API

create an API key in 3Commas create an API key in 3Commas create an API key in 3Commas

Install

npm install or yarn install

Run

node index.js

this will run once every minute. In the console you'll get results like these:

API output

Roadmap

  • reformat to make code modular
  • change data storage medium
  • options to specify how to distribute the profits. Into the base order size, safety orders, etc.
  • add ability to compound grid bots
  • send you a text message everytime compounding occurs with Twilio
  • option to use Telegram to get messages when something happens
  • and/or Slack messages
  • provide guide on using AWS lambda functions to fire off the API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published