Historical trades not working

Historical trades data is not the latest, it showing data till july 2924. May be some broken code at api, please have look asap

Hi @manoj.tr, could you please share the cURL request that resulted in an empty response? From my side, I’m able to retrieve the trade history successfully.

For reference, you can check the Example codes for Trade History.

Hi ketan,

The api related to trade history is providing data for data range till 19 jul 2024, but after thata all trades done are missing from the response json. Please do let me, how can I help you further identify the issue.

@manoj.tr, could you kindly ensure that the start_date and end_date parameters are being passed correctly? Please share the cURL request you’re using for the historical-trades endpoint, so we can review the payload you’re submitting.

Additionally, provide your 6-digit user ID for further investigation.

Thank you!

hI Ketan,

My userid is 5RBM2R, the curl request date range is between 1 april 2024 to 31 march 2025 , page number 1, page size 100, The response is as below .
As you can see no trades are being shown after 19 jul 2024. Please suggest further action

{
“status”: “success”,
“data”: [
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 45,
“amount”: 4484.25,
“trade_id”: “2893461”,
“trade_date”: “2024-07-19”,
“transaction_type”: “SELL”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 99.65,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 15,
“amount”: 1494.75,
“trade_id”: “2893460”,
“trade_date”: “2024-07-19”,
“transaction_type”: “SELL”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 99.65,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 136,
“amount”: 37406.8,
“trade_id”: “401497998”,
“trade_date”: “2024-07-19”,
“transaction_type”: “SELL”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 275.05,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 44,
“amount”: 12102.64,
“trade_id”: “401497997”,
“trade_date”: “2024-07-19”,
“transaction_type”: “SELL”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 275.06,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 40,
“amount”: 4320.0,
“trade_id”: “411465086”,
“trade_date”: “2024-07-18”,
“transaction_type”: “SELL”,
“scrip_name”: “NHPC”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 108.0,
“isin”: “INE848E01016”,
“symbol”: “NHPC”,
“instrument_token”: “NSE_EQ|INE848E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 100,
“amount”: 27250.0,
“trade_id”: “409365065”,
“trade_date”: “2024-07-12”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 272.5,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 100,
“amount”: 1640.0,
“trade_id”: “800125626”,
“trade_date”: “2024-07-12”,
“transaction_type”: “BUY”,
“scrip_name”: “VODAFONE IDEA LTD”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 16.4,
“isin”: “INE669E01016”,
“symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 1053.9,
“trade_id”: “406968050”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NHPC”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 105.39,
“isin”: “INE848E01016”,
“symbol”: “NHPC”,
“instrument_token”: “NSE_EQ|INE848E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2700.0,
“trade_id”: “409514576”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.0,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2700.0,
“trade_id”: “409514575”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.0,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 7,
“amount”: 1894.2,
“trade_id”: “408398641”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.6,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2706.6,
“trade_id”: “408393750”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.66,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2700.1,
“trade_id”: “406914700”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.01,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 3,
“amount”: 811.8,
“trade_id”: “408398029”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.6,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2700.0,
“trade_id”: “406936252”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.0,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 5,
“amount”: 1350.0,
“trade_id”: “406967331”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.0,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 5,
“amount”: 1350.0,
“trade_id”: “406966602”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 270.0,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 1070.0,
“trade_id”: “400686667”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NHPC”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 107.0,
“isin”: “INE848E01016”,
“symbol”: “NHPC”,
“instrument_token”: “NSE_EQ|INE848E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 1067.0,
“trade_id”: “400494673”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NHPC”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 106.7,
“isin”: “INE848E01016”,
“symbol”: “NHPC”,
“instrument_token”: “NSE_EQ|INE848E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 1068.0,
“trade_id”: “402334701”,
“trade_date”: “2024-07-10”,
“transaction_type”: “BUY”,
“scrip_name”: “NHPC”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 106.8,
“isin”: “INE848E01016”,
“symbol”: “NHPC”,
“instrument_token”: “NSE_EQ|INE848E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 999.0,
“trade_id”: “6236198”,
“trade_date”: “2024-07-09”,
“transaction_type”: “BUY”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 99.9,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 999.3,
“trade_id”: “6228205”,
“trade_date”: “2024-07-09”,
“transaction_type”: “BUY”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 99.93,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 2712.5,
“trade_id”: “408482645”,
“trade_date”: “2024-07-09”,
“transaction_type”: “BUY”,
“scrip_name”: “NIFTY BEES”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 271.25,
“isin”: “INF204KB14I2”,
“symbol”: “NIFTYBEES”,
“instrument_token”: “NSE_EQ|INF204KB14I2”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 1000.0,
“trade_id”: “2163950”,
“trade_date”: “2024-07-09”,
“transaction_type”: “BUY”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 100.0,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 60,
“amount”: 1002.0,
“trade_id”: “800085908”,
“trade_date”: “2024-07-09”,
“transaction_type”: “BUY”,
“scrip_name”: “VODAFONE IDEA LTD”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 16.7,
“isin”: “INE669E01016”,
“symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 951.4,
“trade_id”: “1430529”,
“trade_date”: “2024-06-28”,
“transaction_type”: “BUY”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 95.14,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 20,
“amount”: 1890.4,
“trade_id”: “5523600”,
“trade_date”: “2024-06-28”,
“transaction_type”: “BUY”,
“scrip_name”: “CPSE ETF GROWTH”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 94.52,
“isin”: “INF457M01133”,
“symbol”: “CPSEETF”,
“instrument_token”: “NSE_EQ|INF457M01133”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 177.4,
“trade_id”: “96850683”,
“trade_date”: “2024-06-28”,
“transaction_type”: “BUY”,
“scrip_name”: “VODAFONE IDEA LTD”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 17.74,
“isin”: “INE669E01016”,
“symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 181.8,
“trade_id”: “96452644”,
“trade_date”: “2024-06-28”,
“transaction_type”: “BUY”,
“scrip_name”: “VODAFONE IDEA LTD”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 18.18,
“isin”: “INE669E01016”,
“symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”
},
{
“exchange”: “NSE”,
“segment”: “EQ”,
“option_type”: “”,
“quantity”: 10,
“amount”: 182.8,
“trade_id”: “96374941”,
“trade_date”: “2024-06-28”,
“transaction_type”: “BUY”,
“scrip_name”: “VODAFONE IDEA LTD”,
“strike_price”: “0.0”,
“expiry”: “”,
“price”: 18.28,
“isin”: “INE669E01016”,
“symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”
}
],
“metaData”: {
“page”: {
“page_number”: 1,
“page_size”: 100,
“total_records”: 30,
“total_pages”: 0
}
}
}

We have forwarded your query to the appropriate team and will provide updates on this thread as soon as we have more information.

Thank you.

@manoj.tr
A fix has been released from our side. Kindly check and let us know if it resolves the issue for you. We apologize for any inconvenience caused.

Thank you.

Hi ketan,

Thanks a lot for the fix, it working fine and data is upto date,

Keep up the good work, for such a prompt resonse and fix.

3 Likes