Navigation

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

    nshekhar

    @nshekhar

    0
    Reputation
    4
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nshekhar Follow

    Best posts made by nshekhar

    This user hasn't posted anything yet.

    Latest posts made by nshekhar

    • Not able to get the orders and trade details

      I am trying to get the orders and trade details but getting following error, Can someone help me for this.

      Exception has occurred: gaierror
      [Errno 11001] getaddrinfo failed

      conn = http.client.HTTPSConnection(
      "apiconnect.angelbroking.com "
      )

      headers = {
      'Authorization': 'Bearer Autorization token',
      'Content-Type': 'application/json',
      'Accept': 'application/json',
      'X-UserType': 'USER',
      'X-SourceID': 'WEB',
      'X-ClientLocalIP': CLIENT_LOCAL_IP,
      'X-ClientPublicIP': external_ip,
      'X-MACAddress': mac_Address,
      'X-PrivateKey': api_key
      }

      posted in Python SDK
      N
      nshekhar
    • RE: How to buy an order on market price

      Thanks, I am able to get the data

      posted in General Discussion
      N
      nshekhar
    • RE: Order Placing API return no response

      @admin
      I am also not able to place the order using above request. Please help me..

      posted in General Discussion
      N
      nshekhar
    • How to buy an order on market price

      How to buy an order on market price. I am using the below params for buying on market price.

      orderparams = {
      "variety": "NORMAL",
      "tradingsymbol": shareName + "-EQ",
      "symboltoken": "3045",
      "transactiontype": "BUY",
      "exchange": "NSE",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "squareoff": "0",
      "stoploss": "0",
      "quantity": "1"
      }

      posted in General Discussion
      N
      nshekhar