First-In-First-Out Stock trading - calculate cumulative P/L

后端 未结 0 1683
不思量自难忘°
不思量自难忘° 2021-01-13 18:37

I want a sql query to calculate cumulative P/L on stock trading (FIFO based calculation).

Input table :

相关标签:
回答
  • 消灭零回复
提交回复
热议问题