Skip to main content

"Developer toolkit for CANSLIM investment style practitioners"

Project description

canswim

Developer toolkit for CANSLIM investment style practitioners

Setup

pip install canswim

Install canswim package in dev mode

pip install -e ./

Command line interface

$  python -m canswim -h
usage: canswim [-h] [--forecast_start_date FORECAST_START_DATE] [--new_model NEW_MODEL] [--same_data SAME_DATA] {dashboard,gatherdata,downloaddata,uploaddata,modelsearch,train,forecast}

CANSWIM is a toolkit for CANSLIM style investors. Aims to complement the Simple Moving Average and other technical indicators.

positional arguments:
  {dashboard,gatherdata,downloaddata,uploaddata,modelsearch,train,forecast}
                        Which canswim task to run: `dashboard` for stock charting and scans of recorded forecasts. 'gatherdata` to gather 3rd party stock market data and save to HF Hub. 'downloaddata` download model training and forecast
                        data from HF Hub to local data storage. 'uploaddata` upload to HF Hub any interim changes to local train and forecast data. `modelsearch` to find and save optimal hyperparameters for model training. `train` for
                        continuous model training. `forecast` to run forecast on stocks and upload dataset to HF Hub.

options:
  -h, --help            show this help message and exit
  --forecast_start_date FORECAST_START_DATE
                        Optional argument for the `forecast` task. Indicate forecast start date in YYYY-MM-DD format. If not specified, forecast will start from the end of the target series.
  --new_model NEW_MODEL
                        Optional argument for the `train` task. Whether to train a newly created model or continue training an existing pre-trained model.
  --same_data SAME_DATA
                        Optional argument for the `dashboard` task. Whether to reuse previously created search database (faster start time) or update with new forecast data (slower start time).

NOTE: NOT FINANCIAL OR INVESTMENT ADVICE. USE AT YOUR OWN RISK.

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

canswim-0.0.15.tar.gz (50.9 kB view details)

Uploaded Source

Built Distribution

canswim-0.0.15-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

Details for the file canswim-0.0.15.tar.gz.

File metadata

  • Download URL: canswim-0.0.15.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for canswim-0.0.15.tar.gz
Algorithm Hash digest
SHA256 fa4603a949f12abf5ad819051d163077670b4c2d0fc641fbe5bedbdcf1638c25
MD5 143a7419b2881b6bb89695dcabe5f99b
BLAKE2b-256 5d534af413116f80a2be48a37d1d71a524ca75329cbffb2c80b5f698ccfd60ab

See more details on using hashes here.

File details

Details for the file canswim-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: canswim-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 54.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for canswim-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 9ee0d89f04046e3a69311d7c8d10eff67e9ac163d6d2e7db5128bf8129f55f28
MD5 ea13721c3cef339b8627287ef4502b36
BLAKE2b-256 7c6b381a6230b04a57df364a952d7d679f0dda1927b0f201f6ff48bc10bbf833

See more details on using hashes here.

Supported by

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