Activity
Analysis
Portfolio
News
Settings
Backtesting
| Instrument | Entry | Exit | R | P&L | Date | Exit reason |
|---|
PYRAMID_MAX_MARGIN_PCT = 50) — the global ceiling on total margin across all instruments before new pyramid adds are blocked.positions once any exist (Σ qty × entry, since every instrument quotes in USD); the USD/SGD rate needs a source that nothing currently serves.marginByInst is currently empty in /api/portfolio with no open positions).marginByInst data as the asset-class view.| Version | Saved | Note | Backtested | Action |
|---|
config.py, not fetched. Edit config.py directly.asset_registry.py's asset_class. Live means the bot has an IB contract for the instrument (config.INSTRUMENTS) and can hold a position in it; backtest-only means the engine can simulate it but the bot cannot trade it. There is no per-class enable and no per-class risk override anywhere in the bot — RISK_PER_TRADE_PCT is global. Instruments are added in config.py.| Time | Section | Field | Before | After |
|---|---|---|---|---|
| No changes yet this session | ||||
| Date | Time (UTC) | Type | Source | Headline | Summary | Asset(s) | Instrument(s) | Open trades at impact | Remarks — analysis & risk advisory |
|---|---|---|---|---|---|---|---|---|---|
| Jul 8 | 07:24 | Scheduled | ForexFactory | Non-Farm Payrolls | US employment report — historically the highest-volatility scheduled release for USD pairs. | FX CMD IDX |
EURUSD, XAUUSD, SPX500 | EURUSD Long 2/5 XAUUSD Short 1/5 no stop SPX500 Long 3/5 |
Blackout begins 06:56 UTC. XAUUSD has no stop — highest-priority position to review before this window; consider a manual stop or reducing size. |
| Jul 8 | 22:54 | Scheduled | ForexFactory | CPI (US) | Inflation print — second high-impact USD event in the same trading day as NFP. | CMD IDX |
XAUUSD, SPX500 | XAUUSD Short 1/5 no stop SPX500 Long 3/5 |
Compounds today's gap-risk window for XAUUSD given the missing stop — two high-impact releases, one unprotected position. |
| Jul 10 | 10:12 | Scheduled | ForexFactory | Interest Rate Decision (EU) | ECB policy decision. | FX | EURUSD | EURUSD Long 2/5 | 48h out — time to review EURUSD stop placement before release, no immediate action needed. |
| Jul 8 | 04:10 | Breaking | ForexLive | ECB's Lagarde: policy remains data-dependent into Q3 | Neutral/dovish tone, no explicit signal on near-term rate path. | FX | EURUSD | EURUSD Long 2/5 | Aligns with existing long bias; no action needed. |
| Jul 8 | 03:58 | Breaking | CNBC | Nvidia extends rally as AI capex guidance beats estimates | Bullish company-specific news, AI capex commentary well received. | STK | NVDA | NVDA Long 5/5 full stack | Bullish, but position is already at max stack (5/5) — no room to add; monitor trailing stop given full exposure. |
| Jul 8 | 03:31 | Breaking | MarketWatch | Crude slips on surprise inventory build ahead of EIA report | Bearish for crude on unexpected supply build. | CMD | — | — | No current crude position — informational only; relevant once 3.2 futures rollout adds CL. |
| Jul 8 | 03:12 | Breaking | Nasdaq | US 10-year yield ticks up ahead of tomorrow's CPI print | Rising yields, market positioning ahead of CPI. | IDX | SPX500 | SPX500 Long 3/5 | Rising yields can pressure equity multiples — worth watching into CPI. |
| Jul 8 | 02:12 | Breaking | Yahoo | Gold holds near record highs as dollar softens | Gold strength on broad dollar weakness. | CMD | XAUUSD | XAUUSD Short 1/5 no stop | Gold strength works against the short position; combined with the missing stop, this is the highest-priority review of the day. |
| Jul 8 | 01:12 | Breaking | CNBC | Fed's Waller signals openness to a September cut | Dovish Fed commentary. | IDX FX |
SPX500, EURUSD | SPX500 Long 3/5 EURUSD Long 2/5 |
Broadly supportive of both open longs. |
| Jul 8 | 00:12 | Breaking | ForexLive | GBP steady after mixed UK PMI data | Mixed data, limited GBP reaction. | FX | — | — | No GBP exposure currently — informational only. |
| Jul 7 | 23:12 | Breaking | MarketWatch | Apple supplier reports point to steady iPhone demand ahead of earnings | Steady demand signal ahead of earnings. | STK | — | — | AAPL not currently held — informational only. |
| Jul 7 | 22:12 | Breaking | Nasdaq | Tesla shares slide after delivery numbers miss consensus | Bearish, delivery miss. | STK | — | — | TSLA not currently held — informational only. |
| Jul 7 | 21:12 | Breaking | Yahoo | Dollar index holds near two-week high ahead of Fed minutes | Broad USD strength heading into Fed minutes. | FX CMD |
EURUSD, XAUUSD | EURUSD Long 2/5 XAUUSD Short 1/5 no stop |
Headwind for the EURUSD long, tailwind for the XAUUSD short — but the missing stop remains the priority over directional read. |
| Jul 8 | 05:40 | Geopolitical | Reuters | Middle East tensions escalate after reported strikes near key shipping lanes | Non-financial but market-moving — flight-to-safety flows typically follow escalation headlines. | CMD IDX |
XAUUSD, SPX500 | XAUUSD Short 1/5 no stop SPX500 Long 3/5 |
Classic risk-off setup: gold typically bid, equities typically sold on escalation. Works directly against both the XAUUSD short and SPX500 long — the unprotected gold short is doubly exposed here. |
| Jul 7 | 19:05 | Geopolitical | Reuters | US–China trade talks resume in Geneva, no breakthrough expected this round | Non-financial diplomatic development; low near-term volatility expected but a headline-risk item into the weekend. | IDX STK |
SPX500, NVDA | SPX500 Long 3/5 NVDA Long 5/5 full stack |
No breakthrough lowers near-term surprise risk, but any sudden headline out of these talks can move semis (NVDA) and broad indices fast — worth monitoring even though NVDA has no room to add. |
| Jul 7 | 16:30 | Supply chain | Reuters | Minor earthquake reported near Taiwan chip-fabrication hub, no damage confirmed yet | Non-financial event with direct semiconductor supply-chain relevance — NVDA and broader chip names are sensitive to Taiwan fab disruption headlines. | STK | NVDA | NVDA Long 5/5 full stack | No confirmed damage yet, but this is exactly the kind of non-financial headline that can gap NVDA on a follow-up report — worth a manual check on fab-damage updates given the position is already fully sized. |
apply_costs=True behavior your live /backtest/run endpoint already uses. This maps to that boolean; the finer presets here are illustrative until the engine supports graduated cost models.backtest_engine.py can simulate, grouped by the registry's asset_class. Selected by default: the three the live bot is configured to trade — the same set /backtest/run defaults to. Opt in to more, but note the engine pulls hourly bars from IB per instrument and the run is killed at 300s, so a large selection can time out. This list is read from the engine, so it cannot drift from what a run will accept; instruments cannot be added here.