Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Mitrajit
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Mitrajit

    @Mitrajit

    0
    Reputation
    3
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Mitrajit Follow

    Best posts made by Mitrajit

    This user hasn't posted anything yet.

    Latest posts made by Mitrajit

    • RE: How to get old expiry dates of banknifty and nifty for backtesting?

      @Moderator_3
      Thank you for your reply.

      Got your point. But then how some algo platforms backtesting their strategies and providing the P&L and other reports? Is their any other way to do it? Please suggest. I'm completely new in this.

      Thank you.

      posted in Python SDK
      M
      Mitrajit
    • How to fetch old expiry dates using python sdk?

      Hi,

      For backtesting a banknifty strategy I need to know the ltp of a particular strike price. And also I have required the token, symbol and expiry date for getting ltp. But I don not know how to get old expiry dates.

      Please show me the way how to get it.

      Thank you.

      posted in Python SDK
      M
      Mitrajit
    • How to get old expiry dates of banknifty and nifty for backtesting?

      Hi,

      I'm writing a banknifty strategy in python. In the running market I'm getting current expiry dates as well as future expiry dates from the below link -- https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      But I need the old expiry dates for backtesting which are already past.
      For getting ltp I need to prepare the tradingsymbol (BANKNIFTY19JUN2450000PE) which consist of symbol, expiry date, strike price and CE/PE which will return me the token.

      Using token and tradingsymbol we can get the ltp from the API.

      But unfortunately I couldn't find any solution to get the old expiry dates. Please help to sot out this problem.

      Thank you.

      posted in Python SDK
      M
      Mitrajit