Skip to content

Commit

Permalink
Merge pull request #506 from siegfried/fix/issue-505
Browse files Browse the repository at this point in the history
feat(v2.15.4, #505): Add `goodTillDate` futures order property
  • Loading branch information
tiagosiebler authored Jan 29, 2025
2 parents 96bbc5d + 878058c commit 55898d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binance",
"version": "2.15.4",
"version": "2.15.5",
"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 @@ -92,4 +92,4 @@
"url": "https://github.com/tiagosiebler/binance/issues"
},
"homepage": "https://github.com/tiagosiebler/binance#readme"
}
}
1 change: 1 addition & 0 deletions src/types/futures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export interface NewFuturesOrderParams<numberType = number> {
newOrderRespType?: OrderResponseType;
selfTradePreventionMode?: SelfTradePreventionMode;
priceMatch?: PriceMatchMode;
goodTillDate?: number; // Mandatory when timeInForce is GTD
}

export interface ModifyFuturesOrderParams<numberType = number> {
Expand Down

0 comments on commit 55898d7

Please sign in to comment.