fix: invert Price (USD) candles with invertUsd, not 1/x (#543) #1069
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1069
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/543-usd-candle-invert"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/tradeand/chartsnow invert withinvertUsd(factory_usd / humanper bar) so Last and the candle pane show the same displayed-base dollars.open/high/low/close(no human fallback) and adds*_humanfor per-bar invert. Bars withoutprice_usdare omitted.priceFormatso$0.000047/$0.012258are readable (not fixed 2-dp0.00).Closes #543.
Test plan
make verify-issue-543(unit A1–A9 / H1–H3 + docs/skill grep + indexer rebuild)make verify-issue-524still green0.012, cLUNC format ≠0.00)/trade+/chartssmoke on columbus-5: UST1/USTR, UST1/cUSTC, cLUNC/UST1, both pill orientations/candleshas*_humanand USD ~1 on UST1/USTRmentioned in commit
f53e3bf768mentioned in issue #543
mentioned in issue #541
mentioned in issue #542
mentioned in issue #545