Navigation

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

    Topics created by lipupatro

    • L

      orders are not getting executed through the API endpoints, neither the positions are retrieved through the API
      Bugs • • lipupatro  

      3
      0
      Votes
      3
      Posts
      19
      Views

      P

      @admin Facing similar issue , although this is the first time I am trying to place order via SmartAPI. Attaching curl request , replaced my sensitive credentials with placeholder values : curl -X POST "https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/placeOrder" \ -H "Authorization: Bearer AUTH_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "X-UserType: USER" \ -H "X-SourceID: WEB" \ -H "X-ClientLocalIP: 127.0.0.1" \ -H "X-ClientPublicIP: PUBLIC_IP" \ -H "X-MACAddress: MAC_ADDRESS" \ -H "X-PrivateKey: PRIVATE_KEY" \ -d '{ "variety": "NORMAL", "tradingsymbol": "BANKNIFTY30MAR2658300CE", "symboltoken": "52534", "transactiontype": "BUY", "exchange": "NFO", "ordertype": "MARKET", "producttype": "CARRYFORWARD", "duration": "DAY", "quantity": "30", "price": "0", "triggerprice": "0", "disclosedquantity": "0", "ordertag": "test-order", "scripconsent": "yes" }' Getting response as {"success":false,"data":""} No idea on what's wrong , no direction on debugging the same
    • L

      Websocket closing frequently
      Python SDK • • lipupatro  

      2
      0
      Votes
      2
      Posts
      39
      Views

      A

      dear @pavank we are working on it we will update you on this.
    • L

      token's validity period
      General Discussion • • lipupatro  

      10
      0
      Votes
      10
      Posts
      167
      Views

      I

      @admin we are login using smartapi (userID, Password, TOTP). For a day it is working fine, but next day we are generating refresh token using previously login accessToken then it is not working API connection going failed. Please help when we can call refresh token to avoid stop API call. I don't want login everyday it should happen using api like KITE API.