How to use or implement Opening Range Breakout Strategy with EMA in real market
See original GitHub issueWhich version are you running? The lastest version is on Github. Pip is for major releases.
import pandas_ta as ta
print(ta.version)
0.1.97b
Upgrade.
$ pip install -U git+https://github.com/twopirllc/pandas-ta
Is your feature request related to a problem? Please describe. Not exactly. I want to understand how to use pandas_ta for opening range or time range breakout strategies in real market. Is it only for technical analysis or can be used in real market.
Describe the solution you’d like Some example in real market suppose I want to use it for Indian broker like Zerodha/AliceBlue/Samco who provide API and tick data. I want to create a simple opening range breakout strategy for first 15min or 30min or 1hr time. But at the same time want to check whether LTP is above EMA 21, how can I do it using pandas_ta? How to create this custom strategy and where I should use the broker API when I get a signal. I saw the jupyter notebooks there is too much information and it confuses me a lot. Simple examples can be helpful.
Thanks for using Pandas TA!
Issue Analytics
- State:
- Created 3 years ago
- Comments:24 (10 by maintainers)
Top GitHub Comments
So finally I started working on this long pending stuff. Here is my code
Hello @rahulmr,
Just came across hackingthemarkets: Fullstack Trading App repo. It contains an ORB Strategy (backtest.py) but using Alpaca API (
import alpaca_trade_api
) for trade execution. It may be a good starting point to decompose and replace Alpaca with your broker. Of course you will need to forward test on a paper/demo account and adjust it for live execution.Kind Regards, KJ