问答交流

【代码报错】cannot access local variable 'stock_lastday_price' where it is not associated with a value

由bqo4psj8创建,最终由small_q 被浏览 14 用户

K 线处理函数,获取持仓股票的当日收盘价和前一日收盘价,出现错误,请老师帮忙看看,谢谢

错误:cannot access local variable 'stock_lastday_price' where it is not associated with a value

标签

收盘价
评论
  • 代码格式没对齐,if往后退位
{link}