twap

czsc.twap(price: array, **kwargs) float[source]

计算时间加权平均价

Parameters:

price – 价格序列

Returns:

平均价