Skip to main content

Used to calculate the rise and fall of stocks

Project description

ValueCalculator

A python extension package that can calculate the rise and fall of stocks

Anticipate the stock market

下载包pip install ValueCalculator

导入包import ValueCalculator as vc

Use

import ValueCalculator as vc
hq = vc.SM_Forecast(HAYear-列表, Now-现在行情, BBHAY-股票出厂至今的时间(默认为3))

'''
1. 参数HAYear必须为列表
2. 参数HAYear的用意为 “在半年内是涨还是跌”
3. 参数设置说明:
    “涨”                 为   “1”
    “大涨”               为   “2”
    “没有多大涨/跌幅度”   为   “0”
    “跌了”               为   “-1”
    “跌的多”             为   “-2”
	————以此类推
4. 参数例示:
    [+2, -1, +1, +1]
'''

'''
1. 参数Now必须为正负数或0,(除0外)参数需要带着+/-符号,此参数只有一个值,为int类型
2. 参数Now的用意为 “现在股票比前一年是跌了还是涨了”
3. 参数设置说明:
    “涨”           为    “+1”
	“涨的多”       为    “+2”
	“似乎没涨/跌”   为    “0”
	“跌”           为    “-1”
	“大跌”         为    “-2”
	————以此类推
4. 参数例示:
    +2
'''

'''
1. 参数BBHAY必须为大于1的整数,不附加+/-号,默认值为3
2. 参数BBHAY的用意为 “股票出厂至今的时间(以年为单位)”
3. 参数设置说明:
    “一年了”   为   “1”
	“两年了”   为   “2”
	—————以此类推
4. 参数例示:
    2
'''

print(hq)

我们正在努力中,感谢您的支持

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

ValueCalculator-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

ValueCalculator-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file ValueCalculator-1.0.0.tar.gz.

File metadata

  • Download URL: ValueCalculator-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ValueCalculator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4cb608b8f03a62453429b23134c8bdd300c1e17e4283e63a24e9c800a631d2b0
MD5 6b044a3fd0e669d03afdee5c91aaf645
BLAKE2b-256 1a49db6935588e90cee7aaafb9c99176308df24531b3acaefda00ca190a291a7

See more details on using hashes here.

File details

Details for the file ValueCalculator-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ValueCalculator-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for ValueCalculator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3af1eff7372155e3439f1332cf254f2013895e4445c8ae8c097e61f589e4b61e
MD5 0fecef58c728dc09727ccff007ef8583
BLAKE2b-256 ee26faec8764b14130a9e9c81d9d311c3724b84c7280ed18b885cb9b5a1fa6e3

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