Add GTL price-traffic chart diagnostic
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
* What actually closes a trade.
|
||||
*
|
||||
* The setup's `target` is NOT an exit under the production policy: it is a
|
||||
* screening artifact — the nearest S/R level, used to compute the R:R and
|
||||
* screening artifact — the headline Gate Target Ladder proposal, used to
|
||||
* compute the R:R and
|
||||
* probability that admit the setup through the activation gate. The live exit
|
||||
* (`paper_trade_service.resolve_open_trades`) never reads it; `atr_trailing`
|
||||
* closes on the initial stop, a trailing stop, or the max hold.
|
||||
|
||||
@@ -604,6 +604,22 @@ export interface SRLevelResponse {
|
||||
count: number;
|
||||
}
|
||||
|
||||
export interface GateTargetLevel {
|
||||
price_level: number;
|
||||
type: 'support' | 'resistance';
|
||||
strength: number;
|
||||
detection_method: string;
|
||||
sources: string[];
|
||||
traffic_count: number;
|
||||
}
|
||||
|
||||
export interface GateTargetLadderResponse {
|
||||
symbol: string;
|
||||
levels: GateTargetLevel[];
|
||||
count: number;
|
||||
lookback_bars: number;
|
||||
}
|
||||
|
||||
// Sentiment
|
||||
export interface CitationItem {
|
||||
url: string;
|
||||
|
||||
Reference in New Issue
Block a user