{"repo":"BennyThadikaran/SwingTrend","free":true,"listed":false,"github":"https://github.com/BennyThadikaran/SwingTrend","clone":"git clone https://github.com/BennyThadikaran/SwingTrend.git","description":"A mechanical approach to determine the trend of a stock along with breakout and reversal levels.","language":"Python","stars":27,"topics":["python3","stock-market","technical-analysis","trend-detection","swing-trading","trailing-stop-loss","algorithmic-trading","investing"],"license":"GPL-3.0","category":"trading","readme_excerpt":"SwingTrend SwingTrend provides a mechanical approach to determine the stock trend, with breakout and reversal levels. Python version: = 3.8 - Can track trends on historical as well as real-time OHLC data. - Use it as a trend indicator or screener. - Lightweight and serializable. The Class state can be saved/restored. Useful for day-to-day tracking of trends. - Timeframe agnostic - pass data from any timeframe to establish the current trend. - Linux, Windows, and Mac. No external dependencies. 90% test coverage of core functionality. If you ❤️ my work so far, please 🌟 this repo. 👽 Documentation https://bennythadikaran.github.io/SwingTrend Installation pip install swingtrend Basic Usage (As of v2.0.1 ) See the documentation for more details. Inspiration This work was inspired by youtube channel Matt Donlevey - Photon Trading . You can watch their video How To Understand Market Structure to understand some of the concepts. How the class works See simple explanation of how the program works To use the Photon method as explained in the video, instantiate the class as Swing(retrace threshold pct=None) With the Photon method, both major or minor pivots can result in trend continuation or reversal. (including a single bar pullback). I prefer avoiding the minor pivots by setting a minimum threshold percent. With an 8% threshold, the pullback must retrace atleast 8% or more to be considered a level for trend reversal or continuation.","default_branch":null,"files":null,"tree":[],"storefront":"/r/BennyThadikaran","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BennyThadikaran/SwingTrend/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}