3commas-js 中文文档教程
3commas-js
一个非官方的 3Commas API 包装器,具有以下特点:
- typescript typings
- all endpoints supported
- can be run in node or the browser
查看官方 API 文档此处。
Installation
npm install 3commas-js
或
yarn add 3commas-js
Using in your project
TODO
Roadmap
API | Overall Typing | Overall progress |
---|---|---|
Accounts | 80% | 100% |
Bots | 80% | 100% |
Deal | 80% | 100% |
Grid bots | 80% | 100% |
Marketplace | 80% | 100% |
Users | 80% | 100% |
Smart trades | WIP | WIP |
Test
创建一个包含以下内容的 .env 文件:
API_KEY=<your_3comma_api_key>
API_SECRET=<your_3comma_api_secret>
最后运行 yarn
,然后运行 yarn test
3commas-js
An unofficial 3Commas API wrapper featuring:
- typescript typings
- all endpoints supported
- can be run in node or the browser
Have a look at the official API documentation here.
Installation
npm install 3commas-js
or
yarn add 3commas-js
Using in your project
TODO
Roadmap
API | Overall Typing | Overall progress |
---|---|---|
Accounts | 80% | 100% |
Bots | 80% | 100% |
Deal | 80% | 100% |
Grid bots | 80% | 100% |
Marketplace | 80% | 100% |
Users | 80% | 100% |
Smart trades | WIP | WIP |
Test
Create a .env file with the following content:
API_KEY=<your_3comma_api_key>
API_SECRET=<your_3comma_api_secret>
Finally run yarn
then yarn test