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] [--token TOKEN] [--filter-st] [--filter-suspend]
                 [--topic-ids TOPIC_IDS] [--uids UIDS] [-e EBK] [-i INTERVAL]
                 [-o OUTPUT] [-p PERIOD] [-s] [-v]

optional arguments:
  -h, --help            show this help message and exit
  --token TOKEN
  --filter-st
  --filter-suspend
  --topic-ids TOPIC_IDS
  --uids UIDS
  -e EBK, --ebk EBK
  -i INTERVAL, --interval INTERVAL
  -o OUTPUT, --output OUTPUT
  -p PERIOD, --period PERIOD
  -s, --strict
  -v, --version         show program's version number and exit

Running the tests

tox

TODO

  • Fetch stock information from XueQiu.
  • MACD indicators.
  • Wechat push notification.
  • Basic unittest with postive cases and structure.
  • EBK file import and export.
  • Buy signal script.
  • Sell signal script.
  • 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.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

slothstock-0.1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: slothstock-0.1.1.tar.gz
  • Upload date:
  • Size: 11.9 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.1.tar.gz
Algorithm Hash digest
SHA256 b2c357768cdbc7ae53fca677e856483507adca420b4d073785b41ad2aec65ef7
MD5 3be465dd36476796ade2c32e23c876f3
BLAKE2b-256 5c2fb801bb2123b26e304357069eabf90899c93b7bd241acfdef40c7c4399717

See more details on using hashes here.

File details

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

File metadata

  • Download URL: slothstock-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e480fd5c6b061e87ad62af59e5122d6cdcde2d1b25818f74a14c3da10be5f147
MD5 578f24ff30714a229c8cacaa8044be3d
BLAKE2b-256 5f96403e97139b53d0fa1296530656f4427a6e5541179b00f79c0f55c96d1083

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