feat(selection): show gold brick chart below volume in stock detail panel
Add an optional brick_chart series to the selection chart API, computed from the shared gold-brick formula when strategy=gold_brick, and render a fourth grid with red/green brick bars between the volume and J grids.
This commit is contained in:
@@ -23,7 +23,11 @@ interface SignalDetailPanelProps {
|
||||
}
|
||||
|
||||
export function SignalDetailPanel({ stock }: SignalDetailPanelProps) {
|
||||
const chartQuery = useSelectionChart(stock?.ts_code, stock?.target_trade_date)
|
||||
const chartQuery = useSelectionChart(
|
||||
stock?.ts_code,
|
||||
stock?.target_trade_date,
|
||||
stock?.strategy,
|
||||
)
|
||||
|
||||
if (!stock) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user