gokulasdf

About

Username
gokulasdf
Joined
Visits
5
Last Active
Roles
Member

Comments

  • def calculate_total_return(dat): total_return = 0 for trade_type in ["day"]: for trade in data[trade_type]: pnl = (trade['sell_value'] - trade['buy_value']) + (trade['quantity'] * trade['last_price'] * trade['multiplier'…