Skip to main content

Stock for Sloth.

Project description

SlothStock

PyPI version PyPI license Python Versions Downloads

Stock for Sloth.

Read this in other languages: English, 简体中文.

Getting Started

Installation

pip install -U slothstock

Usage

$ sloth-buy -h

usage: sloth-buy [-h] [--daemon] [--interval INTERVAL] [--ignore-empty]
                 [--output OUTPUT] [-V] [--ebk EBK] [--period PERIOD]
                 [--reserve-st] [--reserve-suspend] [--strict] [-C] [-G]
                 [--title TITLE] [--token TOKEN] [--topic-ids TOPIC_IDS]
                 [--uids UIDS]

optional arguments:
  -h, --help            show this help message and exit
  --daemon
  --interval INTERVAL
  --ignore-empty
  --output OUTPUT
  -V, --version         show program's version number and exit

SlothStock:
  --ebk EBK
  --period PERIOD
  --reserve-st
  --reserve-suspend
  --strict
  -C, --child-period
  -G, --great-great-grandparent-period

WxPusher:
  --title TITLE
  --token TOKEN
  --topic-ids TOPIC_IDS
  --uids UIDS

Running the tests

tox

TODO

  • Fetch stock information from XueQiu.
  • MACD indicators.
  • Wechat push notification.
  • Basic unittest with positive cases and structure.
  • EBK file import and export.
  • Daemon mode.
  • Buy signal script.
  • Sell signal script.
  • Add cache for frequent fetched data.
  • logger.
  • Cronjob guide or something similar.
  • Monitored stocks management.
  • Documentation.
  • More robust unittest.

Contribution

  • Comments or suggestions via github issues.
  • Pull requests are welcome absolutely.

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

slothstock-0.1.5.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

slothstock-0.1.5-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file slothstock-0.1.5.tar.gz.

File metadata

  • Download URL: slothstock-0.1.5.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

File hashes

Hashes for slothstock-0.1.5.tar.gz
Algorithm Hash digest
SHA256 bac16f12a4d2126680285c9e8a0474cc81cb5811cd3a3d73ce67c0dcd163d650
MD5 98de8b3d6b1c58ddf59958800a5f2826
BLAKE2b-256 db06f6d0f4f7884a96c89f7b4d317b182c70568290faab99a1c25f2b8df891fc

See more details on using hashes here.

File details

Details for the file slothstock-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: slothstock-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1

File hashes

Hashes for slothstock-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2b35e7db44880923b94fa3c4c6ea73f53d488242b9e106eab8cccf922cefd0ed
MD5 0a4f0f0b72276cc8d80e640c7d43726d
BLAKE2b-256 d76531d9320c56cd80c349b9c17191d27c3cd7e54fd300fcc39ff562a65face3

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