LeekHub / leek-fund

:chart_with_upwards_trend: 韭菜盒子——VSCode 里也可以看股票 & 基金实时数据,做最好用的投资插件 🐥
http://leek.fund
BSD 3-Clause "New" or "Revised" License
2.94k stars 422 forks source link

fix: issue#399当日收益计算字段更换 #420

Closed lmhtolin closed 6 months ago

lmhtolin commented 6 months ago

之前当前计算公式为:price(当前价格)-open(今日开盘价) 提交替换为为price(当前价格)-yestclose(昨日封盘价格),如无yestclose,还是使用open