Skip to content

Commit

Permalink
add option multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
r0fls committed Jul 22, 2024
1 parent fbf422e commit da9780a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def get_positions():
if delta is not None and theta is not None:
delta *= position.quantity * OPTION_MULTIPLIER
theta *= position.quantity * OPTION_MULTIPLIER
total_options_value += position.quantity * position.latest_price
total_options_value += position.quantity * position.latest_price * OPTION_MULTIPLIER
else:
delta = position.quantity
theta = 0
Expand Down

0 comments on commit da9780a

Please sign in to comment.