Navigation

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

    Angel one is not reliable for algo trading: getCandleData() method is returning wrong data than there own website's data

    Python SDK
    0
    1
    71
    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.
    • N
      N51542847 last edited by

      Hi @admin

      getCandleData() method is returning wrong data. Ideally, Trading API should not return different data than there actual website.

      If we check API output data of BANKNIFTY chart (35014 BANKNIFTY31AUG23FUT BANKNIFTY) on 28-Aug,23 at 13:05, getCandleData() method is returning 44522.00 value though actual value on Angelone website is 44516.85

      Because of wrong data return from getCandleData() API, my algo has taken wrong trade and lost money.

      Here is proof to justify it.

      Sample code -
      6dd9c579-1e10-4324-a8c9-0dae488c240f-image.png

      Output:
      5912a87b-1464-421f-a131-ceb1cada8e5d-image.png

      Algo Trading chart data:

      1dd0dfe4-0333-42e0-a198-4e33a9baf2c5-image.png

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