We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f2acc commit 32df72eCopy full SHA for 32df72e
btplotting/analyzer_tables/sharperatio.py
@@ -6,5 +6,8 @@ def datatable(self):
6
cols[0].append('Sharpe-Ratio')
7
8
a = self.get_analysis()
9
- cols[1].append(a['sharperatio'])
+ if len(a):
10
+ cols[1].append(a['sharperatio'])
11
+ else:
12
+ cols[1].append('')
13
return 'Sharpe-Ratio', [cols]
0 commit comments