Skip to content

Commit

Permalink
Fix issue 96 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katzmann1983 authored Jul 17, 2024
1 parent adf7671 commit 37b8b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytr/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def overview(self):
totalNetValue += float(pos['netValue'])

print(
f"{pos['name']:<25} {pos['instrumentId']} {float(pos['averageBuyIn']):>10.2f} * {float(pos['netSize']):>10.2f}"
f"{pos['name']:<25.25} {pos['instrumentId']} {float(pos['averageBuyIn']):>10.2f} * {float(pos['netSize']):>10.2f}"
+ f" = {float(buyCost):>10.2f} -> {float(pos['netValue']):>10.2f} {diff:>10.2f} {diffP:>7.1f}%"
)

Expand Down

0 comments on commit 37b8b2c

Please sign in to comment.