Navigation

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

    Posts made by pranavjoy_18

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

      @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

      posted in Bugs
      P
      pranavjoy_18
    • Please migrade my account

      Please migrade my account

      posted in Bugs
      P
      pranavjoy_18