Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Kite v5 - TypeScript

## [5.3.1] - 2026-04-24

### Bug Fixes

- **Type Definitions Sync**: Added missing `market_protection` parameter to `placeOrder` and `modifyOrder` method signatures in type definitions

## [5.3.0] - 2026-04-23

### New Features
Expand Down
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kiteconnect",
"version": "5.3.0",
"version": "5.3.1",
"description": "The official typescript client for the Kite Connect trading APIs",
"main": "./dist/lib/index.js",
"types": "./types/index.d.ts",
Expand Down
9 changes: 8 additions & 1 deletion types/connect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,6 @@ export type VirtualContractResponse = {
total: number;
};
}

export type GTTParams = {
/**
* GTT type, its either self.GTT_TYPE_OCO or self.GTT_TYPE_SINGLE.
Expand Down Expand Up @@ -2030,6 +2029,10 @@ export type Connect = {
* Parent order id incase of multilegged orders.
*/
parent_order_id?: string;
/**
* Market protection percentage. Set to -1 for system default, or 0-100.
*/
market_protection?: number;
}
) => Promise<{ order_id: string }>;

Expand Down Expand Up @@ -2218,6 +2221,10 @@ export type Connect = {
* When true, the response's `children` array contains per-slice results.
*/
autoslice?: boolean;
/**
* Market protection percentage. Set to -1 for system default, or 0-100.
*/
market_protection?: number;
}
) => Promise<AutosliceOrderResponse>;

Expand Down