PL Calculation HackerRank 笔试OA代写
2. PL Calculation Summary: given position entry table and corresponding market data, calculate resulting profit/loss. Detailed: we have a detailed record of all trades that occurred over a period of time. They are written as {(date of the trade, ticker (instrument/stock id)) : change in quantity). E.g, a history of buying 10 shares of Apple …