Navigation

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

    mistrymah

    @mistrymah

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

    mistrymah Unfollow Follow

    Latest posts made by mistrymah

    • unable to get option data login issue Python

      Loading from: C:\Users\admin.env
      āœ… .env updated with your actual MPIN: 7053
      šŸ” USING YOUR ACTUAL 4-DIGIT MPIN:
      API Key: 2TZz0DWI
      Client Code: M334114
      MPIN: 7053 (length: 4 digits)
      TOTP Secret: NREB6GSD7KKEOS5QOGCERGAV6Y
      šŸŽÆ Double Diagonal Calendar Strategy - 4-DIGIT MPIN VERSION

      šŸ” Logging in to SmartAPI with 4-digit MPIN...
      ā± Generated TOTP: 578587
      šŸ”‘ Using MPIN: 7053 (4 digits)
      šŸ”„ Trying MPIN endpoint...
      šŸ“” MPIN endpoint response: 200
      āŒ Login exception: Expecting value: line 1 column 1 (char 0)
      āŒ Authentication failed with 4-digit MPIN

      šŸ’” Using realistic mock data for strategy demonstration...
      šŸ”„ Using mock data for testing...
      šŸŽÆ Using expiries: 2025-11-13 (short), 2025-11-20 (long)
      šŸ“ˆ Current NIFTY LTP: 22000
      šŸ“Š Data summary - Short Calls: 16, Short Puts: 16, Long Calls: 16, Long Puts: 16
      šŸ” Evaluated 1162 combinations

      ============================================================
      āœ… DOUBLE DIAGONAL CALENDAR SUGGESTION

      Short Call: 22350 → Long Call: 22350 (Width: 0 points)
      Short Put: 22000 → Long Put: 21600 (Width: 400 points)
      Total Width: 400 points (≤ 600 āœ…)
      Strategy Score: 1.284
      Breakeven Range: ±400 points from current

      šŸ“ˆ Top 5 Call Strikes:
      call_score
      strike
      22350 0.574
      22300 0.561
      22250 0.549
      22200 0.531
      22150 0.519

      šŸ“‰ Top 5 Put Strikes:
      put_score
      strike
      22000 0.679
      22050 0.674
      21950 0.659
      22100 0.624
      21900 0.594

      posted in Python SDK
      M
      mistrymah