这里是行者的个人Github主页
计算机行业微不足道的萌新一枚
喜欢没事写写脚本
个人博客:链接url
业余剪辑侠:个人b站主页
筹码分布python计算源码
按照P求获利盘, 为什么要遍历ChipList所有数据, 不应该是按照当前周期的Chip数据计算吗?
for i in self.Chip:
self.Chip[i] = self.Chip[i] * (1 - TurnoverRateT * A)
for i in tmpChip:
if i in self.Chip:
self.Chip[i] += tmpChip[i] * (TurnoverRateT * A)
else:
self.Chip[i] = tmpChip[i] * (TurnoverRateT * A)
import copy
self.ChipList[dateT] = copy.deepcopy(self.Chip)
按照代码, ChipList是每个周期的存档, Chip是每周期更新的最终数据.
time price change volume amount type
0 09:25:04 7.87 -0.10 2443 1922641 卖盘
1 09:30:03 7.87 0.00 636 500120 卖盘
2 09:30:06 7.87 0.00 523 411353 买盘
3 09:30:10 7.87 0.00 389 306014 买盘
4 09:30:12 7.87 0.00 741 582160 买盘
。。。。。。。。。。。。。。。
我现在拿到的是这种数据,这种能不能计算筹码分布。这个数据缺少了换手 的那列的数据
avg 数据是如何计算的
如题,请问代码里面的minD是什么意思?
如题
已star
分红日 历史筹码应当统一乘上复权因子
请问avg 数据是如何计算的?谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.