@admin Thanks for your response. It works now! It was a small error from my side.
francesca66z9
@francesca66z9
Hi, I'm Mark, a 50-year-old safety officer from Orlando, who enjoys road trips and often spends my weekends exploring state parks with my family.
Also visit my blog post ... all in two solar light
Best posts made by francesca66z9
Latest posts made by francesca66z9
-
RE: AG8001 error, can't place order. (Can login to API, but just can't place order)posted in Test
-
RE: AG8001 error, can't place order. (Can login to API, but just can't place order)posted in Test
@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 subscriptableAnd when I try to manually send a request to the "placeOrder" route using POST method, the error I get is AG8001 error, INVALID TOKEN.
-
RE: AG8001 error, can't place order. (Can login to API, but just can't place order)posted in Test
@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.
-
AG8001 error, can't place order. (Can login to API, but just can't place order)posted in Test
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?)
-
How to test/paper trade my script?posted in Python SDK
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)
-
RE: Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.posted in Python SDK
@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? -
RE: Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.posted in Python SDK
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.
-
RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"posted in General Discussion
My user ID is: A683252
Also, note that I don't have any sub brokers, but still have this problem. Please help. -
Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.posted in Python SDK
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.