AStock
AStock copied to clipboard
A python script to monitor Chinese stocks in terminal. 一个在终端监视A股的python脚本。
https://quotes.sina.cn/cn/api/jsonp_v2.php/var%20_sh600036_60_1577432551767=/CN_MarketDataService.getKLineData?symbol=sh600036&scale=60&ma=no&datalen=1023 现在会给 ```json {"day":"2023-11-02 14:00:00","open":"30.720","high":"30.740","low":"30.650","close":"30.650","volume":"5465693","amount":"0.0000"}, {"day":"2023-11-02 15:00:00","open":"30.650","high":"30.700","low":"30.650","close":"30.680","volume":"7367487","amount":"0.0000"}, {"day":"2023-11-03 10:30:00","open":"30.680","high":"30.820","low":"30.600","close":"30.750","volume":"13461959","amount":"413422934.6641"}, {"day":"2023-11-03 11:30:00","open":"30.750","high":"31.040","low":"30.750","close":"30.960","volume":"14292907","amount":"441937900.5545"}, {"day":"2023-11-03 14:00:00","open":"30.970","high":"31.010","low":"30.930","close":"30.940","volume":"6070150","amount":"187968222.4604"} ``` 看上去是 2023-11-03 多出来的东西,或许可以拿来算 VWAP