Skip to content

FIFO Trading Model for PnL Calculation

Notifications You must be signed in to change notification settings

belg1o/trading-pnl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Calculating PnL from Trades

FIFO Trading Model for PnL Calculation

  • Program analyzes trades, outputs paired trades and calculates PnL
  • Input size is 1M trades
  • FIFO (generally used for queues) is a requirement in trading platforms where the first open trade must be closed when there are several open trades of the same pair and equal value.

About

FIFO Trading Model for PnL Calculation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%