Skip to main content

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 attempts to find range bound markets based on given inputs.

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)- sensitivity used to determine a level at which the alert will provide a range signal

Response:

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, 0

  • 1 - trading in a range
  • 0 - not trading in a range

Dependencies:

  • pandas
  • ta
  • plotly

Install module:

https://pypi.org/project/rangealert/

pip install rangealert

Detailed documentation:

https://github.com/jonleonATX/range_trading_alert/blob/master/rangealert.ipynb

Release files for rangealert 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rangealert 0.0.1
File Size Uploaded
rangealert-0.0.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rangealert 0.0.1
File Interpreter ABI Platform
rangealert-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / rangealert-0.0.1.tar.gz

Download URL rangealert-0.0.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f49f25d69449169b4777a5f076d3ca58470e7fcce2122c0b566a63a613e782e2
BLAKE2b-256 checksum
How to use checksums
b83943f77b38b87b6517b895531ff916306fc1abdf757d2a4d429184bcb7e13d
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 / rangealert-0.0.1-py3-none-any.whl

Download URL rangealert-0.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ebb41f9df7fa6e365324cadef9d5274292aee089f3d592c0835bb5d33d40436
BLAKE2b-256 checksum
How to use checksums
436bb1e489043d78637596698414830aeb314625e359a747d0161db8f11ae165
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 history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page