diff --git a/piker/ui/_cursor.py b/piker/ui/_cursor.py index 93da59b9..8f18fe45 100644 --- a/piker/ui/_cursor.py +++ b/piker/ui/_cursor.py @@ -191,6 +191,9 @@ class ContentsLabel(pg.LabelItem): self.setText( "i:{index}
" + # NB: these fields must be indexed in the correct order via + # the slice syntax below. + "epoch:{}
" "O:{}
" "H:{}
" "L:{}
" @@ -198,7 +201,15 @@ class ContentsLabel(pg.LabelItem): "V:{}
" "wap:{}".format( *array[index - first][ - ['open', 'high', 'low', 'close', 'volume', 'bar_wap'] + [ + 'time', + 'open', + 'high', + 'low', + 'close', + 'volume', + 'bar_wap', + ] ], name=name, index=index,