Navigation

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

    Posts made by francesca66z9

    • RE: AG8001 error, can't place order. (Can login to API, but just can't place order)

      @admin Thanks for your response. It works now! It was a small error from my side.

      posted in Test
      F
      francesca66z9
    • RE: AG8001 error, can't place order. (Can login to API, but just can't place order)

      @admin https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python
      I used this code exactly, and it gives this error:
      orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
      TypeError: 'NoneType' object is not subscriptable

      And when I try to manually send a request to the "placeOrder" route using POST method, the error I get is AG8001 error, INVALID TOKEN.

      posted in Test
      F
      francesca66z9
    • RE: AG8001 error, can't place order. (Can login to API, but just can't place order)

      @admin said in AG8001 error, can't place order. (Can login to API, but just can't place order):

      e regenerate your to

      As soon as I generate a new session, I am placing order. Still no success.

      posted in Test
      F
      francesca66z9
    • RE: AG8001 error, can't place order. (Can login to API, but just can't place order)

      @admin S456858

      posted in Test
      F
      francesca66z9
    • AG8001 error, can't place order. (Can login to API, but just can't place order)

      When I try to place market order, I get this error:

      '{"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}'

      (Also, we don't need the price in market order, right?)

      posted in Test
      F
      francesca66z9
    • How to test/paper trade my script?

      I have written a script for automated trading which uses your API. But I want to test it. Now the strategy that I have implemented uses a significant amount for even the least quantities. So how am I supposed to test it? Is there an option for testing/paper trading? If not, please suggest some ideas. (Note that modifying the strategy isn't really a viable option)

      posted in Python SDK
      F
      francesca66z9
    • RE: Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.

      @admin I am able to login to the website using those credentials, Yes.
      I had filled the form for migration yesterday, can you please approve it fast? Also, note that I don't have a sub broker. Is migration still needed?

      posted in Python SDK
      F
      francesca66z9
    • RE: Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.

      Hi, so I did all this. But when I try to login using the Demat USER ID and PASSWORD, it gives error that username and password are wrong. Please look into it.

      posted in Python SDK
      F
      francesca66z9
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      My user ID is: A683252
      Also, note that I don't have any sub brokers, but still have this problem. Please help.

      posted in General Discussion
      F
      francesca66z9
    • Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.

      So the documentations and the github page just say you need to enter API key, username and password. But what exactly are these? I found the API key after I created an app. But it also gives a secret key, what is the use of that? Also, which username and password are we talking about? I have already signed up for Angel One Brokerage account. But still not working.

      posted in Python SDK
      F
      francesca66z9