FAQ: Smart API
-
How to get API access ?
Use following link to create and get API access.
https://smartapi.angelbroking.com/signup
After completing signup, you need to create required API or App from dashboard. After successful creation of apps, you'll receive API KEY & SECRET KEY which are required to access API.Difference between Publisher APIs, Trading APIs and Market Feeds APIs
Publisher API: Publisher API generally used to embed HTML button to buy or sell particular stock from your custom web page / website.
For more info: https://smartapi.angelbroking.com/docs/PublisherTrading APIs: Trading APIs are used to just place orders.
Market Feeds APIs: Market Feeds APIs are normally used to get live ticks (1 tick / sec) data for particular instrument or symbol.
Resources:
Documentation: https://smartapi.angelbroking.com/docs
Symbol token: https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.jsonI'll update this post time to time as soon as I discover something new.
-
Working sample code to Place Orders by using Python:
https://smartapi.angelbroking.com/topic/411/working-sample-code-to-place-orders-python
-
Backtrader is a great option. all indicators already built in it. Once just have to code test and deploy.
-
@rajanprabu
ading to above i can say inodin there was data feed available as: toexcel.
this is same.
but additional features are you can legally place order thru algo.and get other data from angel server.like open position, trade book.
one has to pay extra to people like tradetron.
or you can get front end done by some one like streamlit, backtrader, open source python library.its all about machine algo trading. fast and furious!!!
-
Basic things to consider while using Market API (for live data fee) via Python
Few things you must have to use MarketAPI successfully are:-
You must have Angel Broking account
-
Sign Up should be completed at https://smartapi.angelbroking.com/signup
-
API Key and Secret Key which you will receive after successful creation of apps (API)
-
SmartAPI Python library must be installed. https://github.com/angelbroking-github/smartapi-python
-
WebSocket Python example: https://smartapi.angelbroking.com/topic/329/working-websocket-sample-code-to-retrieve-ltp-python
Note: This is just what I learnt over my SmartAPI journey. I still have A LONG WAY TO GO
-
-
WebSocket python code to retrieve LTP for particular instrument / symbol
https://smartapi.angelbroking.com/topic/329/working-websocket-sample-code-to-retrieve-ltp-python
-
@rajanprabu Thanks for adding extra value by sharing link.
-