Navigation

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

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

    Bugs
    3
    3
    7
    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.
    • L
      lipupatro last edited by

      My orders or positions are not getting through the APIs today. My code was all good till yesterday, but somehow nothing seems to work today.

      L 1 Reply Last reply Reply Quote 0
      • L
        Lakshay.kh @lipupatro last edited by

        @admin facing similar issue orderbook fetching is not working

        1 Reply Last reply Reply Quote 0
        • P
          pranavjoy_18 last edited by pranavjoy_18

          @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

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