Navigation

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

    Ontail

    @Ontail

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

    Ontail Unfollow Follow

    Latest posts made by Ontail

    • There is a code error in Python SDK.

      https://github.com/angelbroking-github/smartapi-python

      obj=SmartConnect(api_key="your api key",
      #optional
      #access_token = "your access token",
      #refresh_token = "your refresh_token") <-error

      the closing round bracket is commented out, i suggest rectifying the code.

      posted in Test
      O
      Ontail
    • Python place order is returning an error.

      I'm trying to place a order via API and my script is returning me an error.

      refreshToken= ['data']['refreshToken']
      ^
      Syntaxerror: 'invalid synatx'

      posted in Python SDK
      O
      Ontail
    • Does placing a "normal" sell order, close the position we've bought?

      So if i have bought 100 quantities of SBIN and later i make a sell API request

      which looks something like this

      {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"SELL",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"100"
      }

      will this close or exit my existing order?

      posted in Python SDK
      O
      Ontail
    • How to send raw HTTP calls to place and modify orders?

      I dont want to use any SDK, how do i do it?

      posted in General Discussion
      O
      Ontail
    • Is it possible to update stoploss multiple times after the order execution?

      Is it possible to update stoploss multiple times after the order execution?

      posted in General Discussion
      O
      Ontail