Skip to content

Node.js code to make an automatic sale of a currency to USDT as soon as the deposit is credited. Works on Coinex exchange (coinex.com)

License

Notifications You must be signed in to change notification settings

TomasDmArg/CryptoAutoSaleCoinex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use it?

View config.js file and replace values, api key, secret, list of currencies and the amount it has to reach to be sold

Obtenerlas en: coinex.com/apikey

  export const settings = {
  apikey: "place your api key here",
  secret: "place your secret here",
  coinList: ["COIN"],
  threshold: 1,
};

Execution

In the terminal/cmd

$ node index.js

then, go to the browser, and you will be able to see:

List of coins: http:https://localhost:3000/list

Balance: http:https://localhost:3000/balance

Status: http:https://localhost:3000/coin/COIN-NAME/

Start: http:https://localhost:3000/coin/COIN-NAME/start

Stop http:https://localhost:3000/coin/COIN-NAME/stop

About

Node.js code to make an automatic sale of a currency to USDT as soon as the deposit is credited. Works on Coinex exchange (coinex.com)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published