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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for ValueCalculator-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3af1eff7372155e3439f1332cf254f2013895e4445c8ae8c097e61f589e4b61e |
|
MD5 | 0fecef58c728dc09727ccff007ef8583 |
|
BLAKE2b-256 | ee26faec8764b14130a9e9c81d9d311c3724b84c7280ed18b885cb9b5a1fa6e3 |