Skip to content

Commit

Permalink
adding smart trade creation version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hscomp2002 committed Jan 5, 2022
1 parent d8b00a4 commit 2f5843e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,17 @@ class threeCommasAPI {
);
}

/**
* creating smarttrade version 2
* https://github.com/3commas-io/3commas-official-api-docs/blob/master/smart_trades_v2_api.md#create-smart-trade-v2-permission-smart_trade_write-security-signed
*/
async createSmartTradesV2(params) {
return await this.makeRequest(
"POST",
`/public/api/v2/smart_trades?`,
params
);
}
}

module.exports = threeCommasAPI;

0 comments on commit 2f5843e

Please sign in to comment.