持仓交易日个数positions = context.get_account_positions() for code, position in positions.items(): print(code,position.last_sale_date, context.trading_cal 由bqa8xfbg创建,最终由bqa8xfbg更新于2024-06-29