Skip to content

Commit

Permalink
renaming and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
enarjord authored Jul 4, 2021
1 parent 06730d8 commit b79efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def gain_conv(x):
lines.append(f"symbol {result['symbol'] if 'symbol' in result else 'unknown'}")
lines.append(f"gain percentage {round_dynamic(result['result']['gain'] * 100 - 100, 4)}%")
lines.append(f"average_daily_gain percentage {round_dynamic((result['result']['average_daily_gain'] - 1) * 100, 3)}%")
lines.append(f"sharp_gain_ratio percentage {round_dynamic(result['result']['sharp_gain_ratio'] * 100, 3)}%")
lines.append(f"sharpe_ratio percentage {round_dynamic(result['result']['sharpe_ratio'] * 100, 3)}%")
lines.append(f"closest_bkr percentage {round_dynamic(result['result']['closest_bkr'] * 100, 4)}%")
lines.append(f"starting balance {round_dynamic(result['starting_balance'], 3)}")

Expand Down

0 comments on commit b79efec

Please sign in to comment.