Skip to content

Commit 24f2acc

Browse files
committed
added resample, replay to metadata datas info
1 parent 5f42c0d commit 24f2acc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

btplotting/tabs/metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def _get_datas(self, strategy):
8080
'Live:': f'{"Yes" if data.islive() else "No"}',
8181
'Length:': len(data),
8282
'Granularity:': f'{data._compression} {bt.TimeFrame.getname(data._timeframe, data._compression)}',
83+
'Resample:': f'{"Yes" if data.resampling else "No"}',
84+
'Replay:': f'{"Yes" if data.replaying else "No"}'
8385
}
8486
# live trading does not have valid data parameters (other datas
8587
# might also not have)

0 commit comments

Comments
 (0)