Skip to content

Commit

Permalink
Merge pull request #347 from 0xSmartCrypto/master
Browse files Browse the repository at this point in the history
Add trailingDelta to NewSpotOrderParams
  • Loading branch information
tiagosiebler authored Jul 12, 2023
2 parents 258f1e7 + 65b4d92 commit 14cbde3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binance",
"version": "2.8.5",
"version": "2.8.6",
"description": "Node.js & JavaScript SDK for Binance REST APIs & WebSockets, with TypeScript & end-to-end tests.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -29,7 +29,8 @@
"Gavy Aggarwal (http://gavyaggarwal.com/)",
"Tony Pettigrew (https://github.com/NeverEnder4)",
"Chris <[email protected]> (https://github.com/apexearth)",
"Bruno Lobo <[email protected]> (https://brunolobo.xyz)"
"Bruno Lobo <[email protected]> (https://brunolobo.xyz)",
"0xSmartCrypto <[email protected]> (https://twitter.com/0xSmartCrypto)"
],
"dependencies": {
"axios": "^0.21.0",
Expand Down
2 changes: 1 addition & 1 deletion src/types/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export interface NewOCOParams {
limitStrategyType?: number;
price: number;
limitIcebergQty?: number;
trailingdelta?: number;
trailingDelta?: number;
stopClientOrderId?: string;
stopPrice: number;
stopStrategyId?: number;
Expand Down
1 change: 1 addition & 0 deletions src/types/spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ export interface NewSpotOrderParams {
price?: number;
newClientOrderId?: string;
stopPrice?: number;
trailingDelta?: number;
icebergQty?: number;
newOrderRespType?: OrderResponseType;
isIsolated?: StringBoolean;
Expand Down

0 comments on commit 14cbde3

Please sign in to comment.