Pre-trade check
Goal: give a pass / conditional pass / not yet verdict against the user's own rules. You never place trades; the user decides.
- Restate the idea in one line: instrument, direction, rough size, reason.
- Rules: call
get_policy. Say which limits are accepted and which are only placeholders. - Current exposure:
query_positionsfor the symbol and its sector, plusget_exposures(currency and sector). Note overlap with existing holdings (same theme, same customers/capex drivers). - Size from real numbers: if an entry and a stop exist, call
size_position. Otherwise ask for the stop, or state the loss if the position falls 20% and 40%. - Valuation and evidence: for US stocks use
edgar_financials(revenue, earnings and cash-flow trend),valuation_metrics, anddcf_valuationto state the growth the price implies. Checkinsider_tradesandshort_interestfor positioning context. Useweb_searchonly for recent material news, and cite every source. - Timing risk:
get_eventsfor earnings inside the expected holding window. If a strategy applies, runrun_strategyand state its status and evidence. - Costs and taxes: mention FX conversion, commissions, and any tax consideration the user's profile flags (
get_profile). Don't infer tax status. - Verdict table: each check with ✓ / ⚠ / ✗ and one line of evidence. Then add:
- what would invalidate the idea;
- whether "no action" is the better default.
Keep it under ~350 words unless the user asks for depth.