cash = context.portfolio.cashs #取得当日的现金 #如果昨日收盘价高出二十日平均值,则买入,否则卖出 if last_price > averege_price: order_value ...
確定! 回上一頁