3commas-api-node
3commas-api-node copied to clipboard
NodeJS wrapper for Official 3commas API
i used below example but it always update the pairs "with last pair in the array", below is an example const botUpdate = async () => { let data =...
`{ "account_id": 1, "pair": "USDT_BTC", "instant": "true", "position": { "type": "buy", "units": { "value": "0.01" }, "order_type": "market" } }` querystring.stringify does not give correct params to send out in...
I'd love to see this package add support for 3c's grid bots!
There was just a method to fetch all accounts. With accountShow(accountId) is possible to fetch a single account just like it's done with botShow(botId).
There is a param to force request mode between 'real' or 'paper' on your account, see: https://github.com/3commas-io/3commas-official-api-docs#api-modesreal-or-paper Goal is to have possibility to force this option.
Make this library simple and as pure wrapper (which it basically is), so it can support any current 3commas API methods. This is already possible in v1.*, using following example:...
I get `FetchError: invalid json response body at https://api.3commas.io/public/api/ver1/deals?account_id=*** reason: Unexpected token R in JSON at position 0` If I hit it to many times. Code to replicate: ``` const...
It appears that `Update TP` has been deprecated: https://github.com/3commas-io/3commas-official-api-docs/blob/master/deals_api.md#deprecated-update-take-profit-condition-deal-status-should-be-bought-permission-bots_write-security-signed The new API uses update deal(deal_id) Would you be able to add support for update deal endpoint?
- Added jest and tests for all exposed API methods - Added ESLINT for standard coding convention - Minor update in the documentation regarding the smartTradesV2 method - Other minor...
Good Evening, I have been seeing errors in my logs for the last week or so that cropped up from no code change. I use kucoin as my exchange and...