Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    backtesting error

    General Discussion
    0
    5
    13
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      swathi priya last edited by

      @moderator please look into this
      top 5 gap stocks on 2022-07-21 00:00:00
      INDUSINDBK 2.695326
      TECHM 1.960784
      dtype: float64
      top 5 gap stocks on 2022-07-22 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-07-25 00:00:00
      INFY 1.739361
      ULTRACEMCO 1.698484
      JSWSTEEL 1.536613
      dtype: float64
      top 5 gap stocks on 2022-07-26 00:00:00
      BAJAJFINSV 3.014359
      dtype: float64
      top 5 gap stocks on 2022-07-27 00:00:00
      UPL 1.562608
      dtype: float64
      top 5 gap stocks on 2022-07-28 00:00:00
      TATASTEEL 2.251407
      BAJFINANCE 1.964402
      INFY 1.723259
      HINDUNILVR 1.667344
      BAJAJFINSV 1.502206
      dtype: float64
      top 5 gap stocks on 2022-07-29 00:00:00
      SBILIFE 5.980108
      TATASTEEL 2.640757
      BAJAJFINSV 2.444322
      DRREDDY 1.809838
      TECHM 1.637765
      dtype: float64
      top 5 gap stocks on 2022-08-01 00:00:00
      TATASTEEL 2.695167
      M&M 2.142642
      UPL 1.605721
      dtype: float64
      top 5 gap stocks on 2022-08-02 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-03 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-04 00:00:00
      HINDALCO 3.077852
      TATACONSUM 2.516149
      dtype: float64
      top 5 gap stocks on 2022-08-05 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-08 00:00:00
      BPCL 2.05113
      dtype: float64
      top 5 gap stocks on 2022-08-10 00:00:00
      HEROMOTOCO 1.714724
      NTPC 1.568381
      dtype: float64
      top 5 gap stocks on 2022-08-11 00:00:00
      EICHERMOT 3.215990
      BAJAJFINSV 1.833384
      WIPRO 1.824945
      INFY 1.719242
      TECHM 1.592115
      dtype: float64
      top 5 gap stocks on 2022-08-12 00:00:00
      APOLLOHOSP 1.796982
      dtype: float64
      top 5 gap stocks on 2022-08-16 00:00:00
      DIVISLAB 1.712200
      M&M 1.679304
      HEROMOTOCO 1.560520
      dtype: float64
      top 5 gap stocks on 2022-08-17 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-18 00:00:00
      DRREDDY 1.758613
      dtype: float64
      top 5 gap stocks on 2022-08-19 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-22 00:00:00
      KOTAKBANK 2.666489
      dtype: float64
      top 5 gap stocks on 2022-08-23 00:00:00
      INDUSINDBK 2.099886
      INFY 1.754831
      TECHM 1.548160
      dtype: float64
      top 5 gap stocks on 2022-08-24 00:00:00
      BHARTIARTL 1.999729
      dtype: float64
      top 5 gap stocks on 2022-08-25 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-08-26 00:00:00
      M&M 1.607589
      dtype: float64
      top 5 gap stocks on 2022-08-29 00:00:00
      HINDALCO 4.999432
      SBILIFE 4.392175
      TECHM 3.643314
      HCLTECH 3.494951
      INFY 3.483290
      dtype: float64
      top 5 gap stocks on 2022-08-30 00:00:00
      BAJAJFINSV 1.887309
      TATASTEEL 1.573677
      dtype: float64
      top 5 gap stocks on 2022-09-01 00:00:00
      EICHERMOT 3.505769
      HINDALCO 3.416856
      SBILIFE 2.859078
      ICICIBANK 2.738645
      ONGC 2.597403
      dtype: float64
      top 5 gap stocks on 2022-09-02 00:00:00
      BAJAJFINSV 1.658011
      dtype: float64
      top 5 gap stocks on 2022-09-05 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-06 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-07 00:00:00
      HINDALCO 1.554705
      dtype: float64
      top 5 gap stocks on 2022-09-08 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-09 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-12 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-13 00:00:00
      HDFCLIFE 4.571774
      BAJAJFINSV 2.403417
      dtype: float64
      top 5 gap stocks on 2022-09-14 00:00:00
      WIPRO 3.229623
      INFY 3.103660
      TECHM 3.089459
      TCS 2.921641
      HINDALCO 2.439024
      dtype: float64
      top 5 gap stocks on 2022-09-15 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-16 00:00:00
      TECHM 1.66205
      dtype: float64
      top 5 gap stocks on 2022-09-19 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-20 00:00:00
      ADANIPORTS 1.521467
      dtype: float64
      top 5 gap stocks on 2022-09-21 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-22 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-23 00:00:00
      TATASTEEL 2.509653
      dtype: float64
      top 5 gap stocks on 2022-09-26 00:00:00
      RELIANCE 1.862989
      M&M 1.752731
      TATAMOTORS 1.678090
      HINDALCO 1.602119
      dtype: float64
      top 5 gap stocks on 2022-09-27 00:00:00
      POWERGRID 2.462825
      TATAMOTORS 1.610063
      TATASTEEL 1.502253
      dtype: float64
      top 5 gap stocks on 2022-09-28 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-09-29 00:00:00
      TATAMOTORS 2.981709
      TATASTEEL 1.890756
      INDUSINDBK 1.674117
      HINDALCO 1.663202
      BAJFINANCE 1.527247
      dtype: float64
      top 5 gap stocks on 2022-09-30 00:00:00
      GRASIM 1.642635
      dtype: float64
      top 5 gap stocks on 2022-10-03 00:00:00
      ONGC 3.864353
      EICHERMOT 2.979627
      MARUTI 1.606792
      dtype: float64
      top 5 gap stocks on 2022-10-04 00:00:00
      HINDALCO 3.950650
      SBIN 2.549303
      ADANIPORTS 2.498725
      ADANIENT 2.302600
      BAJFINANCE 2.275579
      dtype: float64
      top 5 gap stocks on 2022-10-06 00:00:00
      HINDALCO 2.017510
      ONGC 1.941748
      dtype: float64
      top 5 gap stocks on 2022-10-07 00:00:00
      TITAN 3.746842
      dtype: float64
      top 5 gap stocks on 2022-10-10 00:00:00
      TATAMOTORS 2.123013
      WIPRO 1.911296
      ASIANPAINT 1.905075
      HINDALCO 1.848699
      CIPLA 1.813357
      dtype: float64
      top 5 gap stocks on 2022-10-11 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-10-12 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-10-13 00:00:00
      WIPRO 5.135433
      HINDALCO 2.698651
      HCLTECH 2.106092
      dtype: float64
      top 5 gap stocks on 2022-10-14 00:00:00
      INFY 4.584830
      ICICIBANK 3.537957
      HDFCLIFE 2.640930
      ADANIPORTS 2.453011
      HINDALCO 2.415639
      dtype: float64
      top 5 gap stocks on 2022-10-17 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-10-18 00:00:00
      WIPRO 2.292722
      dtype: float64
      top 5 gap stocks on 2022-10-19 00:00:00
      Series([], dtype: float64)
      top 5 gap stocks on 2022-10-20 00:00:00
      HINDALCO 1.870356
      dtype: float64
      top 5 gap stocks on 2022-10-21 00:00:00
      AXISBANK 4.147242
      dtype: float64
      [E 240531 11:57:49 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '910', 'interval': 'FIVE_MINUTE', 'fromdate': '2021-11-04 09:15', 'todate': '2021-11-04 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      EICHERMOT 2021-11-04 00:00:00
      [E 240531 12:00:19 smartConnect:218] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB', 'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VybmFtZSI6IlM1OTMzNTgwNiIsInJvbGVzIjowLCJ1c2VydHlwZSI6IlVTRVIiLCJ0b2tlbiI6ImV5SmhiR2NpT2lKSVV6VXhNaUlzSW5SNWNDSTZJa3BYVkNKOS5leUp6ZFdJaU9pSlROVGt6TXpVNE1EWWlMQ0psZUhBaU9qRTNNVGN5TWpjeU16Z3NJbWxoZENJNk1UY3hOekV6TmpJMk1Td2lhblJwSWpvaU5USTBNVFkzTWpRdE9HTTFaQzAwWVdJMkxXRmtNVFl0WTJZNE5ETmhNbU5oTnpGaUlpd2liMjF1WlcxaGJtRm5aWEpwWkNJNk1Td2ljMjkxY21ObGFXUWlPaUl6SWl3aWRYTmxjbDkwZVhCbElqb2lZMnhwWlc1MElpd2lkRzlyWlc1ZmRIbHdaU0k2SW5SeVlXUmxYMkZqWTJWemMxOTBiMnRsYmlJc0ltZHRYMmxrSWpveExDSnpiM1Z5WTJVaU9pSXpJaXdpWkdWMmFXTmxYMmxrSWpvaU5EWTVOVFptWVdZdE1UWTNOUzB6T1dZNUxXSm1PVFV0TVRGaU56Tm1Zall6TWpSbUlpd2lZV04wSWpwN2ZYMC5FT2FreklSMVhCMTlXWFhnYTdxeVJzb0dLS3RJMW9iWEtLemNsc19BS1AtZEhGVWZscVNMcm1Wc05JWFlYcWkyQ2lFendlZ1ViMDhBMDBpWklxV2U3QSIsIkFQSS1LRVkiOiJ0ZTJXcjlmSSIsImlhdCI6MTcxNzEzNjMyMSwiZXhwIjoxNzE3MjI3MjM4fQ.sugV1uP9RiE9wKXVYfiDTYZ9QjjDNyJCkcWn2gWMJVGkfkSTiE2z6g9WDCTDaQuDrm7FPC-_rgZYJl27AaE9iQ'}, Request: {'exchange': 'NSE', 'symboltoken': '14977', 'interval': 'FIVE_MINUTE', 'fromdate': '2021-12-22 09:15', 'todate': '2021-12-22 15:30'}, Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
      POWERGRID 2021-12-22 00:00:00
      [E 240531 12:00:45 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '16675', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-06 09:15', 'todate': '2022-01-06 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      BAJAJFINSV 2022-01-06 00:00:00
      [E 240531 12:00:46 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '7229', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-06 09:15', 'todate': '2022-01-06 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      HCLTECH 2022-01-06 00:00:00
      [E 240531 12:00:48 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '11536', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-10 09:15', 'todate': '2022-01-10 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      TCS 2022-01-10 00:00:00
      [E 240531 12:00:50 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '25', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-12 09:15', 'todate': '2022-01-12 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      ADANIENT 2022-01-12 00:00:00
      [E 240531 12:00:51 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '1363', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-12 09:15', 'todate': '2022-01-12 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      HINDALCO 2022-01-12 00:00:00
      [E 240531 12:00:53 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '3351', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-12 09:15', 'todate': '2022-01-12 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      SUNPHARMA 2022-01-12 00:00:00
      [E 240531 12:00:56 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '3787', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-13 09:15', 'todate': '2022-01-13 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      WIPRO 2022-01-13 00:00:00
      [E 240531 12:00:58 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '11536', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-13 09:15', 'todate': '2022-01-13 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      TCS 2022-01-13 00:00:00
      [E 240531 12:01:00 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '10999', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-01-14 09:15', 'todate': '2022-01-14 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      MARUTI 2022-01-14 00:00:00
      [E 240531 12:15:48 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '11532', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-07-25 09:15', 'todate': '2022-07-25 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      ULTRACEMCO 2022-07-25 00:00:00
      [E 240531 12:15:50 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '11723', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-07-25 09:15', 'todate': '2022-07-25 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      JSWSTEEL 2022-07-25 00:00:00
      [E 240531 12:15:52 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '16675', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-07-26 09:15', 'todate': '2022-07-26 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      BAJAJFINSV 2022-07-26 00:00:00
      [E 240531 12:15:53 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '11287', 'interval': 'FIVE_MINUTE', 'fromdate': '2022-07-27 09:15', 'todate': '2022-07-27 15:30'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      UPL 2022-07-27 00:00:00

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 @swathi priya last edited by

        Hello @swathi-priya

        Can you please make double quote(" ") for every keys and values in your request body instead of single quote(' ') then try

        Regards,
        SmartAPI Team

        S 3 Replies Last reply Reply Quote 0
        • S
          swathi priya @Moderator_3 last edited by

          @Moderator_3 I am already using that double quote only but still I am facing that issue

          1 Reply Last reply Reply Quote 0
          • S
            swathi priya @Moderator_3 last edited by

            @Moderator_3 runcell(0, 'C:/Users/kswat/Downloads/orb_bktst (2).py')
            [I 240531 20:01:01 smartConnect:121] in pool
            [E 240531 20:01:09 smartConnect:218] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'a9:31:1f:9d:a7:f3', 'Accept': 'application/json', 'X-PrivateKey': 'te2Wr9fI', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'clientcode': 'S59335806', 'password': '1904', 'totp': '243332'}, Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)
            Traceback (most recent call last):

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:467 in _make_request
            self._validate_conn(conn)

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:1092 in _validate_conn
            conn.connect()

            File ~\anaconda3\Lib\site-packages\urllib3\connection.py:635 in connect
            sock_and_verified = _ssl_wrap_socket_and_match_hostname(

            File ~\anaconda3\Lib\site-packages\urllib3\connection.py:776 in _ssl_wrap_socket_and_match_hostname
            ssl_sock = ssl_wrap_socket(

            File ~\anaconda3\Lib\site-packages\urllib3\util\ssl_.py:466 in ssl_wrap_socket
            ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)

            File ~\anaconda3\Lib\site-packages\urllib3\util\ssl_.py:510 in _ssl_wrap_socket_impl
            return ssl_context.wrap_socket(sock, server_hostname=server_hostname)

            File ~\anaconda3\Lib\ssl.py:517 in wrap_socket
            return self.sslsocket_class._create(

            File ~\anaconda3\Lib\ssl.py:1108 in _create
            self.do_handshake()

            File ~\anaconda3\Lib\ssl.py:1383 in do_handshake
            self._sslobj.do_handshake()

            TimeoutError: _ssl.c:989: The handshake operation timed out

            The above exception was the direct cause of the following exception:

            Traceback (most recent call last):

            File ~\anaconda3\Lib\site-packages\requests\adapters.py:486 in send
            resp = conn.urlopen(

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:844 in urlopen
            retries = retries.increment(

            File ~\anaconda3\Lib\site-packages\urllib3\util\retry.py:470 in increment
            raise reraise(type(error), error, _stacktrace)

            File ~\anaconda3\Lib\site-packages\urllib3\util\util.py:39 in reraise
            raise value

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:790 in urlopen
            response = self._make_request(

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:491 in _make_request
            raise new_e

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:469 in _make_request
            self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)

            File ~\anaconda3\Lib\site-packages\urllib3\connectionpool.py:370 in _raise_timeout
            raise ReadTimeoutError(

            ReadTimeoutError: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

            During handling of the above exception, another exception occurred:

            Traceback (most recent call last):

            File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
            exec(code, globals, locals)

            File c:\users\kswat\downloads\orb_bktst (2).py:16
            data = obj.generateSession(key_secret[2],key_secret[3],TOTP(key_secret[4]).now())

            File ~\anaconda3\Lib\site-packages\SmartApi\smartConnect.py:268 in generateSession
            loginResultObject=self._postRequest("api.login",params)

            File ~\anaconda3\Lib\site-packages\SmartApi\smartConnect.py:260 in _postRequest
            return self._request(route, "POST", params)

            File ~\anaconda3\Lib\site-packages\SmartApi\smartConnect.py:219 in _request
            raise e

            File ~\anaconda3\Lib\site-packages\SmartApi\smartConnect.py:207 in _request
            r = requests.request(method,

            File ~\anaconda3\Lib\site-packages\requests\api.py:59 in request
            return session.request(method=method, url=url, **kwargs)

            File ~\anaconda3\Lib\site-packages\requests\sessions.py:589 in request
            resp = self.send(prep, **send_kwargs)

            File ~\anaconda3\Lib\site-packages\requests\sessions.py:703 in send
            r = adapter.send(request, **kwargs)

            File ~\anaconda3\Lib\site-packages\requests\adapters.py:532 in send
            raise ReadTimeout(e, request=request)

            ReadTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

            now this is the error that is occuring

            1 Reply Last reply Reply Quote 0
            • S
              swathi priya @Moderator_3 last edited by

              @Moderator_3 hi i have tried that but I am still getting this error

              1 Reply Last reply Reply Quote 0
              • First post
                Last post