Skip to main content

Python module to get kernel information via OS specific CLI commands

Project description

PyTradingBot

PyTradingBot is a python based trading bot API.

Python

Platform

pypi

Pypi Pypi-format Pypi-status

Summary

PyTradingBot is a python based trading bot API based on FinViz screener fields, and Yahoo finance.

Installation

pip install PyTradingBot

Usage

Initiate - IDE

from pytradingbot.server import start

if __name__ == '__main__':
    start()

Initiate - CLI

pytradingbot start

Use pytradingbot --help for usage instructions.

Background Scheduler

The API runs a background async scheduler that triggers scans automatically (EST) and stores each run in the existing shelve DB.

Default schedule:

  • Pre-Market (04:00-09:30): every 15 minutes
  • Market Open (09:30-10:30): every 5 minutes
  • Mid Day (10:30-14:00): every 30 minutes
  • Power Hour (14:00-16:00): every 5 minutes
  • After Hours (16:00-20:00): once at 16:15

You can override these rules from the Dashboard Schedule tab, or through:

  • GET /schedule to read current/default config
  • POST /schedule to save overrides

Containerized

Build

docker build -t pytradingbot .

Run

docker run --name pytradingbot -p 5005:5005 -e PORT=5005 pytradingbot

Release Notes

Requirement

python -m pip install gitverse

Usage

gitverse-release reverse -f release_notes.rst -t 'Release Notes'

Linting

pre-commit will ensure linting

Requirement

python -m pip install pre-commit

Usage

pre-commit run --all-files

Pypi Package

pypi-module

https://pypi.org/project/PyTradingBot/

License & copyright

© Vignesh Rao

Licensed under the MIT License

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pytradingbot-0.0.2-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file pytradingbot-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pytradingbot-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for pytradingbot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4faaad7b4c4e724fae70dfcae08d78a62d2b901b4e36bd61064334fe25339a0
MD5 478b283aa1d5284b644a0c4971b4b9c8
BLAKE2b-256 7084546a8a7f17d63a23f5ae5ccd82e4c21e5809a139464848c174c00a37cd1c

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