package types // 窗口接口 kline, indicator type Window interface { WindowGet(cur, index int64) WindowRange(cur, after, before int64) }