Navigation

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

    GTT orders are failing

    Python SDK
    1
    1
    5
    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.
    • R
      rakeshkr114 last edited by

      Hi @admin ,
      On call to smartApi.gttModifyRule() method with payload={'id': '8405808', 'symboltoken': '505283', 'exchange': 'BSE', 'price': '1623.80', 'triggerprice': '1631.95', 'qty': '3'}

      Getting Error:
      python3.9/site-packages/SmartApi/smartConnect.py", line 430, in gttModifyRule
      return modifyGttRuleResponse['data']['id']
      KeyError: 'data'

      Getting this error from past few days. Same code was working fine before. Please check once?

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