Skip to content

Commit

Permalink
feat(smart_trade): breakeven
Browse files Browse the repository at this point in the history
  • Loading branch information
kirosc committed Sep 14, 2021
1 parent da506d5 commit f048532
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 45 deletions.
78 changes: 39 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3commas-typescript",
"version": "1.3.2",
"version": "1.3.3",
"description": "TypeScript 3Commas API client",
"repository": {
"type": "git",
Expand All @@ -27,21 +27,21 @@
"license": "MIT",
"devDependencies": {
"@types/crypto-js": "^4.0.2",
"@types/node": "^16.7.4",
"@types/node": "^16.9.1",
"@types/qs": "^6.9.7",
"@types/ws": "^7.4.7",
"dotenv": "^10.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"prettier": "^2.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.2"
"typescript": "^4.4.3"
},
"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"crypto-js": "^4.1.1",
"qs": "^6.10.1",
"ws": "^8.2.0"
"ws": "^8.2.2"
},
"lint-staged": {
"*.{ts,json,md}": "prettier --write"
Expand Down
1 change: 1 addition & 0 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export interface UnitsClass {

export interface StopLoss {
enabled: boolean;
breakeven?: boolean;
order_type?: 'market' | 'limit';
price?: UnitsClass;
conditional?: StopLossConditional;
Expand Down

0 comments on commit f048532

Please sign in to comment.