Skip to main content

Stock or Futures donchian breakout screener

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trendalert-0.0.5.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trendalert-0.0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file trendalert-0.0.5.tar.gz.

File metadata

  • Download URL: trendalert-0.0.5.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for trendalert-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c44ce3cd29f9cfa8ab326617803de017fd2d08a944bcba1ee38f44cb23b020e0
MD5 18bde2dbd4b89fb562ea09d15e86ae20
BLAKE2b-256 2ce3d02779217ab0e0c9aaeb3c22c24602bd44400c220db38ea5034b5dcf873e

See more details on using hashes here.

File details

Details for the file trendalert-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: trendalert-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for trendalert-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2b23e8ccb35ff7cf1ab0c2ca0b76559e37c3141f125677a1291a4af5693e71dd
MD5 e5a364ebbb5011af657ba2dc3ffef540
BLAKE2b-256 bfbab69dab0343aecc03912d88d6b05afc8893e2f9b83eefc0c648bcbd6f26bd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page