Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. abhijitpa1992
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 5
    • Best 3
    • Groups 0

    Topics created by abhijitpa1992

    • A

      smartAPI.optionGreek not able to fetch data
      Python SDK • • abhijitpa1992

      4
      0
      Votes
      4
      Posts
      39
      Views

      S

      I am also facing the same issue..not fetching option greek data... Pls check if the syntax is correct.

      orderparams = {
      "name": "BANKNIFTY18SEP2451800CE",
      "expiry": "18SEP2024"
      }
      optionGreek=smartApi.optionGreek(orderparams)
      logger.info(f"OptionGreek : {optionGreek}")

      [E 240913 15:55:53 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/marketData/v1/optionGreek. Error: Invalid expiry date. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/marketData/v1/optionGreek, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': '80:81:1f:ea:10:7c', 'Accept': 'application/json', 'X-PrivateKey': 'A6m1pZof', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'name': 'BANKNIFTY18SEP2451800CE', 'expiry': '18SEP2024'}, Response: {'message': 'Invalid expiry date', 'errorcode': 'AB9022', 'status': False, 'data': None}

    • A

      {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
      Test • • abhijitpa1992

      3
      1
      Votes
      3
      Posts
      15
      Views

      A

      @Moderator_1 Thank you. The issue got resolved

    • A

      Api Response: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
      Test • • abhijitpa1992

      1
      1
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • A

      Not able to create 2 web socket sessions
      Python SDK • • abhijitpa1992

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied