☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
September 11
sujith
Create JSON Payload for Basket
imshor
September 10
in
Java client
How to automatically create Basket JSON Payload from Holdings and Order Objects
What is the field mapping.
Example of json object from a basket.
[
{
"id": 254140690,
"instrument": {
"tradingsymbol": "INFY",
"scripCode": "",
"type": "EQ",
"symbol": "INFY",
"segment": "NSE",
"exchange": "NSE",
"tickSize": 0.05,
"lotSize": 1,
"company": "INFOSYS",
"tradable": true,
"precision": 2,
"fullName": "INFY",
"niceName": "INFY",
"niceNameHTML": "INFY",
"stockWidget": true,
"exchangeToken": 1594,
"instrumentToken": 408065,
"isin": "",
"related": [
{
"tradingsymbol": "INFY",
"scripCode": "",
"type": "EQ",
"symbol": "INFY",
"segment": "BSE",
"exchange": "BSE",
"tickSize": 0.05,
"lotSize": 1,
"company": "INFOSYS",
"tradable": true,
"precision": 2,
"fullName": "INFY (INFY)",
"niceName": "INFY",
"niceNameHTML": "INFY",
"stockWidget": true,
"exchangeToken": 500209,
"instrumentToken": 128053508,
"isin": "",
"related": [],
"underlying": null,
"auctionNumber": null,
"isEquity": true,
"isWeekly": false
}
],
"underlying": null,
"auctionNumber": null,
"isEquity": true,
"isWeekly": false,
"isFound": true
},
"weight": 0,
"params": {
"transactionType": "BUY",
"product": "CNC",
"orderType": "MARKET",
"validity": "DAY",
"validityTTL": 1,
"quantity": 1,
"price": 0,
"triggerPrice": 0,
"disclosedQuantity": 0,
"variety": "regular",
"gtt": null,
"tags": []
}
}
]
sujith
September 11
Baskets feature is not available on Kite Connect API. You will have to create and maintain it at your end.
Sign In
or
Register
to comment.