eiffelcn
eiffelcn
**问题描述** Python的market temperature api好像给删除了? 还是挪到啥位置了?
**问题描述** QuoteContext.subscribe订阅了除Quote之外的类型Trade Brokers Depth后,调用QuoteContext.subscriptions返回的Subscription 中 sub_types 属性列表始终都是 SubType.Quote,有几个类型就返回几个 SubType.Quote 元素的List。按理解返回应当与subscribe参数的sub_types一致才合理。 **代码例子** ```py SUB_TYPES = [lb.SubType.Trade, lb.SubType.Quote, lb.SubType.Brokers, lb.SubType.Depth] qc.subscribe(symbols=['TSLA.US', 'AAPL.US', 'MSFT.US'], sub_types=SUB_TYPES) for sb in qc.subscriptions(): print(sb.symbol, sb.sub_types, sb.candlesticks) ```...
CMD: pip install git+https://github.com/waditu/[email protected] -U Error message: > Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple > Collecting git+https://github.com/waditu/[email protected] > Cloning https://github.com/waditu/czsc.git (to revision V0.9.67) to /tmp/pip-req-build-zj9le4dr > Running command git clone --filter=blob:none --quiet...
获取美股全天数据,一天就是1440=24*60条。 用history_candlesticks_by_date获取数据时候,会在1000条截断,同时这个函数获取都是按日期为粒度,因此总有一截行情拉不到,用别的api再配合搞体验就比较差了。 建议: 提升获取数据行情上限从1000提升到1440,够覆盖Period.Min_1一天数据。
Many indicators that can be calculated by single close value are not support input_values=list[OHLCV] in init. But time is required in resample. I found the usecase in the tail of...