Navigation

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

    getCandleData returns none

    Python SDK
    0
    1
    15
    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.
    • P
      P81994 last edited by

      following code returns none for equity token

      try:
      	historicParam={
      	"exchange": "NSE",
      	"symboltoken": "3045",
      	"interval": "ONE_MINUTE",
      	"fromdate": "2023-01-11 09:15", 
      	"todate": "2023-01-12 11:30"
      	}
      	smartAPI.getCandleData(historicParam)
      except Exception as e:
      	print("Historic Api failed: {}".format(e.message))
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post