https://github.com/ashton-sidhu/regression-channel-algo
Regression Channel Trading Algorithm for Stocks
https://github.com/ashton-sidhu/regression-channel-algo
Last synced: 3 months ago
JSON representation
Regression Channel Trading Algorithm for Stocks
- Host: GitHub
- URL: https://github.com/ashton-sidhu/regression-channel-algo
- Owner: Ashton-Sidhu
- Created: 2018-10-06T04:09:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T21:50:10.000Z (over 6 years ago)
- Last Synced: 2025-01-20T00:53:27.708Z (4 months ago)
- Language: Python
- Homepage:
- Size: 4.62 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Regression Channel Algo
Note
The Regression Channel Algorithm can be used to trade many assets.
However, if the asset is priced close to zero, the assymetry of the lognormal stock price distribution will become strong
To trade assets close to zero (e.g. penny stocks), take the log of the price before calculating the Z_value indicator.
Taking the log of a lognormal variable converts it to a normal variable. The assets are then traded based on whether the stock has crossed the channel threshold.Notes:
- If prices are not normally distributed this algorithms will not be as effective
- When crossing the channel we do not accumulate positions (i.e. once we cross the channel we will buy or short the asset and will hold it until it time to sell)