Navigation

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

    Posts made by ForumUser_1

    • RE: Option sell with stop loss price API

      @nehasrivastava strange it works for me as per expectation

      posted in General Discussion
      F
      ForumUser_1
    • RE: Option sell with stop loss price API

      @nehasrivastava you can see here
      https://smartapi.angelbroking.com/docs/Orders
      triggerprice The price at which an order should be triggered (SL, SL-M)

      posted in General Discussion
      F
      ForumUser_1
    • RE: Option sell with stop loss price API

      @nehasrivastava you need to give params like below:
      order_type='STOPLOSS_LIMIT'
      variety='STOPLOSS'
      triggerprice=sl trigger price
      price=limit price (or 0.0 for SL-M order)

      I did not give anything for "stoploss" and "squareoff" parameter

      posted in General Discussion
      F
      ForumUser_1
    • Basket order feature?

      Can you please add a simple basket order feature so that for placing multiple orders at once (like a straddle) we can do it easily? Currently an API call for placing order takes 1s which is too high.

      posted in General Discussion
      F
      ForumUser_1
    • RE: Time delay in placing orders

      @daytrader I have also tested it, making an API call for place order or modify order takes almost 1s which is too much. And they do not even have the basket order feature, so for multiple orders, either we have to do serially or use multi threading. It would be good if this much latency could be reduced.

      posted in General Discussion
      F
      ForumUser_1
    • RE: SSLError : certificate verify failed: unable to get local issuer certificate (

      @daytrader - how to update the cache of certificates locally?
      @admin - can you resolve this issue today itself? I am sure lot of users will be unhappy if they face it on Monday.

      posted in Python SDK
      F
      ForumUser_1
    • RE: Validity of token generated

      thanks @Ashok - do you also know how long is the token valid for? @admin

      posted in General Discussion
      F
      ForumUser_1
    • Validity of token generated

      For how long is the token valid? If I generate it at 9am, then will it be valid till 3.30pm? Or do I need to generate intraday again? Also - the token won't get invalidated if I login on app/website?

      posted in General Discussion
      F
      ForumUser_1
    • RE: not able to place stop loss order

      @admin - as discussed on call, there seems to be some issue with python sdk for SL orders. Please get this rectified.

      posted in General Discussion
      F
      ForumUser_1
    • RE: not able to place stop loss order

      @admin - thanks, I still get an issue though:

      order=create_order('NIFTY31DEC2014800CE','41772','BUY','75',order_type='STOPLOSS_LIMIT',trigger_price='2.0',limit_price='2.1',variety='STOPLOSS')
      order_id=obj.placeOrder(ce_sl_order)
      

      I check order status and it has below error message in 'text' field of order:
      16408 : Trigger price entered has invalid characters

      posted in General Discussion
      F
      ForumUser_1
    • RE: not able to place stop loss order

      @admin - hi can anyone help with an example please? what params I need to send for SL-Limit order? Thanks.

      posted in General Discussion
      F
      ForumUser_1
    • not able to place stop loss order

      Can you please check if I am giving correct parameters? I want to place SL buy order with trigger price 119 and limit price 120 (for example).

      sl_order= {
                  "variety": 'NORMAL',
                  "tradingsymbol": 'NIFTY31DEC2013750CE',
                  "symboltoken": '39992',
                  "transactiontype": 'BUY',
                  "exchange": "NFO",
                  "ordertype": 'SL',
                  "producttype": "INTRADAY",
                  "duration": "DAY",
                  "quantity": '75',
                  "price": '120.0',
                  "trigger_price": '119.0',
                  "squareoff": "0",
                  "stoploss": "1",
                  }
      obj.placeOrder(sl_order)
      

      I get this response:
      12175059-464c-40c4-91cf-7bd729818cdc-image.png

      posted in General Discussion
      F
      ForumUser_1
    • RE: Authentication: AB1007 and Mac Format

      @A224819 the issue with pycharm could be python path which it is using. Maybe try using different environment altogether like Spyder or jupyter? who knows it may work there. By the way, if you just follow startup guide on git page, that should get you going (instead of getting headers/mac address etc.)

      posted in Python SDK
      F
      ForumUser_1
    • RE: Smart API Access token is getting expired when logged into angelbroking.com

      @admin hi - do you have any ETA when this feature will be enabled? It is kind of a blocker. I assume lot of users would like to monitor their positions time to time even if using API for placing trades.

      posted in Python SDK
      F
      ForumUser_1