Module finance

Module finance 

Source
Expand description

Module containing financial calculation utilities

Functionsยง

calculate_percentage_return
Calculate the percentage return for a position
calculate_pnl
Calculate the Profit and Loss (P&L) for a position based on current market prices