@battlegrid/mcp-server 31.2.2 → 31.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ import { type Implementation, type Prompt, type Resource } from '@modelcontextpr
|
|
|
49
49
|
* being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
|
|
50
50
|
* correction. Never move it to track the server.
|
|
51
51
|
*/
|
|
52
|
-
export declare const PACKAGE_VERSION = "31.2.
|
|
52
|
+
export declare const PACKAGE_VERSION = "31.2.3";
|
|
53
53
|
export declare const DEFAULT_URL = "https://mcp.battlegrid.trade/mcp";
|
|
54
54
|
export interface EnvConfig {
|
|
55
55
|
apiKeys: string[];
|
package/dist/index.js
CHANGED
|
@@ -52,7 +52,7 @@ import { ListToolsRequestSchema, CallToolRequestSchema, ListPromptsRequestSchema
|
|
|
52
52
|
* being asked. Move it for a change to THIS package — a proxy fix, a dependency bump, a docs
|
|
53
53
|
* correction. Never move it to track the server.
|
|
54
54
|
*/
|
|
55
|
-
export const PACKAGE_VERSION = '31.2.
|
|
55
|
+
export const PACKAGE_VERSION = '31.2.3';
|
|
56
56
|
export const DEFAULT_URL = 'https://mcp.battlegrid.trade/mcp';
|
|
57
57
|
const MAX_RETRIES = 3;
|
|
58
58
|
const RETRY_DELAYS_MS = [2000, 4000, 8000];
|
package/package.json
CHANGED
|
@@ -34,11 +34,14 @@ ladder successor — 1d for a 4h anchor), pinned `{ "abs": "<tf>" }` → `_<tf>`
|
|
|
34
34
|
Pins bind to discovery's `rankedTimeframes` (a superset of the anchor set), are fixed across
|
|
35
35
|
anchor retunes, and `offset` does not change the header — one offset per `metric × timeframe`
|
|
36
36
|
per section. `offset` is a `value`-transform parameter only: `distance` rejects it (typed
|
|
37
|
-
error), so a level is always measured as it stands now
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
error), so a level is always measured as it stands now. That is a statement about `offset`, not
|
|
38
|
+
about prior-day levels: `PDH`/`PDL` are published structure metrics at the daily anchor and take
|
|
39
|
+
`distance` and `crossDetect`, so the literal previous-session extreme is authored as
|
|
40
|
+
`dist_PDH_1d` rather than reconstructed from an offset. The daily *swing* levels (`zone_1d`,
|
|
41
|
+
`dist_swingHi_1d`) are the tracked pivot — a different level, not a substitute. Conditions
|
|
42
|
+
compare a column against a literal, never against another column. Rank ordering semantics:
|
|
43
|
+
`hi` most positive, `lo` most negative, `far`/`near` by magnitude (offered only where sign
|
|
44
|
+
matters).
|
|
42
45
|
|
|
43
46
|
## Condition patterns
|
|
44
47
|
|
|
@@ -182,10 +182,11 @@ in rules (its own params define the break). Turtle exits are the trend preset: s
|
|
|
182
182
|
ATR, RR 2+, trail from 1R with giveback 50, no time decay. Mirror with `"breakdown low"` /
|
|
183
183
|
`dist_swingLo` / `sr_support_break` for shorts. **Daily variant on any anchor:** pin the same
|
|
184
184
|
structure at 1d — `zone_1d is "breakout high"`, `dist_swingHi_1d gte 0` (both validated) —
|
|
185
|
-
which is the studio's daily-breakout condition.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
the
|
|
185
|
+
which is the studio's daily-breakout condition. That pins the tracked *daily swing* pivot. For
|
|
186
|
+
the literal previous-session extreme instead, author `PDH`/`PDL` directly — both are native
|
|
187
|
+
structure metrics at the daily anchor, and both take `distance` and `crossDetect`, so
|
|
188
|
+
`dist_PDH_1d gte 0` or a `crossDetect` on `PDH` expresses the prior-day break exactly. Pick by
|
|
189
|
+
which level the source actually means; neither is a substitution for the other.
|
|
189
190
|
|
|
190
191
|
## 9 · ICT / Smart Money Concepts: FVG + Order Blocks — 15m/1h
|
|
191
192
|
|