This module is not intended as advice to trade, it is for use in your trading analyses and algorithms. Use at your own risk.
This screener uses Donchian Channels, Average True Range, and other inputs to determine if a stock, future or other financial instrument with timeseries (OHLC) may breakout out of its defined channel.
Required data:
-Pandas dataframe containing index as datetime and columns (High, Low, Open, Close) as float -Define the number of breakout periods (default: 55 periods) -Average True Range (ATR) window (default: 14 periods) -ATR multiple (default: 1.5)- sensitivy used to determine a level at which the alert will provide a positive signal
The response returned is a tuple of the signal and a plotly chart: (signal, chart) create_chart=False is default. The signal is one of three options: 1, -1, 0
1 - Possbile breakout to go long -1 - Possible breakuot to go short 0 - Too far from either price channel
Dependencies:
-pandas -ta -plotly
Release files for trendalert 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trendalert-0.0.5.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trendalert-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / trendalert-0.0.5.tar.gz
| Download URL | trendalert-0.0.5.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c44ce3cd29f9cfa8ab326617803de017fd2d08a944bcba1ee38f44cb23b020e0
|
|
BLAKE2b-256 checksum How to use checksums |
2ce3d02779217ab0e0c9aaeb3c22c24602bd44400c220db38ea5034b5dcf873e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
|
Release files / trendalert-0.0.5-py3-none-any.whl
| Download URL | trendalert-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b23e8ccb35ff7cf1ab0c2ca0b76559e37c3141f125677a1291a4af5693e71dd
|
|
BLAKE2b-256 checksum How to use checksums |
bfbab69dab0343aecc03912d88d6b05afc8893e2f9b83eefc0c648bcbd6f26bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
|