Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions piker/ui/_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1235,10 +1235,10 @@ def draw_curve(
# if the sticky is for our symbol
# use the tick size precision for display
name = name or pi.name
sym = self.linked.mkt
digits = None
if name == sym.key:
digits = sym.tick_size_digits
mkt: MktPair = self.linked.mkt
digits: int | None = None
if name in mkt.fqme:
digits = mkt.price_tick_digits

# anchor_at = ('top', 'left')

Expand Down