Navigation

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

    angelSweepApp

    @angelSweepApp

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

    angelSweepApp Follow

    Best posts made by angelSweepApp

    This user hasn't posted anything yet.

    Latest posts made by angelSweepApp

    • RE: TypeError: 'NoneType' object is not subscriptable

      @T167171 I am also facing this issue. This is not with all stocks but for some stocks and random in nature. I got order id for AXISBANK but facing same issue with others. Unreliable and poor response.

      ============> {'variety': 'NORMAL', 'tradingsymbol': 'AXISBANK-EQ', 'symboltoken': '5900', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '1000', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      The order id is: 221111000785995
      221111000785995
      ============> {'variety': 'NORMAL', 'tradingsymbol': 'DHANBANK-EQ', 'symboltoken': '11359', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '14.75', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      Order placement failed: 'NoneType' object is not subscriptable
      None
      ============> {'variety': 'NORMAL', 'tradingsymbol': 'PNB-EQ', 'symboltoken': '10666', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '45.5', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      Order placement failed: 'NoneType' object is not subscriptable
      None
      ============> {'variety': 'NORMAL', 'tradingsymbol': 'YESBANK-EQ', 'symboltoken': '11915', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '16.55', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      The order id is: 221111000786002
      221111000786002
      ============> {'variety': 'NORMAL', 'tradingsymbol': 'SOUTHBANK-EQ', 'symboltoken': '5948', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '14.75', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      The order id is: 221111000786005
      221111000786005
      ============> {'variety': 'NORMAL', 'tradingsymbol': 'IDFCFIRSTB-EQ', 'symboltoken': '11184', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '58.0', 'squareoff': '0', 'stoploss': '0', 'quantity': '1'}
      Order placement failed: 'NoneType' object is not subscriptable
      None

      posted in Python SDK
      A
      angelSweepApp
    • RE: sell order not executed, received None

      @admin , Please do care to acknowledge/reply queries.

      posted in Python SDK
      A
      angelSweepApp
    • sell order not executed, received None

      Hi,

      I faced issue while placing a sell order today. Below are the parameters I used, can you tell me what is the issue here?

      11/10/2022 01:05:21 PM :: {'variety': 'NORMAL', 'tradingsymbol': 'DHANBANK-EQ', 'symboltoken': '11359', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '14.75', 'squareoff': '0', 'stoploss': '0', 'quantity': '200'}

      File "/home/ubuntu/.local/lib/python3.8/site-packages/smartapi/smartConnect.py", line 290, in placeOrder
      orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
      TypeError: 'NoneType' object is not subscriptable

      Thanks

      posted in Python SDK
      A
      angelSweepApp
    • How to fetch order status

      Hi,

      @admin , can you please help with below two queries:

      1. How to obtain statuses of all the orders for a particular stock? Possible?
      2. How to obtain status of a particular order id?

      Thanks

      posted in Python SDK
      A
      angelSweepApp
    • RE: postback testing during non-market hours

      @admin @administrators : Can one please update on this? Anybody else who can help fixing this issue? Thanks in advance.

      posted in Python SDK
      A
      angelSweepApp
    • RE: postback testing during non-market hours

      @angelSweepApp
      API key I am using is "rUfD5yxu".
      Also, I simulated sending data on the postback URL that I have configured while creating app using python "requests", I am able to get. But today, created an order through app, order got executed but didn't receive any message on postback. Can you please check?

      posted in Python SDK
      A
      angelSweepApp
    • postback testing during non-market hours

      Hi Team,

      Can we test if notifications are coming back on postback during non-market hours? If I place an order, it will be rejected, will this notification come on postback? If not, please suggest an alternate method.

      Thanks

      posted in Python SDK
      A
      angelSweepApp