Catalog npm
PACKAGE EXPLORERView in registry

3commas-api-node

npm

3commas API NodeJS wrapper

3commasaltcoinsapibitcoinbotscryptocurrencyjavascriptnodejstradingwrapper
Versions collected11
Direct dependencies2From release 1.2.0
Last observed20 Oct, 19:31 UTC

README

Current package documentation

3commas API NodeJs wrapper

NodeJS wrapper for Official 3commas API

3commas.io is collection of smart tools for cryptocurrency traders and investors to minimize risks, limit losses, grow profits, and manage their trades and portfolios across multiple exchanges.


How to use

Set up

Add node module using npm or yarn

npm i 3commas-api-node

or

yarn add 3commas-api-node

Using in your project

add module to your script and provide API credentials

const threeCommasAPI = require('3commas-api-node')

const api = new threeCommasAPI({
  apiKey: '',
  apiSecret: '',
  // url: 'https://api.3commas.io' // this is optional in case of defining other endpoint
  // forcedMode: 'real' // this is optional in case of defining account mode, 'real' or 'paper'

})

see example.js for more details

Current methods

for deals

 getDeals (params)
 
 dealUpdateMaxSafetyOrders (deal_id, max_safety_orders)
 
 dealPanicSell (deal_id)
 
 dealCancel (deal_id)
 
 dealUpdateTp (deal_id, new_take_profit_percentage)
 
 getDeal (deal_id)

 getDealSafetyOrders (deal_id)

for bots

  getBotsBlackList ()
  
  botsUpdateBlackList (params)
  
  botCreate (params)
  
  getBots (params)
  
  getBotsStats (params)
  
  botUpdate (params)
  
  botDisable (bot_id)
  
  botEnable (bot_id)
  
  botStartNewDeal (params)
  
  botDelete (bot_id)
  
  botPaniceSellAllDeals (bot_id)
  
  botCancelAllDeals (bot_id)
  
  botShow (bot_id)

for smart trades

  smartTradesCreateSimpleSell (params)

  smartTradesCreateSimpleBuy (params)
  
  smartTradesCreateSmartSell (params)
  
  smartTradesCreateSmartCover (params)
  
  smartTradesCreateSmartTrade (params)
  
  smartTrades ()
  
  smartTradesStepPanicSell (params)
  
  smartTradesUpdate (params)
  
  smartTradesCancel (smart_trade_id)
  
  smartTradesPanicSell (smart_trade_id)
  
  smartTradesForceProcess (smart_trade_id)

for accounts

  accountsNew (params)

  accounts ()
  
  accountsMarketList ()
  
  accountsCurrencyRates ()
  
  accountSellAllToUsd (account_id)
  
  accountSellAllToBtc (account_id)
  
  accountLoadBalances (account_id)
  
  accountRename (params)
  
  accountPieChartData (account_id)
  
  accountTableData (account_id)
  
  accountRemove (account_id)

buy me a beer 🍺

BTC: 37N2MSShWExJGsKuAvBs9GEteUTrhZyvCi

ETH: 0x9F5e35e7DCa77A6Ec7a307213C5F65bc6d010088

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 11

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.0Registry latest18 May 20222
1.1.126 Oct 20211
1.1.020 Oct 20211
1.0.925 Sept 20201
1.0.818 Sept 20201
1.0.723 Jan 20201
1.0.622 Jan 20201
1.0.521 Jan 20201
1.0.421 Jan 20201
1.0.322 Feb 20191
1.0.221 Feb 20191

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
rentorm/3commas-api-node

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:31 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:56a077ac17dd86f005617e8040fdfa9c164186bb107f2997a58b17b8e88d8d17