# Galore: the whole public site Every public page on trygalore.com as Markdown, from the same content as its HTML page. Search it with https://trygalore.com/ask?q=your+question or connect an MCP client to https://trygalore.com/mcp. Start with Why Galore and Who Galore is for. Source: [https://trygalore.com/](https://trygalore.com/) # Autonomous Trading Set your rules once. Galore checks every AI trade against them before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) ### 1 set of rules, written once Write your rules once, in plain words. Every trade is checked against them before it reaches your brokerage, day or night. ### 23/5 markets that barely sleep US stocks now trade 23 hours a day. Your rules work all night, so a trade at 3 a.m. is checked just like one at noon. ### 3 misses, covered If we let through a trade your rules don't allow, that month is free. That includes a trade from an AI you didn't approve, or after you turned an AI off. Market losses are not covered. HOW IT WORKS ## Everything your AI agent needs to trade for you From the rules you set to every trade it makes. ### [Set Your Rules Once](https://trygalore.com/rules) Your rules Tell your agent what it can trade, how much and when. You only do it once. ### [Every Trade Checked](https://trygalore.com/trade-checks) Trade checks Each trade your agent makes is checked against your rules before it reaches your brokerage. ### [That Month Is Free](https://trygalore.com/cover) Cover If we let through a trade your rules don't allow, that month is free. ### [Autopilot, Covered](https://trygalore.com/autopilot) Autopilot Building an AI trading app? Add rules and trade checks to your autopilot plan. ### [Only Your Agent Trades](https://trygalore.com/agent-id) Agent ID We make sure it's your agent, on your account, before any trade goes through. ### [Trades That Flow](https://trygalore.com/exchanges) Exchanges Exchanges take your agent's checked trades with no sign-off on each one. ### [Bedtime Stop-Loss](https://trygalore.com/night-stop) Night Stop Set your rule before bed. It runs overnight, sells in small pieces, and reports by 7 a.m. ### [No More Approvals](https://trygalore.com/brokerages) Your brokerage Your brokerage keeps its own checks and stops asking you to approve every single trade. ### [Stop Every Agent at Once](https://trygalore.com/off-switch) Off switch Turn off your rules and every agent stops trading the moment you tap. ### [A History You Can Check](https://trygalore.com/history) Your history Every trade and every check is saved, with the AI and the rule behind it. ### [Rules Followed](https://trygalore.com/agent-scores) Agent scores See how often each AI stays inside your rules. ## Watch your agents from anywhere See every trade your agent made, every check it passed and every rule you set, in one place. Get an alert when a trade is stopped, your rules change or Night Stop sells. Pain points ## What keeps you up at night The worries of 23-hour markets, and how Galore handles each one. [Read more](https://trygalore.com/night-stop) ### A crash while you sleep A stock can now crash in the middle of the night. Solved with Night Stop ### Two in the morning Big drops can now start at 2 a.m. Solved with trade checks ### Waking up to it You wake up to real losses, not pre-market ones. Your report lands by 7 a.m. Solved with the morning report ### A different price by morning The price at breakfast is not the one you saw before bed. Your rule works after bedtime. Solved with Night Stop ### Hardly any buyers Almost nobody is trading after hours, so one big sale moves the price. Solved with Night Stop ### Wild swings With so few trades overnight, prices jump around and margin calls hit. Solved with Night Stop ### Who it helps Overnight markets favour funds with night desks, not people like you. Your agent, on your rules. Set once, checked every night. Solved with your rules ### Outpaced Algorithms move faster than any person can, so you always react late. Your agent acts on your rules. Solved with your agent ### Easy to push around Prices are easy to push around overnight while few people trade. Solved with Night Stop ### Stay away After hours is where prices get pushed around most, so most people stay out. Solved with your rules ### No sleep Some nights you get zero sleep because you are watching the screen. Solved with Night Stop ### Downtime Markets that barely close leave you no downtime. Solved with your rules ### A bad feeling Nobody can say yet how this ends for everyday traders. Your rules, on every trade. Solved with your history ### Wide prices Overnight, the gap between buy and sell prices is wide and trading is thin. We never sell below your floor. Solved with your price floor ### Built for funds Round-the-clock trading suits big funds with people on shift all night. Solved with your agent ### Asleep for it You can now lose money in your sleep. Solved with Night Stop ### A trap For everyday investors, quiet nights can turn into a trap. Your hard floor always acts. Set once, checked every night. Solved with your hard floor ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Pricing](https://trygalore.com/pricing) ### [Your rules](https://trygalore.com/rules) Set your rules once, in plain words. ### [Trade checks](https://trygalore.com/trade-checks) Every trade checked before it reaches your brokerage. ### [Autopilot](https://trygalore.com/autopilot) Autopilot plans, with agent mistakes covered. ### [API](https://trygalore.com/developers) Send your agent's trades through our API. ### [Trade history](https://trygalore.com/history) Every trade and check, saved. ### [Brokerage](https://trygalore.com/brokerages) Checked trades go straight to your brokerage. ### [Cover](https://trygalore.com/cover) If we let through a trade your rules don't allow, that month is free. ### [Agent scores](https://trygalore.com/agent-scores) How well each AI follows your rules. ### [Agent kit](https://trygalore.com/developers) Add Galore to your agent in a few lines. ### [Night Stop](https://trygalore.com/night-stop) Sells your stock if it drops while you sleep. ### [Open rules](https://trygalore.com/exchanges) One open rules format any brokerage can use. ### [Off switch](https://trygalore.com/off-switch) Turn off your rules and every agent stops at once. ### [Promise](https://trygalore.com/cover) new If we let through a trade your rules don't allow, that month is free. ### [Exchanges](https://trygalore.com/exchanges) new Take agent trades with no sign-off on each one. ### [Brokerages](https://trygalore.com/brokerages) new No approval needed on every trade. ### Insurers new Real data on agent mistakes. ### [Agent ID](https://trygalore.com/agent-id) Know which agent is trading before any trade. ### [Platforms](https://trygalore.com/autopilot) Put Galore inside your own app. ### [Rules format](https://trygalore.com/exchanges) The open rules format. ### [Open the Galore app](https://app.trygalore.com/) App $19 a month ### [Talk to our team](mailto:hello@trygalore.com) Email Email us --- Source: [https://trygalore.com/why-galore](https://trygalore.com/why-galore) # Why Galore Galore checks every AI trade against the rules you set once, before it reaches your brokerage. If Galore lets through a trade your rules don't allow, that month is free. ## What is Galore? Galore lets you hand trading to an AI and keep control. Say your rules in plain words and approve them once, in your browser. From then on, every trade your AI sends is checked against them before it reaches your brokerage. A trade your rules don't allow is stopped there. Night Stop, an overnight stop-loss with a morning report, is included. Membership is $19 a month. [Get started](https://app.trygalore.com/signup) · [Your rules](https://trygalore.com/rules) · [Pricing](https://trygalore.com/pricing) ## Why choose Galore? Your rules are checked before your brokerage sees a trade. A free month if a trade your rules don't allow gets through. Rules only you can approve. Only your AI on your account. One tap to stop every AI. Every trade saved. Night Stop included. One flat price that never takes a cut of your trades. ### [The check comes first](https://trygalore.com/trade-checks) Galore stops a trade your rules don't allow before your brokerage sees it. Some tools only return a verdict, and your app still has to block the trade. ### [A promise in writing](https://trygalore.com/cover) If Galore lets through a trade your rules don't allow, that month is free. ### [Only you approve your rules](https://trygalore.com/rules) You approve them in your browser. Your AI can't approve or widen them. ### [Only your AI trades](https://trygalore.com/agent-id) Before any trade, Galore makes sure it is really your AI, on your account. ### [One tap stops every AI](https://trygalore.com/off-switch) Turn off your rules and every AI trading under them stops. ### [Every trade saved](https://trygalore.com/history) Every trade and check is kept, and Rules followed shows how often each AI stays inside your rules. ### [Sleep through the night](https://trygalore.com/night-stop) Night Stop watches overnight, sells in small pieces, never below your floor, and sends a report by 7 a.m. ### [Works with what you use](https://trygalore.com/brokerages) Add Galore to Claude or ChatGPT with one address. Your brokerage keeps its own checks, and Galore's comes first. ### [Always on your side](https://trygalore.com/pricing) Galore never picks trades, holds your money or gives advice, and never takes a cut of your trades. One flat price. ## How does Galore compare? | Instead of | You get | With Galore | | --- | --- | --- | | Brokerage APIs and order previews (Alpaca, Interactive Brokers) | Accounts, orders and the brokerage's own checks | Your rules checked first, and a record of what you approved | | Policy checkers (AgentRisk, Open Policy Agent) | A yes or no your app must enforce | For trades sent through Galore, the answer is enforced and saved | | Self-hosted risk systems (Pit Officer, OpenPit) | A system you run and set up | Add Galore to your AI with one address | | Spending-cap tools (SatGate) | Caps and approval thresholds | Rules for what, how much and when, plus Night Stop and the free-month promise, for $19 a month | | AI trading apps and bots (like Surmount) | An AI that picks trades | Galore checks whatever they send, so you can keep using them | | Building it yourself | Rule approval, AI identity, an off switch, one ID per trade and a saved record to build and run | All of it in one check, in front of the checks you already have | [Full comparison with sources](https://trygalore.com/compare/pre-trade-tools) ## What does Galore cost? $19 a month for one person, with Night Stop included. One flat price, never a cut of your trades, and nothing to host. Apps, brokerages and exchanges get custom pricing. [Pricing](https://trygalore.com/pricing) · [Get started](https://app.trygalore.com/signup) ## Does Galore work with real money? Yes. Your AI trades your own brokerage account, and Galore checks every trade against your rules before it gets there. Your money stays at your brokerage. [Get started](https://app.trygalore.com/signup) · [Trade checks](https://trygalore.com/trade-checks) ## Which brokerages does Galore work with? Alpaca, Robinhood, Interactive Brokers, Kalshi and Polymarket. Your brokerage keeps its own checks, and Galore's comes first. [For brokerages](https://trygalore.com/brokerages) · [Connect a brokerage](https://trygalore.com/developers/broker-and-ai-tool-integration) ## Is Galore safe? Your money never leaves your brokerage. Only you approve your rules, only your AI can trade on your account, every trade is checked before your brokerage sees it, and one tap stops every AI. [Trade checks](https://trygalore.com/trade-checks) · [Agent ID](https://trygalore.com/agent-id) · [Off switch](https://trygalore.com/off-switch) ## Is Galore a broker or an adviser? No. Galore checks trades. It never holds your money, picks trades or gives advice. Your money stays at your brokerage, which keeps its own checks. [About Galore](https://trygalore.com/about) ## Is Galore insurance? No, and that is the point: Galore stops a trade your rules don't allow before it reaches your brokerage, instead of paying out after. If one ever gets through, that month is free. [Our promise](https://trygalore.com/cover) ## Who is Galore for? People who let an AI trade for them, teams building AI trading apps, brokerages and exchanges. [Find where to start](https://trygalore.com/who-its-for) --- Source: [https://trygalore.com/who-its-for](https://trygalore.com/who-its-for) # Who Galore is for Galore is for people who let an AI trade for them, teams building AI trading apps, brokerages and exchanges. Find where to start. ## You let an AI trade for you Set your rules once and every trade your AI sends is checked before it reaches your brokerage. Night Stop is included for $19 a month. Using Claude or ChatGPT? Add Galore as a connector at https://connect.trygalore.com/mcp and sign in with your Galore account. [Get started](https://app.trygalore.com/signup) · [Your rules](https://trygalore.com/rules) · [Night Stop](https://trygalore.com/night-stop) · [Pricing](https://trygalore.com/pricing) ## Connect your AI Add Galore to the AI you already use. Each setup page has the steps for that AI: you add one address, sign in, and approve your rules in your browser. Every trade your AI sends through Galore is checked before it reaches your brokerage. If your AI places a trade through its own brokerage connector, Galore reviews it first. [Claude](https://connect.trygalore.com/connect/start?platform=Claude) · [ChatGPT](https://connect.trygalore.com/connect/start?platform=ChatGPT) · [Claude Code](https://connect.trygalore.com/connect/start?platform=Claude%20Code) · [Codex](https://connect.trygalore.com/connect/start?platform=Codex) · [Other AIs and bots](https://connect.trygalore.com/connect/start) ## Your AI and your Galore account Once you add the connector and sign in, your AI can read your Galore status, positions, trade history and morning report, and send trades to be checked. Only you approve your rules, in your browser. [Connect your AI](https://connect.trygalore.com/connect) · [Trade history](https://trygalore.com/history) ## You build an AI trading app Give your customers an autopilot plan that trades on their own rules. Every trade is checked, tied to the right AI and saved. [Autopilot](https://trygalore.com/autopilot) · [Developer docs](https://trygalore.com/developers) · [Plan a pilot](https://trygalore.com/developers/evaluate-pre-trade-gateway) · [Contact us](https://trygalore.com/contact) ## You run a brokerage Let customers hand trading to an AI on rules they approved. Each AI trade is checked against the customer's rules and tied to the right AI before it reaches you, and your own checks stay as they are. Customers stop approving every trade. [For brokerages](https://trygalore.com/brokerages) · [Contact us](https://trygalore.com/contact) ## You run an exchange or trading venue Take AI trades without a sign-off on each one. Every trade arrives already checked against the trader's own rules. [For exchanges](https://trygalore.com/exchanges) · [Contact us](https://trygalore.com/contact) ## You are a developer Connect your AI to the live Galore connector, read the MCP contract and see every tool it offers, starting with galore_connection. To try it without a brokerage account, run the same trade checks on your machine with a simulated broker. [Run Galore locally](https://trygalore.com/developers/gate-evaluation) · [MCP contract](https://trygalore.com/developers/gate-integration-contract) · [Live connector tools](https://connect.trygalore.com/llms-full.txt) · [Developer docs](https://trygalore.com/developers) ## Contact sales Book a demo, ask about pricing for your app, brokerage or exchange, or write to hello@trygalore.com. [Book a demo](https://trygalore.com/contact) · [Email us](mailto:hello@trygalore.com) ## Investors and press Write to hello@trygalore.com. [About Galore](https://trygalore.com/about) · [Email us](mailto:hello@trygalore.com) ## You are an AI reading this for someone Search the whole site at https://trygalore.com/ask?q=your+question, read it in one file at https://trygalore.com/llms-full.txt, or use the read-only MCP server at https://trygalore.com/mcp. [llms.txt](https://trygalore.com/llms.txt) · [Why Galore](https://trygalore.com/why-galore) --- Source: [https://trygalore.com/about](https://trygalore.com/about) # About Galore Galore checks every AI trade against the rules you set once, before it reaches your brokerage. ## Your rules Choose what your AI can trade, how much and when. Trades outside your rules are stopped before your brokerage. ## Your brokerage Your money stays at your brokerage, and it keeps its own checks. [Connect your brokerage and AI](https://trygalore.com/developers/broker-and-ai-tool-integration). ## Night Stop Night Stop sells your stock if it drops while you sleep, and reports by 7 a.m. ## Our promise If we let through a trade your rules don't allow, that month is free. Market losses are not covered. [What's covered](https://trygalore.com/cover). ## What we never do Galore never picks your trades, holds your money or gives advice. ## Plans Trading needs a Galore membership. Night Stop is included. [See pricing](https://trygalore.com/pricing). ## Find us [Crunchbase](https://www.crunchbase.com/organization/galore-b351), [F6S](https://www.f6s.com/galore-investing) and [Indie Hackers](https://www.indiehackers.com/product/galore). Reviewed 4 December 2026 --- Source: [https://trygalore.com/contact](https://trygalore.com/contact) # Contact us Send us a question or a note. We reply by email. Or email hello@trygalore.com. --- Source: [https://trygalore.com/terms](https://trygalore.com/terms) # Website Terms These terms cover trygalore.com and the tools on this website. Updated 4 December 2026. ## What Galore does Galore checks AI trades against the rules you set. It is for people aged 18 and older. The website does not hold your money or place trades. Nothing here is personal investment advice or a recommendation to buy or sell a security. Prices, public information and past results may be delayed, incomplete or wrong. A backtest shows how a strategy would have behaved under its assumptions and data. Past and simulated results do not predict future performance. ## Using the site Use accurate information when you sign up or contact us. Respect other people's rights and privacy. Do not use the site to send spam, impersonate others or interfere with how it runs. ## Updates and availability If you sign up for updates, we may email you about Galore. Access depends on availability. Tools on this site may change as Galore develops. ## Privacy and contact Read the [Privacy Policy](https://trygalore.com/privacy) for how we handle information. For a question about these terms, [contact Galore](https://trygalore.com/contact). --- Source: [https://trygalore.com/privacy](https://trygalore.com/privacy) # Privacy Policy This policy covers the Galore website at trygalore.com and the Galore app for iPhone. Galore runs on practice money today: orders are simulated, no real money is invested through Galore, and nothing in Galore is investment advice. ## What the iPhone app stores **Sign-in.** During the private preview you sign in with a preview password. Galore's server sets a session cookie on your device that expires after 24 hours. We do not store the password on your device. **Practice portfolio.** The practice cash, simulated orders, plans, stops and receipts you create are stored on your device and on Galore's server so the app can show your practice portfolio and check your rules. They are simulated records, not brokerage accounts. **Membership.** Subscriptions are bought and billed by Apple. Galore never receives your card or payment details. The app reads from Apple whether your membership is active and which plan you chose. **Face ID lock.** If you turn on the app lock, Face ID or your passcode is checked by iOS on your device. Galore never receives your biometric data. Only the on or off setting is saved on your device. **Brokerage sandbox.** If you choose to try the brokerage connection, it uses SnapTrade's sandbox, and SnapTrade handles the connection under its own privacy policy. Real-money trading is not available. **Market data.** Prices and charts are requested from Galore's server. These requests do not identify you beyond your session. The app has no advertising, no third-party analytics or tracking SDKs, and does not track you across other companies' apps or websites. ## What the website stores **Email signups.** If you signed up for Galore updates, we keep your first and last name, email, signup time and consent privately in Galore's site database, and use them only to send Galore updates. Signing up does not open an investment account or place a trade. Your confirmation included a private removal link, or you can [contact us](https://trygalore.com/contact) to remove your email. Suggestions sent through earlier versions of the site are kept privately and can be removed the same way. **Contact forms.** The contact and sales forms send your name, email and message privately to Galore's inbox through FormSubmit, our email forwarding service. We use them only to reply. Please do not include passwords, payment details or sensitive financial information. FormSubmit may keep submissions for up to 30 days ([FormSubmit privacy policy](https://formsubmit.co/privacy.pdf)). Messages in our inbox stay until we no longer need them to handle your request. You can ask us to remove a message. ## Website analytics and cookie settings Browser storage remembers your cookie choice. If you allow analytics, Vercel Web Analytics measures page visits and traffic sources on this website. It does not set analytics cookies, and Galore removes query strings and fragments from the page addresses sent to it. [Cookie settings](https://trygalore.com/privacy#site-analytics) ## How we use it We use this information only to run Galore: to sign you in, show and check your practice portfolio, check your membership and reply to you. We do not sell your information or share it for advertising. Hosting and database providers process it on our behalf to operate the service. ## Keeping and deleting your information Signing out of the app removes the session cookie from your device. Deleting the app removes the data stored on your device. To delete your practice portfolio or other records held on Galore's server, [contact us](https://trygalore.com/contact) and we will delete them. Cancel a subscription in your Apple ID settings under Subscriptions. ## Children Galore is not intended for anyone under 18. ## Changes and contact If this policy changes, we will update this page and its date. Questions or requests: [contact Galore](https://trygalore.com/contact). Updated 4 December 2026. --- Source: [https://trygalore.com/pricing](https://trygalore.com/pricing) PRICING # Simple pricing Trading needs a Galore membership. Night Stop is included. Standard $19/month For one person with one account. [Get Started](https://app.trygalore.com/signup) - Set your rules once, in plain words - Every trade checked before your brokerage - Night Stop, your overnight stop-loss - If we let a bad trade through, that month is free - Every trade and check, saved - An off switch for every agent One user. Billed monthly. Enterprise Custom For apps, brokerages and teams running agents for many people. [Book a demo](https://trygalore.com/contact) - Everything in Standard - As many users and accounts as you need - The Galore API - Custom rules and terms - A direct line to our team ## Questions What does Standard cost? $19 a month for one user and their account. Is Night Stop included? Yes. Night Stop comes with Standard at no extra cost. Do you take a cut of my trades? No. Galore charges a flat fee. We take 0% of trades and charge no performance fees. What if Galore lets a bad trade through? If we let through a trade your rules don't allow, that month is free. Market losses are not covered. How do I get Enterprise? Book a demo and we'll set up the right plan for your team. --- Source: [https://trygalore.com/rules](https://trygalore.com/rules) [← All products](https://trygalore.com/#card-rules) # Set Your Rules Once Tell your AI what it can trade, how much and when, in your own words. Every trade is checked against them. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Write your rules Pick what your agent can trade, the biggest trade it can make, the hours it can trade and how much it can lose in a day. 02 ### Set them once Read them back and confirm. No more approving trade after trade. 03 ### Every trade checked Before any trade reaches your brokerage, we check it against your rules. ### Your own words Rules read the way you think: only big US stocks, never more than $25,000 a trade, nothing after 8 p.m. ### Everything in one place What to trade, how much, when, and your daily loss line, all set together. ### Take them with you Your rules use an open format, so they can go with you to any brokerage that accepts it. ### Change them anytime Edit a rule or turn them all off, and every agent follows the new version right away. ## Questions Who decides the rules? You do. Galore never picks trades for you, never holds your money and never gives advice. What can my rules cover? What can be traded, how big each trade can be, how much you can lose in a day, which hours, and which agents can trade. Can I change them later? Yes. Edit them and confirm again. Every new trade is checked against your latest rules. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Every Trade Checked](https://trygalore.com/trade-checks) Trade checks Each trade your agent makes is checked against your rules before it reaches your brokerage. ### [That Month Is Free](https://trygalore.com/cover) Cover If we let through a trade your rules don't allow, that month is free. ### [Autopilot, Covered](https://trygalore.com/autopilot) Autopilot Building an AI trading app? Add rules and trade checks to your autopilot plan. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/trade-checks](https://trygalore.com/trade-checks) [← All products](https://trygalore.com/#card-trade-checks) # Pre-trade checks for AI trading agents Every trade your agent wants to make comes to us first. If it fits your rules, it goes to your brokerage. If it doesn't, we stop it and tell your agent why. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Your agent sends a trade It sends the trade to us, the same way it would send it to your brokerage. 02 ### We check it against your rules What it is, how big it is, what time it is, how much you've lost today, and which agent sent it. 03 ### Sent or stopped Good trades go on to your brokerage. Stopped trades come back with a reason your agent understands. ### Proof for every trade Each check comes back signed, so you can always show what was allowed. ### Reasons your agent can use Stopped trades say why, like "over $25,000 a trade", so your agent can fix it and try again. ### Your brokerage still checks too Your brokerage keeps its own checks. We add your rules on top. ### Everything saved Every trade, check and result goes into your history. ## Checked before your brokerage, saved after Galore checks each trade before it is sent. Your brokerage keeps its own checks. ### Your rules Each AI is tied to one account and the rules you approved. The AI cannot change them. ### Fresh data The wrong stock, size or session is stopped. If Galore cannot see your account, the trade waits. ### Turn an AI off New trades stop at once. Sales that protect what you already own still run. ### Every result saved Your rules, the check and your brokerage's answer stay together. Approved is not filled until your brokerage says so. ## Questions Do you hold my money? No. Your money and your stocks stay at your brokerage. We only check trades. What happens to a stopped trade? It never reaches your brokerage. Your agent gets the reason, and it's saved in your history. Where do Galore's checks sit if our brokerage keeps its own controls? Galore sits between the AI and the brokerage. Each trade is checked against your rules first: what it is, how big, what time, and which AI sent it. Trades your rules allow go on to your brokerage, which still runs its own checks. Stopped trades never reach it. Every result is saved with your brokerage's answer. Can my AI agent trade overnight without asking me to approve every order? Yes. Set your rules once: the account, the AI, what it can trade, how much and when. Galore checks every trade against them, day or night. Your AI cannot change your rules. Any change comes back to you, and you can turn an AI off at any time. How do I prevent duplicate orders and orders larger than I authorized? Each trade gets one fixed ID, so a retry checks the first attempt instead of placing a second trade. Trades bigger than your rules allow are stopped. If the brokerage reply is lost, Galore checks with the brokerage before trying again. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [That Month Is Free](https://trygalore.com/cover) Cover If we let through a trade your rules don't allow, that month is free. ### [Autopilot, Covered](https://trygalore.com/autopilot) Autopilot Building an AI trading app? Add rules and trade checks to your autopilot plan. ### [Only Your Agent Trades](https://trygalore.com/agent-id) Agent ID We make sure it's your agent, on your account, before any trade goes through. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/agent-id](https://trygalore.com/agent-id) [← All products](https://trygalore.com/#card-agent-id) # Only Your Agent Trades Before any trade, we make sure it's really your agent, on your account. An agent can only use the rules you set for it. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Add your agent Each agent gets its own ID and key. 02 ### Link it to your rules You choose which agent can trade on which account, under which rules. 03 ### Checked on every trade We confirm it's your agent before we check the trade itself. ### One agent, one key Swap the key anytime without touching your rules. ### Stuck to your account An agent can only trade on the accounts you picked. ### Remove it in one tap Take an agent off and its next trade is stopped. ### Our promise If we let through a trade from an AI you didn't approve, that month is free. ## Questions Can I run more than one agent? Yes. Each one has its own ID and can have its own rules. What if an agent's key leaks? Swap the key or remove the agent. The next trade with the old key is stopped. Do you check the agent on every trade? Yes, every time, before checking the trade against your rules. How do you verify that a customer authorized the agent placing an order? Each AI has its own ID and key, tied to your account and the rules you approved. Before each trade, Galore checks the AI, the account and your rules. An AI cannot approve itself by saying so in a prompt. Only your saved rules count. Turn an AI off and its next trade is stopped. What should an order acceptance policy check for an AI trading agent? Check that the AI is known, that it is tied to this account, and that the person's rules are current and still on. Then check the trade itself: what, how big and when. Hold the trade if account data is missing or stale. Check earlier attempts before a retry, and save every result with the brokerage's answer. How does Galore fit alongside Alpaca's trading API or MCP server? Alpaca holds the account and places the trades. Galore sits in front of it: each trade your AI sends is checked against your rules before it reaches Alpaca. Galore saves each check next to Alpaca's answer, so you can see what was allowed and what was filled. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Trades That Flow](https://trygalore.com/exchanges) Exchanges Exchanges take your agent's checked trades with no sign-off on each one. ### [Bedtime Stop-Loss](https://trygalore.com/night-stop) Night Stop Set your rule before bed. It runs overnight, sells in small pieces, and reports by 7 a.m. ### [No More Approvals](https://trygalore.com/brokerages) Your brokerage Your brokerage keeps its own checks and stops asking you to approve every single trade. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/off-switch](https://trygalore.com/off-switch) [← All products](https://trygalore.com/#card-off-switch) # Stop Every Agent at Once Turn off your rules and every agent trading under them stops, the moment you tap. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Tap off In the app, or through the API. 02 ### Every agent stops We stop the next trade from any agent using those rules. 03 ### Your history shows it When you turned it off, and every trade stopped after that. ### One switch Stop every agent on every account at the same time. ### Works before the next trade No waiting for your agents to notice. ### Our promise If we let through a trade after you turned an AI off, that month is free. ### Start again anytime Set new rules whenever you're ready. ## Questions What about trades already at my brokerage? The off switch stops every new trade. Anything already waiting at your brokerage is listed in your history, so you can cancel it there. Can I stop just one agent? Yes. Remove one agent and the others keep trading on your rules. Is it saved when I turn things off? Yes, with the time and who did it. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [A History You Can Check](https://trygalore.com/history) Your history Every trade and every check is saved, with the AI and the rule behind it. ### [Rules Followed](https://trygalore.com/agent-scores) Agent scores See how often each AI stays inside your rules. ### [Set Your Rules Once](https://trygalore.com/rules) Your rules Tell your agent what it can trade, how much and when. You only do it once. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/history](https://trygalore.com/history) [← All products](https://trygalore.com/#card-history) # A History You Can Check Every trade, check and change is saved, with the AI and the rule behind it. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Everything is saved Your rules, every trade, every check, every stop, as it happens. 02 ### Kept in order Each entry is saved in order with the time, the AI and the rule it was checked against. 03 ### Share it when you need to Download it for yourself, your brokerage or your accountant. ### Every stop explained Each stopped trade keeps the rule it broke. ### Every AI in one place See every AI's trades and checks together. ### Easy to read A simple summary for you, full detail for anyone who needs it. ### Proof when you need it See what your rules allowed and what happened. ## Questions Who can see my history? You, and anyone you choose to share it with. Can anything be deleted? No. Your history only grows. What's in it? Your rules, every trade, every check, every stopped trade and every time you turned things off. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Rules Followed](https://trygalore.com/agent-scores) Agent scores See how often each AI stays inside your rules. ### [Set Your Rules Once](https://trygalore.com/rules) Your rules Tell your agent what it can trade, how much and when. You only do it once. ### [Every Trade Checked](https://trygalore.com/trade-checks) Trade checks Each trade your agent makes is checked against your rules before it reaches your brokerage. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/night-stop](https://trygalore.com/night-stop) [← All products](https://trygalore.com/#card-night-stop) # Night Stop Set your rule before bed. Night Stop sells your stock if it drops while you sleep, and reports by 7 a.m. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) Included in Standard $19/month Included in your membership. No extra cost. [See pricing →](https://trygalore.com/pricing) How it works 01 ### Pick your soft line and hard floor The drop you'd sell at, and the price you never want to go below. 02 ### Night Stop watches All night, while you sleep. Alerts stay off unless you turn them on. 03 ### Your report by 7 a.m. What happened, what sold and why, including nights when holding would have been better. ### Soft line Only sells if a drop lasts 5 minutes and the whole market moves too, or lasts 15 minutes on its own. ### Hard floor Always acts, but gently: it waits a moment, then sells in small pieces sized to the buyers who are there. ### Never below your floor Each sale is a price you set, so it never sells for less than your floor. ### No pile-ups Your levels are nudged off round numbers, so stops don't all go off at the same price. ## Questions Will it beat waiting for the morning? Night Stop acts on the soft line and hard floor you set and never sells for less than your floor, so you can sleep and stick to your plan. Your morning report shows every night, including drops that bounced back, so you can tune your lines. Can news make it sell? No. News can only make it wait. It never starts a sale. Will it wake me up? Only if you want it to. Alerts are off by default, and your report arrives by 7 a.m. Which AI trading platforms offer overnight stop-loss controls? Galore has Night Stop. You set a soft line and a hard floor before bed. If your stock drops while you sleep, Night Stop sells in small pieces, never below your floor, and reports by 7 a.m. Night Stop is included in the Galore membership. How does Night Stop handle thin overnight markets? The soft line sells only after a drop holds for five minutes with the whole market moving too, or fifteen minutes on its own. News can delay a sale but never start one. The hard floor sells in small limit orders sized to the buyers who are there, with pauses between them. If nobody is buying at your floor, some shares can stay unsold, and your report shows them. What should I check in a morning report about my agent's overnight trades? Your morning report shows what your AI tried, what your rules allowed, what your brokerage filled and any shares left. It also shows nights when holding would have been better. Look at stopped trades, partial fills and any gaps in data before you change your rules. How can an app add overnight stop-loss rules to customer autopilot plans? Let each customer pick their stocks, soft line and hard floor in your app. Galore ties those rules to the customer, the AI and the account. Trades go through Galore to the brokerage. Galore checks each one and saves the result, and your app shows the morning report under your name. How should I compare Night Stop with Capitalise.ai or cTrader? Capitalise.ai turns plain-English trading scenarios into automations. cTrader runs cBots with your own trading rules. Night Stop does one job: it sells if your stock drops overnight, on the rules you set. Compare the brokerage, the overnight session, how each one sells in a thin market and what it reports in the morning. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [No More Approvals](https://trygalore.com/brokerages) Your brokerage Your brokerage keeps its own checks and stops asking you to approve every single trade. ### [Stop Every Agent at Once](https://trygalore.com/off-switch) Off switch Turn off your rules and every agent stops trading the moment you tap. ### [A History You Can Check](https://trygalore.com/history) Your history Every trade and every check is saved, with the AI and the rule behind it. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/cover](https://trygalore.com/cover) [← All products](https://trygalore.com/#card-cover) # That Month Is Free If we let through a trade your rules don't allow, that month is free. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) That month is free if we let through - A trade your rules don't allow - A trade from an AI you didn't approve - A trade after you turned an AI off Not covered - Market losses - Trades your rules allowed that went badly How it works 01 ### We miss A trade your rules don't allow reaches your brokerage. 02 ### Your history shows it Your rules, the trade and our check are all saved. 03 ### That month is free You don't pay for that month. ### Narrow on purpose It covers our checks, never the market. ### Built in It comes with your membership. Nothing extra to buy. ## Questions What happens if Galore lets through a trade my rules don't allow? That month is free. The same goes for a trade from an AI you didn't approve, or a trade after you turned an AI off. Your history shows your rules, the trade and our check, so there is nothing to argue about. Market losses and trades your rules allowed are not covered. Does cover pay for an overnight price drop or an unfilled stop? No. A drop on a trade your rules allowed is a market loss, and market losses are not covered. A stop can also stay partly unfilled when nobody is buying at your floor, or during a halt or outage. That is not a missed rule, and your report shows it. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Autopilot, Covered](https://trygalore.com/autopilot) Autopilot Building an AI trading app? Add rules and trade checks to your autopilot plan. ### [Only Your Agent Trades](https://trygalore.com/agent-id) Agent ID We make sure it's your agent, on your account, before any trade goes through. ### [Trades That Flow](https://trygalore.com/exchanges) Exchanges Exchanges take your agent's checked trades with no sign-off on each one. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/agent-scores](https://trygalore.com/agent-scores) [← All products](https://trygalore.com/#card-agent-scores) # Rules Followed See how often each AI stays inside your rules, from how it actually trades. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Every trade counts Each check adds to the agent's track record. 02 ### A score for each agent How often it stays inside your rules, and how it reacts when a trade is stopped. 03 ### Pick with proof Choose the AI that follows your rules best. ### Based on real trades Scores come from what an agent does, not what it promises. ### Easy to compare Every AI side by side. ### Open to builders People who build agents can see how theirs score. ### Fair for everyone Every agent is scored on the same checks. ## Questions Can Galore score an AI agent on how it actually trades? Yes. Galore scores agent behavior from real trades: how often each AI stays inside your rules, how often it is stopped, and whether it retries a stopped trade. Scores come from what an AI does, not what it promises. Look at returns alongside them, over the same period. What should we check before offering an agent in customer autopilot plans? Look at how the AI trades with real money and practice money, kept apart, and never mix in backtests. Check stopped trades, repeat attempts, missing data and drawdowns over the same dates. Then test the hard cases: duplicate runs, stale prices, partial fills, disconnections and an AI that has been turned off. How should I compare Galore with Surmount when evaluating an agent's record? Surmount builds and runs automated strategies. Galore does not pick trades. It checks each trade against the person's rules and saves what happened. Compare the same dates, fills, costs, returns and stopped trades, and keep backtests apart from real trading. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Set Your Rules Once](https://trygalore.com/rules) Your rules Tell your agent what it can trade, how much and when. You only do it once. ### [Every Trade Checked](https://trygalore.com/trade-checks) Trade checks Each trade your agent makes is checked against your rules before it reaches your brokerage. ### [That Month Is Free](https://trygalore.com/cover) Cover If we let through a trade your rules don't allow, that month is free. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/autopilot](https://trygalore.com/autopilot) [← All products](https://trygalore.com/#card-autopilot) # Autopilot, Covered Building an AI trading app? Give your customers an autopilot plan that trades on their own rules. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Add Galore to your app One API for rules, trade checks and history. 02 ### Your customers set their rules Inside your app, under your name, in plain words. 03 ### Sell the autopilot plan Set your own price. You pay Galore a custom licence with a flat fee, never a cut of trades. ### A flat fee A custom licence with a flat fee. No cut of trades and no performance fees, ever. ### Your name, your customers Your customers sign up, pay and trade in your app. ### Our promise, built in If we let through a trade a customer's rules don't allow, that month is free. ### Show them everything Your customers can see exactly what their agent did and why. ## Questions How much does Galore cost? A custom licence with a flat fee, never a cut of trades. Do you take a cut of trades? No. We take 0% of trades and charge no performance fees. Who owns the customer? You do. Galore works behind your app. What would my app still need to build if it used Galore's agent API? Galore gives your app the rules, the trade checks, Agent ID, the off switch and a saved history of every trade. Your customers set their rules in your app. Your app still builds sign-in, billing, support, the screen where customers confirm their rules, the brokerage connection and your AI's strategy. How do I connect my agent and brokerage to Galore? Connect through the Galore API or MCP tools. Each customer confirms their rules once, then your AI sends every trade through Galore on its way to the brokerage. The developer docs cover sign-in, rule versions, retries and brokerage answers. Talk to us to plan your setup. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Only Your Agent Trades](https://trygalore.com/agent-id) Agent ID We make sure it's your agent, on your account, before any trade goes through. ### [Trades That Flow](https://trygalore.com/exchanges) Exchanges Exchanges take your agent's checked trades with no sign-off on each one. ### [Bedtime Stop-Loss](https://trygalore.com/night-stop) Night Stop Set your rule before bed. It runs overnight, sells in small pieces, and reports by 7 a.m. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/brokerages](https://trygalore.com/brokerages) [← All products](https://trygalore.com/#card-brokerages) # No More Approvals Your brokerage keeps its own checks and stops asking you to approve every trade. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Your brokerage reads your rules Right next to your account. 02 ### No more approve-every-trade Only for agents checked by Galore. Everything else works like today. 03 ### Their checks still run Your brokerage still checks every trade the way it always has. ### Nothing taken away We add your rules. Your brokerage keeps every check it already has. ### You choose the accounts Turn it on account by account. ### Flat pricing A custom licence with a flat fee. No cut of trades. ### Your rules on every trade Your brokerage can see exactly what your agent was allowed to do. ## Questions Does my brokerage lose any control? No. Its own checks still run. Ours come first. Which accounts does this cover? Only the ones you turn it on for, with your rules set. What does it cost a brokerage? A custom licence with a flat fee, never a cut of trades. Does Galore replace a brokerage's existing pre-trade checks? No. Galore adds one check before the trade reaches you: does it follow the customer's rules? Your brokerage keeps all of its own checks and can still reject a trade Galore allowed. Each trade arrives with the AI, the rules it was checked against and Galore's result, so your team can see why. Can Galore remove an overnight backlog of manual agent approvals? Yes. Customers set their rules once, and Galore checks every later trade against them, so nobody has to approve the same thing trade after trade. Your brokerage keeps its own checks. The AI, the rules and every result stay together, so anything unusual is easy to look into. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Stop Every Agent at Once](https://trygalore.com/off-switch) Off switch Turn off your rules and every agent stops trading the moment you tap. ### [A History You Can Check](https://trygalore.com/history) Your history Every trade and every check is saved, with the AI and the rule behind it. ### [Rules Followed](https://trygalore.com/agent-scores) Agent scores See how often each AI stays inside your rules. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/exchanges](https://trygalore.com/exchanges) [← All products](https://trygalore.com/#card-exchanges) # Trades That Flow Exchanges take AI agent trades without a sign-off on each one. Every trade arrives already checked against the trader's own rules. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) How it works 01 ### Connect once Take trades from Galore alongside everything you already take. 02 ### Get checked trades Every trade comes with proof it was checked, and the rules it was checked against. 03 ### Settle as usual Nothing changes in how you match or settle trades. ### An open rules format The format is public, so any exchange, brokerage or app can read it. ### No sign-off on every trade Checked agents trade without stopping for approval each time. ### A flat fee A custom licence with a flat fee. No cut of trades. ### Shared, not owned Brokerages, exchanges and apps can help run the format together. ## Questions Do we need to change how we match trades? No. Checked trades arrive as normal trades with the proof attached. Who owns the rules format? Nobody alone. It's public and run together with the exchanges and brokerages that use it. How much does it cost? A custom licence with a flat fee, never a cut of trades. ## Explore more [See all products →](https://trygalore.com/#how-it-works) ### [Bedtime Stop-Loss](https://trygalore.com/night-stop) Night Stop Set your rule before bed. It runs overnight, sells in small pieces, and reports by 7 a.m. ### [No More Approvals](https://trygalore.com/brokerages) Your brokerage Your brokerage keeps its own checks and stops asking you to approve every single trade. ### [Stop Every Agent at Once](https://trygalore.com/off-switch) Off switch Turn off your rules and every agent stops trading the moment you tap. ## Let your agent run Set your rules once. Every trade is checked before it reaches your brokerage. [Get Started](https://app.trygalore.com/signup) [Contact Sales](https://trygalore.com/contact) --- Source: [https://trygalore.com/questions](https://trygalore.com/questions) # Questions Plain answers about your rules, Night Stop, Agent ID and building with Galore. ### [Why Galore](https://trygalore.com/why-galore) Galore checks every AI trade against the rules you set once, before it reaches your brokerage. If it lets through a trade your rules don't allow, that month is free. Read more ### [Who Galore is for](https://trygalore.com/who-its-for) Where to start with Galore: people who let an AI trade, AI trading app builders, brokerages and exchanges. Read more ### [Night Stop](https://trygalore.com/night-stop#overnight-stop-loss) How Night Stop works overnight and what the morning report shows. Read answers ### [Trade checks](https://trygalore.com/trade-checks#pre-trade-order-flow) Where the check sits and what it looks at. Read answers ### [Agent ID](https://trygalore.com/agent-id#authorized-agent) How Galore knows which AI is trading, and that you allowed it. Read answers ### [Rules followed](https://trygalore.com/agent-scores#observed-agent-record) How Galore shows which AI follows rules best. Read answers ### [Autopilot](https://trygalore.com/autopilot#build-with-galore) What Galore gives your app and what your app still builds. Read answers ### [Brokerages](https://trygalore.com/brokerages#brokerage-control) How Galore works next to a brokerage's own checks. Read answers ### [Our promise](https://trygalore.com/cover#cover-payout) When a month is free, and what is never covered. Read answers --- Source: [https://trygalore.com/changelog](https://trygalore.com/changelog) # Changelog ## 4 December 2026: run Galore locally Published release 0.1.0-eval.1: the real trade-check runtime with a simulated broker, its full contract, 26 end-to-end checks and 447 tests. [Run it](https://trygalore.com/developers/gate-evaluation) · [Read the contract](https://trygalore.com/developers/gate-integration-contract) ## 4 December 2026: trade record guides Added a pilot checklist, a comparison of approaches and a Python tool that traces a trade to its fills. ## 3 December 2026: one product The site now covers today's product: Galore checks every AI trade against your rules before it reaches your brokerage. Standard is $19 a month with Night Stop. ## 2 December 2026: first end-to-end run Approved rules, a checked buy, duplicate handling, a protective sale and brokerage reconciliation ran on an Alpaca practice account with practice money. ## Not offered yet More asset types and outside insurance. [Developer docs](https://trygalore.com/developers) · [Questions](https://trygalore.com/questions) Reviewed 3 December 2026 --- Source: [https://trygalore.com/learn/](https://trygalore.com/learn/) # Guides Connect your AI, your rules and your brokerage. ## Start here - [About Galore](https://trygalore.com/about): what it does. - [Developer docs](https://trygalore.com/developers): how trades reach Galore. - [Trade checks](https://trygalore.com/trade-checks#pre-trade-order-flow): how each trade is checked. - [Night Stop](https://trygalore.com/night-stop#overnight-stop-loss): sell if a stock drops while you sleep. - [Do stop-loss orders work overnight?](https://trygalore.com/learn/overnight-stop-loss) - [How to set limits on an AI that trades for you](https://trygalore.com/learn/ai-trading-agent-limits) - [Add your own rules to a brokerage MCP server](https://trygalore.com/learn/broker-mcp-server-trading-limits) - [Does anything cover a trade your AI wasn't allowed to make?](https://trygalore.com/learn/ai-agent-trade-loss-cover) - [Questions](https://trygalore.com/questions). ## Run it yourself - [Run Galore locally](https://trygalore.com/developers/gate-evaluation) with a simulated broker. - [Pre-trade checks in Python](https://trygalore.com/learn/pre-trade-check-python): fourteen local cases, no broker calls. Or [watch the 60-second walkthrough](https://trygalore.com/watch/pre-trade-check-python). - [Stop a retry from becoming a second trade](https://trygalore.com/learn/prevent-duplicate-trading-orders): a SQLite journal with thirteen cases. - [Trade approved but not filled?](https://trygalore.com/learn/trade-approved-but-not-filled) Trace it to the brokerage. - [Keep your brokerage and AI tool](https://trygalore.com/developers/broker-and-ai-tool-integration). - [Nine simulated Night Stop runs](https://trygalore.com/research/paper-validation). [Which AI placed a trade, and who allowed it?](https://trygalore.com/learn/trading-agent-authorization-audit-trail) Reviewed 3 December 2026 --- Source: [https://trygalore.com/research/paper-validation](https://trygalore.com/research/paper-validation) # Nine simulated Night Stop runs Scripted prices, a simulated clock and a simulated broker. Not market returns. ## Method Run on 3 December 2026 from runtime revision ` 8688a9426e7e ` with Node 22.13 or later. Each run starts with 20 simulated NVDA shares and a minimum sale price. No market data or brokerage is contacted. What each run did | Run | Shares sold | Orders | Rule state | | --- | --- | --- | --- | | quiet-night | 0 | 0 | active | | 2am-wick | 0 | 0 | active | | confirmed-by-index | 20 | 1 | completed | | stock-specific-drop | 20 | 1 | completed | | gap-through-floor | 20 | 1 | completed | | crash-below-floor-minimum | 0 | 1 | active | | thin-market | 20 | 4 | completed | | thin-book-participation-cap | 20 | 10 | completed | | not-overnight-eligible | 0 | 0 | active | ## What happened A quiet night and a short dip placed no orders. A confirmed drop and a lasting drop in one stock sold. With few buyers, the sale split into four and ten orders. When the price stayed under the minimum, one order waited and sold nothing. A stock that does not trade overnight placed no order. ## What it does not show Returns, real liquidity, speed, slippage or brokerage outages. A minimum price can leave shares unsold, and a passing run does not promise a live sale will fill. [Raw results](https://trygalore.com/research/paper-scenarios.json) · [Developer docs](https://trygalore.com/developers) · [Night Stop](https://trygalore.com/night-stop) Reviewed 3 December 2026 --- Source: [https://trygalore.com/developers](https://trygalore.com/developers) # Galore API and developer docs Your AI proposes a trade. Galore checks it against the rules the person set, sends it to the brokerage and records what happened. ## Quick start: hosted, no key The practice API checks a trade against a person's rules and answers ` allowed `, ` stopped `, ` held ` or ` needs_person `, with every rule it checked. No key, no account, nothing saved. [Practice API and SDKs](https://trygalore.com/developers/sandbox). ``` curl -s https://trygalore.com/api/sandbox/example-rules | curl -s https://trygalore.com/api/sandbox/check -H 'Content-Type: application/json' -d @- ``` This practice API is separate from the local runtime below, which uses its own tool names and fields. Python: ` pip install galore-sdk `. JavaScript: ` npm install galore-sdk `. Agent skill: ` npx skills add mehek-builds/galore-sdk `. ## Get an API key Self-serve, no sales call: run ` npx galore-sdk login `, or call ` POST https://connect.trygalore.com/connect/device/start ` (no key needed) and open the link it returns. The person signs in to Galore and approves the key in their own browser. See and revoke keys at [connect.trygalore.com/connect](https://connect.trygalore.com/connect). To try everything first, use the [sandbox](https://trygalore.com/developers/sandbox): practice API, no key, nothing saved. ## Connect an AI Add the [Galore MCP server](https://trygalore.com/developers/mcp), ` https://connect.trygalore.com/mcp `, to Claude, ChatGPT or any MCP client and sign in. Your own code can call the same tools over the [Galore API](https://connect.trygalore.com/connect/api) ([OpenAPI](https://connect.trygalore.com/connect/openapi.json)). This website has its own read-only [site API](https://trygalore.com/openapi.json). ## Try it without a brokerage account [Run Galore locally](https://trygalore.com/developers/gate-evaluation). Release 0.1.0-eval.1 runs the real trade checks over HTTP and MCP with practice money and a simulated broker. A clean install passed 26 end-to-end checks and 447 tests. Read the [full contract](https://trygalore.com/developers/gate-integration-contract) or the [source](https://github.com/mehek-builds/galore-gate-evaluation). Want something smaller? Run the [Python pre-trade check](https://trygalore.com/learn/pre-trade-check-python) (also [in Google Colab](https://colab.research.google.com/drive/1W2TIFshiaCURdcc3IWUjuIsaX5f28jnk)) or the [SQLite retry journal](https://trygalore.com/learn/prevent-duplicate-trading-orders). Both are teaching examples, not the Galore runtime. ## How a trade flows - The AI drafts rules for one account. - The person reads the exact rules and approves them. The AI cannot approve for them. - The AI sends a trade under those rules. - Galore checks the AI, the account, the rules, whether they are still on, and fresh account and market data. A trade that fails is stopped before your brokerage. - Galore records the brokerage's answer. An allowed trade is not a fill until the brokerage says so. ## What Galore enforces Each rule is a field the person approves in ` draft_existing_permissions `. A trade that breaks one is stopped before the brokerage, and the answer names the rule. - Which AIs may trade (` agents `) and on which brokerage account (` connectionId `). - Which symbols (` instruments `), buy or sell (` sides `), and time in force. Limit orders only. - Size: shares per trade (` maxQuantity `), dollars per trade (` maxOrderUsd `) and position size (` maxPositionUsd `). - Per day: dollars sent (` maxDailySubmittedUsd `) and number of trades (` maxOrdersPerDay `). - Fresh data (` maxSnapshotAgeMs `), no repeats inside a window (` duplicateWindowSeconds `), and the person confirms trades above an amount (` confirmAboveUsd `). - The rules end at ` expiresAt `. One off switch stops new buys from every AI. Try every check with no account: [practice API](https://trygalore.com/developers/sandbox). ## If Galore can't be reached Galore places the order, so if your AI can't reach Galore, nothing is sent through it: the AI gets an error and no trade reaches the brokerage through Galore. If the connection drops after a trade was sent, its result is uncertain. Read ` existing_order_status ` instead of sending it again. ## Tool names in the local runtime ` draft_order_mandate `, ` get_order_mandate `, ` sign_order_mandate `, ` submit_checked_order `, ` gate_status `, ` halt_entries ` and ` close_owned_entry `. Take arguments and keys from the [contract](https://trygalore.com/developers/gate-integration-contract). ## What the local ` submit_checked_order ` takes A whole-share buy as a regular-session fill-or-kill limit order, plus a stop that sells if the price drops. No live orders, scripts, money transfers or unsupported instruments. Fields in submit_checked_order | Purpose | Fields | Note | | --- | --- | --- | | Which trade | ` eventId `, ` mandateId `, ` symbol ` | The approved rules and one stable ID for this trade. | | Price and size | ` limitPrice `, ` validUntil `; size with ` qty ` or ` notionalUsd ` | See the schema for required combinations and units. | | Stop | ` softLine `, ` stopPrice `, ` floorMin ` | Needs approved rules, the service running, fresh prices and a working brokerage. A price floor can leave a sale unfilled. | | Price condition | ` trigger.kind `, ` trigger.threshold ` | Above or below a price. | ### Read wording without placing a trade ` preview_checked_order ` turns a ` text ` string into unsaved fields. It checks no brokerage data, approves nothing and places nothing. Incomplete wording returns ` CLARIFY ` with ` EXPLICIT_SUPPORTED_FIELDS_REQUIRED `. ## Keys Keep the person's key and the AI's key separate, each bound to one account. Store keys in environment variables or a secret manager. Never send brokerage keys to this website. ## Failures to test - Duplicate scheduler runs settle on one trade. - Missing data holds new trades. - An unknown brokerage answer stays open until reconciled. - Expired or turned-off rules stop new trades. - ` halt_entries ` stops new trades and keeps protective sales. ` kill_all ` is different and can turn protection off. - A minimum sale price cannot promise a buyer. ## What stays with you Your app and brokerage keep their own legal and licensing duties. Galore checks trades and keeps records; that is not regulatory approval. ## Where it runs today Galore runs live with real money at the five supported brokerages. Members sign up at [app.trygalore.com](https://app.trygalore.com/signup) and connect their AI at [connect.trygalore.com](https://connect.trygalore.com/). Outside insurance is not offered yet. For a custom setup for your app or brokerage, [talk to us](https://trygalore.com/contact). ## Brokerage already connected in your AI tool? See [keep your brokerage and AI tool](https://trygalore.com/developers/broker-and-ai-tool-integration). [Pilot checklist and pricing](https://trygalore.com/developers/evaluate-pre-trade-gateway) · [Trace a trade that did not fill](https://trygalore.com/learn/trade-approved-but-not-filled) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) · [Changelog](https://trygalore.com/changelog) · [Example source](https://github.com/mehek-builds/galore-examples) · [Watch the walkthrough](https://trygalore.com/watch/pre-trade-check-python) [Which AI placed a trade, and who allowed it?](https://trygalore.com/learn/trading-agent-authorization-audit-trail) Reviewed 5 December 2026 --- Source: [https://trygalore.com/developers/mcp](https://trygalore.com/developers/mcp) # Galore MCP server Add Galore to your AI once. Every trade it sends through Galore is checked against rules you approve, before it reaches your brokerage. ## Connect - In your AI's connector settings, add ` https://connect.trygalore.com/mcp `. - Sign in with your Galore account. - Tell your AI your rules in plain words. You approve them once, in your browser. Setup steps for Claude, ChatGPT, Claude Code, Codex, Gemini CLI, Cursor and Python or Node bots: [connect.trygalore.com/connect/start](https://connect.trygalore.com/connect/start). No AI? [Use Galore in a browser](https://connect.trygalore.com/connect/browser). ## Rules for an AI - Only the person approves their rules, in their own browser. An AI cannot approve or widen them. - Never put keys in chat. - Never retry a trade with a new event ID to get around a refusal or a required confirmation. Read its status instead. ## Main tools What an AI calls | Tool | What it does | | --- | --- | | ` galore_connection ` | Start here: find the brokerage connection to use. | | ` draft_existing_permissions ` | Draft rules for a brokerage. The person approves them. | | ` preview_existing_order ` | Check a trade against the rules and the brokerage. Sends nothing. | | ` submit_existing_order ` | Send one trade under approved rules. | | ` existing_order_status ` | The brokerage's status and actual fills. Never resends. | | ` halt_entries ` | Stop all new buys. Selling and protection keep working. | | ` preview_protection `, ` create_protection ` | Set up a Night Stop. It stays off until the person confirms it. | | ` get_audit_log ` | Every decision and trade on the account. | Every tool, with its schema: the [server card](https://connect.trygalore.com/.well-known/mcp.json) and the [OpenAPI schema](https://connect.trygalore.com/connect/openapi.json). Your own code can call the same tools with ` POST https://connect.trygalore.com/v1/tools/ ` and a bearer token ([API guide](https://connect.trygalore.com/connect/api)). ## Search this website from an AI ` https://trygalore.com/mcp ` is a separate, read-only MCP server for this website, with no sign-in. Its tools are ` search_galore `, ` read_galore_page ` and ` list_galore_pages `. It cannot trade. The same search is at ` GET https://trygalore.com/ask?q=your+question ` ([OpenAPI](https://trygalore.com/openapi.json)). ## Try it locally first [Run Galore locally](https://trygalore.com/developers/gate-evaluation) with a simulated broker, over HTTP and MCP. Source on [GitHub](https://github.com/mehek-builds/galore-gate-evaluation). [Galore API and developer docs](https://trygalore.com/developers) · [Pricing](https://trygalore.com/pricing) · [Contact us](https://trygalore.com/contact) Reviewed 5 December 2026 --- Source: [https://trygalore.com/developers/sandbox](https://trygalore.com/developers/sandbox) # Practice API and SDKs Send rules and a trade. Galore says whether the trade fits, and why. Hosted, free, no key. ` rules ` and ` order ` use the live service's shapes: ` rules ` is the ` permissions ` object of ` draft_existing_permissions ` and ` order ` is the order of ` submit_existing_order `, so the same objects work there. The extra top-level ` agent ` names the AI sending the trade; live, that comes from its sign-in. It checks only what you send: no brokerage, prices or accounts, and nothing is saved. Rules that need brokerage data, such as daily loss, are accepted and listed in ` notChecked `. Every answer says ` "practice": true `. ## Try it with curl ``` curl -s https://trygalore.com/api/sandbox/example-rules | curl -s https://trygalore.com/api/sandbox/check -H 'Content-Type: application/json' -d @- ``` The first call returns a valid body (` agent `, ` rules `, and an ` order ` good for one minute); the second checks it. Edit the JSON to see a trade stopped. Spec: [OpenAPI 3.1](https://trygalore.com/api/sandbox/openapi.json). ## Python ``` pip install galore-sdk from galore_sdk import Galore galore = Galore() # practice API, no key start = galore.example_rules() result = galore.check(start["rules"], start["order"]) print(result["decision"], result["summary"]) ``` [galore-sdk on PyPI](https://pypi.org/project/galore-sdk/). Python 3.9 or later, no dependencies. ## JavaScript and TypeScript ``` npm install galore-sdk import { Galore } from 'galore-sdk'; const galore = new Galore(); // practice API, no key const { agent, rules, order } = await galore.exampleRules(); const result = await galore.check(agent, rules, order); console.log(result.decision, result.summary); ``` [galore-sdk on npm](https://www.npmjs.com/package/galore-sdk). Node.js 18 or later, browsers and edge runtimes, no dependencies, types included. ## Command line ``` npx galore-sdk check --symbol AAPL --side buy --qty 2 --price 190 pip install galore-sdk && galore check --symbol AAPL --side buy --qty 2 --price 190 ``` ## Agent skill Teach Claude Code, Codex, Cursor and other agents how to use Galore: ``` npx skills add mehek-builds/galore-sdk ``` Or read it directly: [SKILL.md](https://trygalore.com/.well-known/agent-skills/galore/SKILL.md), listed in [/.well-known/agent-skills/index.json](https://trygalore.com/.well-known/agent-skills/index.json). ## What comes back Decisions | decision | Meaning | | --- | --- | | ` allowed ` | Every rule passed. On the live service the trade goes to the brokerage. | | ` stopped ` | A rule failed. The trade never reaches the brokerage. | | ` held ` | This ` eventId ` was already sent. Read its status; never send it again. | | ` needs_person ` | Above ` confirmAboveUsd `: the person confirms it in their own browser. | Each item in ` checks ` has ` rule `, ` passed ` and a plain ` detail `. Bad input returns HTTP 400 with ` error.field ` naming the field. ## Rule fields - ` connectionId `: the brokerage account (live, from the ` brokerage ` tool; here any name). - ` agents ` (up to 20), ` instruments `, ` sides `, ` timeInForce `: what may trade, and how. - ` maxQuantity `, ` maxOrderUsd `: most per trade. - ` maxDailySubmittedUsd `, ` maxOrdersPerDay `: most per day. - ` maxSnapshotAgeMs `, ` expiresAt ` (Unix epoch milliseconds) and ` disclosure `, the fixed text in the example. - Optional: ` confirmAboveUsd `, ` maxPositionUsd `, ` duplicateWindowSeconds `. Order fields: ` eventId `, ` connectionId `, ` instrument `, ` side `, ` quantity `, ` limitPrice `, ` orderType ` (` limit `), ` timeInForce ` and ` validUntil ` (milliseconds, at most five minutes ahead). Optional ` context `: ` ordersToday `, ` submittedTodayUsd `, ` positionUsd `, ` availableQuantity `, ` recentEventIds `, and ` now ` to fix the clock in tests. ## Move to real trades Add ` https://connect.trygalore.com/mcp ` to your AI as an MCP connector and sign in with a Galore account. Call ` galore_connection ` for the real ` connectionId `, then ` draft_existing_permissions ` with your rules: the person approves them once, in their own browser. After that ` preview_existing_order ` checks a trade without sending it, ` submit_existing_order ` sends it under the approved rules, and ` existing_order_status ` reads the result. Code without MCP calls the same tools at ` POST https://connect.trygalore.com/v1/tools/ ` ([OpenAPI](https://connect.trygalore.com/connect/openapi.json)). [Sign up](https://app.trygalore.com/signup). ## Pricing The practice API, SDKs and skill are free. Live trade checks need a Galore membership: $19 a month, Night Stop included, never a cut of trades. Business pricing is custom; [talk to us](https://trygalore.com/contact). [Developer docs](https://trygalore.com/developers) · [SDK source](https://github.com/mehek-builds/galore-sdk) · [Run the full runtime locally](https://trygalore.com/developers/gate-evaluation) Reviewed 5 December 2026 --- Source: [https://trygalore.com/learn/trading-agent-authorization-audit-trail](https://trygalore.com/learn/trading-agent-authorization-audit-trail) # Which AI placed the trade, and who allowed it? Keep the AI, the account, the rules the person approved and the result linked together. An AI saying "approved" is not proof. By Galore. Records come from local release ` 0.1.0-eval.1 `, with practice accounts, prices and fills. The test plays both roles, so it does not show that a real person read anything. ## Four questions every trade record should answer - **Which key acted?** Resolve the key to an AI and an account on the server. A name the AI gives itself is only a label. - **What did the person allow?** Keep the exact rules they approved, when they expire and whether they are still on. A summary written by the AI is not the rules. - **What happened to this trade?** Link one stable trade ID to the check, the send and the brokerage's answer. Allowed is not filled. - **Can you trust the record later?** Know who can write, change and export it. An app log alone is not proof. ## One real trace These values come from one passing scenario, ` /results/10 ` in the [published results](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json), all from the same account. The IDs are public practice IDs, not keys. One set of rules and one simulated trade | Record | Value | What it shows here | | --- | --- | --- | | Account | ` acct_U49ANVyF3jTb ` | The account shown with the exact rules. | | AI key ID | ` key_LBFeLoxYqhNv ` | The AI those rules allow. A key ID does not prove which program held the key. | | Rules | ` gate_4rt353IzuU2k ` | The same rules ID in the draft, the person's read and the approval. | | Rules hash | ` dafc43c58c0ab6ddffedb39a0af2b7aa1aef298f5c1c54d6d1a9a3e5d6019d91 ` | The draft and the person's read match. This page compares published records; it does not independently verify a signature. | | Approval | ` active ` | The practice person approved these exact rules before the trade. | | Trade | ` cog-order_zFP15Zy-Ba_k ` PASS / filled / 5 practice shares | A simulator fill, not external broker evidence or a live trade. | | Stop | ` rule_biLYSd8nDWea ` | The stop turned on with this trade. | Show the full trace ``` { "fixture": "Valid reviewed entry fills and activates its signed protection", "sourceIndex": 10, "accountId": "acct_U49ANVyF3jTb", "agentKeyId": "key_LBFeLoxYqhNv", "mandateId": "gate_4rt353IzuU2k", "cardHash": "dafc43c58c0ab6ddffedb39a0af2b7aa1aef298f5c1c54d6d1a9a3e5d6019d91", "confirmedStatus": "active", "clientOrderId": "cog-order_zFP15Zy-Ba_k", "outcome": "PASS", "status": "filled", "qty": 5, "ruleId": "rule_biLYSd8nDWea" } ``` ## The AI and the person have different keys An AI key maps to one account and one key ID. Naming another account in a prompt changes nothing. Only the person's key can approve rules, and the AI cannot borrow it by copying headers or text. - ` draft_order_mandate ` drafts rules. - The person reads the exact stored rules with ` get_order_mandate `. - ` sign_order_mandate ` approves them with the person's key. The AI's key cannot. - ` submit_checked_order ` checks a trade against the rules, account and AI. Its answer is separate from the brokerage's result. - ` get_audit_log ` shows the account's recorded events. See the [contract](https://trygalore.com/developers/gate-integration-contract). [Source and tests](https://github.com/mehek-builds/galore-gate-evaluation) · [Versioned package](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/galore-gate-evaluation-0.1.0-eval.1.tgz). Source-available, marked unlicensed. ## Check the refusals too Each record below is a separate passing scenario. Each uses its own practice account and a simulated clock, so they must not be combined into one customer's history. These checks were run by Galore. Agent cannot confirm even with a fixture member token Record ` /results/7 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "Agent cannot confirm even with a fixture member token", "passed": true, "sourceRecord": "/results/7", "replies": [ { "label": "agent attempts confirmation", "isError": true, "result": [ { "type": "text", "text": "Only an authenticated member can confirm the stored mandate card" } ] } ] } ``` Substituted card hash fails and the exact reviewed card succeeds Record ` /results/8 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "Substituted card hash fails and the exact reviewed card succeeds", "passed": true, "sourceRecord": "/results/8", "replies": [ { "label": "correct confirmation after refusal", "isError": false, "result": { "mandateId": "gate_5OzvUf7i_1sb", "status": "active" } } ] } ``` Repeated delivery keeps exactly one simulator buy Record ` /results/12 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "Repeated delivery keeps exactly one simulator buy", "passed": true, "sourceRecord": "/results/12", "replies": [ { "label": "synthetic member confirms exact card", "isError": false, "result": { "mandateId": "gate_1KEhWd7nI0au", "status": "active" } }, { "label": "duplicate delivery", "isError": false, "result": { "outcome": "HOLD", "reason": "EVENT_ALREADY_ALLOCATED", "clientOrderId": "cog-order_AHK_UfyQu2x3", "status": "filled" } } ] } ``` Accepted order with a lost response reconciles after restart without a second buy Record ` /results/14 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "Accepted order with a lost response reconciles after restart without a second buy", "passed": true, "sourceRecord": "/results/14", "replies": [ { "label": "synthetic member confirms exact card", "isError": false, "result": { "mandateId": "gate_8zUFE8ZTEvvM", "status": "active" } }, { "label": "lost acknowledgement", "isError": false, "result": { "outcome": "HOLD", "reason": "unknown", "status": "unknown", "clientOrderId": "cog-order_U-8ECbeIoLTa", "ruleId": "rule_wLDu5W4R797H", "qty": 5 } }, { "label": "restart reconciliation", "isError": false, "result": { "environment": "local-simulation", "now": 1796655600000, "accountId": "acct_CPmiBMXQoFZc", "positions": [ { "symbol": "AAPL", "qty": 5, "avg": 100 } ], "orders": [ { "id": "sim-1", "clientOrderId": "cog-order_U-8ECbeIoLTa", "symbol": "AAPL", "side": "buy", "qty": 5, "filledQty": 5, "filledAvgPrice": 100, "limitPrice": 100, "status": "filled", "rawStatus": "filled", "submittedAt": 1796655600000, "extendedHours": false } ], "gate": { "draftLimits": { "perMinute": 10, "perDay": 40, "pending": 100, "budget": { "day": "2026-12-07", "day_count": 1, "minute_at": 1796655600000, "minute_count": 1 } }, "mandates": [ { "id": "gate_8zUFE8ZTEvvM", "status": "active", "halted": 0, "signed_at": 1796655600000, "card": { "agents": [ "key_wurwsjzXzltS" ], "costAllowanceUsd": 0, "expiresAt": 1796742000000, "lossBasis": "Conservative account equity loss; recent credits cannot mask losses; ambiguous cash activity holds entries.", "maxDailyLossUsd": 100, "maxEntriesPerDay": 10, "maxEntriesPerSymbol": 2, "maxExposureUsd": 2000, "maxOrderUsd": 1000, "maxPreflightChecksPerDay": 40, "maxPreflightChecksPerMinute": 4, "maxPriceDeviationPct": 1, "maxQty": 10, "maxRiskUsd": 30, "minRetainedPct": 25, "protectionDisclosure": "Synthetic exits need the service, fresh quotes and a working broker; gaps can exceed planned loss.", "protectionExpiresInDays": 90, "protectionSessions": [ "regular", "overnight", "pre_market", "after_hours" ], "resizeDown": false, "signalMode": "discretionary", "symbols": [ "AAPL", "MSFT" ], "syntheticProtectionAccepted": true }, "card_hash": "b8501cc08952e2dd486c1407cbad5d6343cf7567997311115d9734cfd3776767" } ], "entries": [ { "client_id": "cog-order_U-8ECbeIoLTa", "symbol": "AAPL", "qty": 5, "status": "filled", "filled_qty": 5, "rule_id": "rule_wLDu5W4R797H", "error": "SIMULATED_LOST_ACK_AFTER_ACCEPTANCE" } ], "incidents": [], "connection": { "account_id": "acct_CPmiBMXQoFZc", "checked_at": 1796655600000, "session": "regular", "connected": 1, "expires_at": null, "expiry_known": 1 }, "exitChecks": [] }, "protections": [ { "id": "rule_wLDu5W4R797H", "symbol": "AAPL", "status": "active", "state": { "ruleId": "rule_wLDu5W4R797H", "lastObservedAt": 1796655600000, "softBreachSince": null, "selling": null, "sellingSince": null, "soldQty": 0, "orderSeq": 0 } } ] } }, { "label": "retry after reconciliation", "isError": false, "result": { "outcome": "HOLD", "reason": "EVENT_ALREADY_ALLOCATED", "clientOrderId": "cog-order_U-8ECbeIoLTa", "status": "filled" } } ] } ``` Revoked rules block new entries and keeps an owned reduction available Record ` /results/18 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "Revoked permission blocks new entries and keeps an owned reduction available", "passed": true, "sourceRecord": "/results/18", "replies": [ { "label": "synthetic member confirms exact card", "isError": false, "result": { "mandateId": "gate_kZHXI6fDnbAG", "status": "active" } }, { "label": "member revocation", "isError": false, "result": { "mandateId": "gate_kZHXI6fDnbAG", "status": "revoked", "protectionPreserved": true } }, { "label": "owned reduction request", "isError": false, "result": { "requested": true, "ruleId": "rule_aMB9fe1kFFEF", "status": "waiting_for_valid_quote_and_signed_price_floor" } } ] } ``` A second account cannot read or use the first account's rules Record ` /results/19 ` in [verification.json](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json). Passed. ``` { "name": "A second account cannot read or use the first account permission", "passed": true, "sourceRecord": "/results/19", "replies": [ { "label": "synthetic member confirms exact card", "isError": false, "result": { "mandateId": "gate_NjdtEXAjzq-m", "status": "active" } }, { "label": "cross-account refusal", "isError": false, "result": { "outcome": "BLOCK", "reason": "NO_SIGNED_MANDATE" } } ] } ``` ## A record you cannot edit is something to prove Use one restricted writer, stable event IDs, a fixed order and a clear export and retention policy. Add corrections as new events; never erase old ones. For records others can verify, plan signatures and outside storage. The local release does not give you an outside archive or protection from a database administrator. The [SQLite journal](https://trygalore.com/learn/prevent-duplicate-trading-orders) shows the same gap. ## A key is not a model A unique key tells you which key acted. Shared or stolen keys blur that. Keep records of when keys are issued, rotated and turned off. Never publish a real key or account data in an example. ## Link it to the brokerage For a brokerage adapter, agree on the brokerage's account, environment, order IDs and order states. If your AI tool already holds the brokerage connection, Galore reviews the trade but cannot enforce it or verify the receipt. [Choose a path](https://trygalore.com/developers/broker-and-ai-tool-integration). Approved but nothing filled? [Find the last step you can prove](https://trygalore.com/learn/trade-approved-but-not-filled). A timeout stays unknown until reconciled; do not resend because the AI saw no fill. [Run Galore locally](https://trygalore.com/developers/gate-evaluation) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) · [Pilot checklist](https://trygalore.com/developers/evaluate-pre-trade-gateway) Reviewed 4 December 2026 --- Source: [https://trygalore.com/developers/gate-evaluation](https://trygalore.com/developers/gate-evaluation) # Run Galore locally Run the real trade checks, trade records and protective sales over MCP, with practice money and an in-process broker. No brokerage account needed. **Want hosted, with no install?** The [practice API](https://trygalore.com/developers/sandbox) checks a trade against rules at ` https://trygalore.com/api/sandbox/check ` with no key or account, and the ` galore-sdk ` packages call it (` pip install galore-sdk `, ` npm install galore-sdk `). Real trades go through the hosted [Galore MCP server](https://trygalore.com/developers/mcp) or the [Galore trading API](https://connect.trygalore.com/connect/api). **Release 0.1.0-eval.1.** [Download the versioned runtime package](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/galore-gate-evaluation-0.1.0-eval.1.tgz) · [Source and tests on GitHub](https://github.com/mehek-builds/galore-gate-evaluation) · [Full contract](https://trygalore.com/developers/gate-integration-contract) ## Quick start Node.js 22.13 or later and npm. ``` git clone https://github.com/mehek-builds/galore-gate-evaluation.git cd galore-gate-evaluation npm ci --ignore-scripts --no-audit --no-fund npm run build npm run evaluate ``` This uses the official MCP client against the local server, sets up a practice person and AI, and fails on any broken check. Only npm is contacted; no brokerage. ## Results from a clean install Local software checks | Check | Passed | Failed | Details | | --- | --- | --- | --- | | HTTP/MCP scenarios | 26 | 0 | [Inputs and outcomes](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/verification.json) | | Tests | 447 | 0 | [Suite counts](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/regression-summary.json) | On 4 December 2026 we downloaded this exact archive into an empty folder, installed, built and reran all 26 scenarios. [Checksum and method](https://trygalore.com/research/gate-public-install-verification-2026-12-04.json). - Unapproved, oversized, stale-data and wrong-account trades buy nothing. - Only the person can approve the stored rules. The AI cannot approve for them. - A valid trade fills in the simulator and turns on its stop. - A repeated delivery buys once. A lost reply settles after a restart without a second buy. - Stopping new trades still lets the stop sell shares already bought. - The stdio bridge works with the official MCP client, and the person's command line will not approve without them. ## Drive it yourself Run ` npm start `. It listens only on ` 127.0.0.1:8787 `. In another terminal run ` npm run draft `, then ` npm run member -- confirm EXACT_MANDATE_ID `, which shows the stored rules and asks you to confirm. Then ` npm run submit -- --mandate EXACT_MANDATE_ID ` sends the scripted trade. The [quick start on GitHub](https://github.com/mehek-builds/galore-gate-evaluation#operate-the-synthetic-fixture-yourself) covers price moves, the stop and saved state. Give your MCP client only the AI's key file. Keep the person's key separate. ## The contract Covers all eleven Galore tools and one test-control tool: endpoints, keys, account binding, rule review, schemas, units, lifecycle, retries, errors and quotas. It is for this local release, not a hosted service. [Read the contract](https://trygalore.com/developers/gate-integration-contract) · [JSON](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/integration-contract.json) · [tools/list snapshot](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/tools.json) · [Markdown](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/INTEGRATION.md) ## What this shows The real software paths, with scripted prices and simulated fills. The test plays both the person and the AI, so a test signature is not proof of human attention. Simulator records are not brokerage records. It does not certify a brokerage, production reliability or that a stop will fill. No brokerage or notification keys are loaded. The package is source-available and marked ` UNLICENSED `. This page is the local copy. The hosted Galore service is live with real money at [app.trygalore.com](https://app.trygalore.com/signup), and your AI connects at [connect.trygalore.com](https://connect.trygalore.com/). Apps and brokerages that want a custom setup can [talk to us](https://trygalore.com/contact). Outside insurance is not offered yet. [Plan a pilot](https://trygalore.com/developers/evaluate-pre-trade-gateway) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) · [Contact us](https://trygalore.com/contact) [Which AI placed a trade, and who allowed it?](https://trygalore.com/learn/trading-agent-authorization-audit-trail) Reviewed 4 December 2026 --- Source: [https://trygalore.com/developers/gate-integration-contract](https://trygalore.com/developers/gate-integration-contract) [Run it locally](https://trygalore.com/developers/gate-evaluation) · [JSON contract](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/integration-contract.json) · [Markdown](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/INTEGRATION.md) # Galore integration contract **Contract version: 0.1.0-eval.1. Reviewed 4 December 2026.** **Want hosted, with no install?** The [practice API](https://trygalore.com/developers/sandbox) checks a trade against rules at ` https://trygalore.com/api/sandbox/check ` with no key or account, and the ` galore-sdk ` packages call it (` pip install galore-sdk `, ` npm install galore-sdk `). Real trades go through the hosted [Galore MCP server](https://trygalore.com/developers/mcp) or the [Galore trading API](https://connect.trygalore.com/connect/api). This is the complete supported contract for the public local-evaluation release: eleven real Galore tools and one synthetic fixture-control tool. It is a reproducible versioned interface, not a general hosted production endpoint, a self-service live-broker SDK or the separate Galore practice-money API. The included source, [generated input schemas and output-data schemas](https://trygalore.com/releases/galore-gate-evaluation/0.1.0-eval.1/integration-contract.json), and semantic constraints here define the contract together. ## Transport and endpoints The launcher binds to ` 127.0.0.1 `, port 8787 by default. ` serve --port NUMBER ` selects another local port. It ignores ` HOST ` and broker environment settings. Clients supplied in this package refuse non-loopback destinations before attaching credentials. | Endpoint | Method | Authentication | Purpose | | --- | --- | --- | --- | | ` /health ` | GET | None | ` { "ok": true, "service": "galore-gate-evaluation" } ` | | ` /mcp ` | POST | Agent bearer key | MCP Streamable HTTP, JSON responses | | ` /platform/mcp ` | POST | Signed trusted-host request | MCP as the signed member or agent principal | All other paths return 404, including OAuth and broker-connection routes. This release does not accept broker credentials through HTTP. Each MCP request is stateless; no ` Mcp-Session-Id ` is needed. GET streaming, DELETE sessions and JSON-RPC batches are not supported. Send one JSON-RPC 2.0 message per POST. Use the official MCP SDK client for initialization and protocol-version negotiation. Required content negotiation: ``` Content-Type: application/json Accept: application/json, text/event-stream ``` The MCP server identifies as ` galore-gate-evaluation `, version ` 0.1.0-eval.1 `. The optional stdio bridge has the same identity and tools and forwards to the local HTTP server with agent authority. An initialized client can call ` tools/list `, then ` tools/call `: ``` { "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "gate_status", "arguments": {} } } ``` ## Authentication, account and actor binding The launcher creates one primary synthetic account and one independent account for isolation tests. Each agent key resolves to exactly one account and key ID. Its Galore agent identity is that stored key ID, not a name supplied in a prompt. ` agent.json ` contains the primary endpoint, key ID and bearer key. It contains no member-signing secret. Never send the operator file to an agent or external service. For ` /mcp `, send ` Authorization: Bearer `. Adding an actor or account field to a tool's arguments does not change the authenticated principal and strict schemas reject unsupported fields. The bearer path always has agent authority. For ` /platform/mcp `, a trusted member host signs the exact UTF-8 request body. The local member CLI implements this path. The operator signing secret remains in ` connection.json `; it is not sent over HTTP. ``` X-Night-Stop-Subject: galore-eval:member X-Night-Stop-Actor: member X-Night-Stop-Email: X-Night-Stop-Timestamp: X-Night-Stop-Signature: ``` The signed message is the following seven strings joined with a single newline and no final newline: ``` timestamp HTTP method pathname subject actor email lowercase hex SHA256 of the exact request body ``` Sign that message using HMAC-SHA256 and the operator secret. The verifier accepts timestamps within five minutes of real wall time. A ten-digit epoch-seconds timestamp is also accepted by the underlying verifier; the supplied client emits milliseconds. The signed pathname is ` /platform/mcp `, excluding query strings. Use the empty email header and exact configured subject in the local fixture. The authenticated member actor becomes ` :member `. An actor header without a valid body-bound signature is refused. Possession of the operator secret is the trusted-host boundary; an agent must not possess it. The timestamp window alone is not a nonce-based replay defense. Exact-card confirmation has its own single-use token, and orders have durable event identities. ## Exact member confirmation - An agent calls ` draft_order_mandate `. A pending draft creates no trading authority. - The member calls ` get_order_mandate ` in the trusted member session. The response is the actual stored card, not an agent-written summary. - If pending, intact, unexpired and bound to the current broker, this read returns ` reviewToken ` and ` reviewExpiresAt `. Agent reads never return a confirmation token. - The member reviews the account, permitted agent, symbols, limits, expiry and synthetic-protection disclosure. - The same member session calls ` sign_order_mandate ` with ` mandate_id `, exact ` card_hash ` and ` review_token `. The token is bound to account, rules, card hash and member actor. It is replaced by a newer member read and consumed on signing. It expires after at most five minutes of the runtime's clock. In this evaluator, that clock is simulated; it advances only through fixture control. This differs from the real-time HTTP signature window. The terminal helper prints the server card and requires an interactive exact ` SIGN ` response. It refuses noninteractive input. A successful automated fixture signature proves the software role and card checks; it does not prove real human attention or protect a compromised host. ## Data units and cross-field constraints - Monetary values are JSON numbers in USD, with whole-cent precision. Numbers must be finite. Price and money-limit fields using the price validator are from 1 through 1,000,000. The per-share cost allowance can be 0 through 100, in whole cents. - ` qty ` is a positive integer number of shares. An order requires exactly one of ` qty ` and ` notionalUsd `. A notional converts downward using the limit price, without rounding up to an extra share. - Timestamps such as ` expiresAt `, ` validUntil ` and ` reviewExpiresAt ` are integer Unix epoch milliseconds. - Entry intent validity must be after the runtime clock and no more than 60 seconds ahead. Entry permission expiry must be after the runtime clock and within 90 days. - Protection prices must satisfy ` floorMin <= stopPrice < softLine < limitPrice `. - A Galore entry is a regular-session, whole-share FOK limit buy. Its permission must include regular-session protection. The synthetic protection lifetime defaults to 90 days and can be 1 through 365 days, separate from entry permission expiry. - ` agents ` and ` symbols ` are explicit allowlists. The runtime authenticates the account and agent independently of the payload. The generated schema contains the exact symbol and identifier patterns and all limits and defaults. - Choose ` signalMode: discretionary ` for this evaluator's manual entry flow. Signed-automation execution APIs are not exposed in this public surface. A price trigger cannot replace a signed automation and its runtime evidence. JSON Schema cannot express all arithmetic and state-dependent constraints. Passing input-schema validation is not permission to trade. The actual Galore source performs authority, state, data, broker, reservation and final-send checks. ## Tool surface Every input is a strict object. Unknown fields are refused. See ` contract/tools.json ` for the exact running-server ` tools/list ` response. See ` outputDataSchema ` for each tool in ` contract/integration-contract.json ` for its successful structured output. | Tool | Input | Authority and successful structured result | | --- | --- | --- | | ` preview_checked_order ` | ` text ` | Agent or member. ` outcome ` is DRAFT, CLARIFY or READ_ONLY, with ` reason ` and optional parsed ` fields `. No saved permission, broker checks or submission. | | ` draft_order_mandate ` | ` permissions `, using the complete generated rules schema | Creates ` mandateId `, ` cardHash `, normalized ` card `, status pending. No authority yet. | | ` get_order_mandate ` | ` mandate_id ` | Account-bound card, hash, integrity result, account and broker-binding metadata. Only a valid member read can also return a review token and expiry. | | ` sign_order_mandate ` | ` mandate_id `, ` card_hash `, ` review_token ` | Member only. Returns the exact rules ID and active status after the checks above. | | ` submit_checked_order ` | ` order `, using the complete generated intent schema | Authenticated agent must be listed in the signed rules. Returns a Galore decision and optional actual lifecycle fields. | | ` revoke_order_mandate ` | ` mandate_id ` | Member only. Returns revoked status and ` protectionPreserved: true `. Revoked rules cannot be re-signed. | | ` halt_entries ` | ` {} ` | Stops new routed entries for the account and preserves existing signed protective exits. Does not cancel accepted broker orders. | | ` gate_status ` | ` {} ` | Draft budgets, rules, actual entries, incidents, optional connection diagnostics and exit checks. A status read itself does not advance the simulator or reconcile an unresolved broker response. | | ` close_owned_entry ` | ` client_order_id `, optional positive integer ` qty ` | Requests this authenticated agent's owned reduction under the signed floor. Returns a request acknowledgement, not a fill. | | ` discard_gate_draft ` | ` kind `, ` draft_id ` | Member only. The evaluator creates rules drafts. Only an owned unsigned draft can be discarded; quotas do not reset and active protection is preserved. | | ` get_audit_log ` | optional ` rule_id `, optional ` limit ` from 1 through 500, default 100 | Account-bound event entries with ISO time, rule ID, kind and event data. Does not prove an externally immutable archive. | | ` evaluation_control ` | Discriminated ` action ` input from the generated schema | Synthetic member only. Operates the fixture's quotes, clock, ticks and faults, then returns inspection data. Never a production or broker-management API. | The core checked-order result is: ``` { "outcome": "PASS", "reason": "filled", "clientOrderId": "example-only", "status": "filled", "ruleId": "example-only", "qty": 5 } ``` This is a shape illustration. Use the captured evidence for actual reasons and values; do not hardcode this example reason. ` outcome ` and ` reason ` are required. Other fields are present only when established by the runtime. The schema and source define their types. ## Order lifecycle and retries ` BLOCK ` refuses a request. ` HOLD ` leaves it unresolved or held. ` PASS ` and ` REPAIR ` describe checks and any permitted resizing, not a guarantee of broker acceptance or a fill. Always inspect ` status `, current Galore entries and subsequent broker outcome. An allowed FOK request can be canceled with zero acquired shares. An acknowledgement lost after simulated acceptance becomes unknown until reconciliation. Unknown reservations remain held. The evaluator's member ` tick ` runs the actual runner's connection checks, Galore reconciliation, protective exits and after-account work against its simulator. Use one stable ` eventId ` for one intended order and preserve its payload. After allocation, redelivery returns ` HOLD / EVENT_ALREADY_ALLOCATED ` with the existing client order identity and status, even if a caller substitutes new payload fields. It sends no second order and does not modify the original intent. Before allocation, a changed stored preflight intent can return ` EVENT_INTENT_CHANGED `. Never create a new event ID merely because a response was lost. The simulator snapshot preserves synthetic broker orders across a controlled server restart. The SQLite store then reconciles the original broker client ID. This verifies the tested controlled-restart scenario, not arbitrary process-kill or power-loss durability. An entry halt or revoked permission stops later entries while existing signed protection remains available. An owned-close response requests an exit. Only subsequent simulated sell fills and position reconciliation establish completion. A minimum sale price can leave an exit unfilled. ## Simulator control ` evaluation_control ` is available only to the synthetic member principal: - ` inspect `: return current scripted time, positions, orders, Galore state and protection state. - ` advance `: move the simulated clock forward by 0 through 86,400,000 milliseconds. Does not refresh a quote automatically. - ` market `: set the named fixture symbol's bid, ask and optional available sizes at the current simulated time. Bid must not exceed ask. - ` tick `: run the actual trade check and Night Stop work once. There is no automatically running background monitor in this evaluator. - ` lose_next_buy_ack `: save the next accepted simulator buy and then throw a lost-response fault. Its actual simulator order persists for reconciliation. - ` fail_next_read `: inject one dependency failure for the permitted method name. All fixture state is synthetic. No market price, real trading eligibility, broker account or live fill is represented by these controls. ## Envelopes and errors A successful JSON-RPC result contains MCP ` content ` with explanatory text and usually ` structuredContent `. The machine-readable contract defines each tool's structured data. Do not parse a human-facing sentence as a fill. An MCP tool result with ` isError: true ` is a failure. It has error text and no successful structured result. Invalid arguments, missing exact-card authority and unsupported tool calls can return this shape. A business decision such as BLOCK or HOLD is generally a normal structured result, not a transport failure. | HTTP status | Meaning | | --- | --- | | 400 | Malformed JSON, duplicate keys, unsupported JSON-RPC batch or malformed signed actor | | 401 | Missing or invalid bearer key or body-bound platform signature | | 404 | Path outside the exposed evaluation surface | | 405 | Method not supported on the MCP route | | 413 | Request body exceeds the limit | | 429 | Request or failed-authentication rate limit | | 500 | Unexpected internal failure; do not assume an order failed before submission | MCP initialization errors and unsupported protocol messages can also use standard JSON-RPC error codes from the pinned SDK. Retry only after establishing the affected order's identity and state. Incident details, connection diagnostics, raw simulator broker records, audit event data and internal protection state are explicitly extensible diagnostic objects; undocumented fields are not stable integration guarantees. ## Limits and versions The HTTP server permits 120 requests per minute per key and 30 failed authentications per minute per client IP. Raw body limit is 262,144 bytes. Galore's order payload limit is 16,384 bytes. Draft quotas are shared across an account: 10 per simulated minute, 40 per simulated day and 100 pending. Draft disposal does not reset them. Default signed entry preflight limits are four per simulated minute and 40 per simulated day. Additional signed entry, symbol, exposure and loss caps come from the permission card and generated schemas. This contract is pinned to ` 0.1.0-eval.1 `. Any changed surface or semantic constraint requires a new evaluation release and regenerated contract and evidence. Existing ` .gate-evaluation ` state is rejected if its release version differs; start a different empty state directory instead of silently migrating it. The fixture does not implement a hosted multi-user account service, production availability or live-money entries. The included broker adapter and legacy application source are provided for inspection and regression tests; they are not wired to the documented evaluation launcher. Do not infer additional public routes or production support from their presence. Reviewed 4 December 2026 --- Source: [https://trygalore.com/developers/broker-and-ai-tool-integration](https://trygalore.com/developers/broker-and-ai-tool-integration) # Keep your brokerage. Keep your AI tool. Galore sits between them. Your AI proposes a trade, Galore checks it against your rules, and your brokerage adapter sends it. ## One path **Your AI tool → Galore trade checks → your brokerage adapter → your brokerage.** The person approves the rules in their own Galore account. Switching AI models does not change the rules. ## Connect your AI tool MCP clients connect to the Galore MCP server with a key bound to one account. Tools without MCP go through your app. Keep brokerage keys in your trading service, never in the AI's prompt. Calling a tool is not approval: the person approves the exact rules, and the AI cannot approve or widen them. ## Brokerage already connected in your AI tool? Galore can review each trade before your tool's brokerage connector places it. The host reports which connector, account and environment it read. Do not paste brokerage keys into the chat or switch brokerages. Reviews today accept Alpaca, Robinhood, Kalshi, Polymarket and Interactive Brokers connectors. **A review is not a trade.** The person confirms in Galore, and the brokerage still asks for its own confirmation. In this path Galore cannot enforce the trade or verify the receipt the host reports. - Read ` galore_connection ` for the brokerage and environment you actually use. Never fall back to another brokerage. - Read the real account and order data, then call ` prepare_chat_trade_review `. - The person confirms the review in Galore. The brokerage keeps its own confirmation. - Read the brokerage's result, then record it with ` report_chat_broker_receipt `. The person sees reviews in the [Galore dashboard](https://connect.trygalore.com/dashboard/). Opening it approves nothing. ## Brokerage adapters The adapter turns your brokerage's accounts, prices and orders into what the check needs, and owns reconciliation. What an adapter must provide | Area | What it must keep | | --- | --- | | Account | Account ID, environment, holdings, buying power and anything the rules depend on. | | Stock and session | Whether it can trade, which order types, which session, and fresh prices. | | Sending | Exact symbol, side, quantity, price, environment and one stable ID per trade. | | Lookup | Find a trade by its ID, list open orders, and settle unknown outcomes before any retry. | | Results | Accepted, partly filled, filled, rejected, canceled or still open. | | Connection | Spot expired access, keep known state, and stop new trades when data is missing. | Never report an unsupported brokerage feature as a passed check. Each new adapter must prove its own order IDs, cancels and delayed outcomes. ## Tested so far Any brokerage and AI tool can fit this design. Galore runs live with real money at the five supported brokerages. To try it first without a brokerage account, the [local release](https://trygalore.com/developers/gate-evaluation) runs with a simulated broker under its [contract](https://trygalore.com/developers/gate-integration-contract). ## Tell us your setup Which brokerage and AI tool, who holds brokerage keys, which accounts and sessions, and who handles unresolved trades. Never send keys. Start with the [pilot checklist](https://trygalore.com/developers/evaluate-pre-trade-gateway), then [contact us](https://trygalore.com/contact). [Tool names and keys](https://trygalore.com/developers) · [Trace a trade to the brokerage](https://trygalore.com/learn/trade-approved-but-not-filled) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) Reviewed 4 December 2026 --- Source: [https://trygalore.com/learn/pre-trade-check-python](https://trygalore.com/learn/pre-trade-check-python) # Pre-trade checks in Python A failed position lookup is not a zero position. Hold the trade instead. By Galore. Reviewed 4 December 2026. [Source on GitHub](https://github.com/mehek-builds/galore-examples) · [Watch the 60-second walkthrough](https://trygalore.com/watch/pre-trade-check-python) ## Run in Google Colab [Open the notebook](https://colab.research.google.com/drive/1W2TIFshiaCURdcc3IWUjuIsaX5f28jnk), then choose **Runtime > Run all** with your own Google account. Checked in Colab on 4 December 2026: fourteen cases, one allowed, thirteen refused, zero broker calls. ## Run it locally Download [pre_trade_check.py](https://trygalore.com/examples/pre_trade_check.py), read it, and run it with Python 3.10 or later. Standard library only. No keys, no network, no orders. ``` mkdir galore-pretrade && cd galore-pretrade curl --fail --location --output pre_trade_check.py https://trygalore.com/examples/pre_trade_check.py # Inspect the downloaded source before running it. python3 pre_trade_check.py ``` [Expected output](https://trygalore.com/examples/pre-trade-results.json). One case is allowed for simulation; thirteen are refused. ## The mistake to avoid Do not turn every lookup error into a zero position. An outage, an expired key and a truly empty position mean different things. If you cannot see the account, hold the trade and say why. ``` if evidence is None: return "account_state_unknown" if not 0 <= now - evidence.observed_at <= 30: return "account_state_stale" ``` The thirty-second window is an example, not a safe default. ## What it checks - The rules are verified, unexpired and still on. - The account, AI and symbol match the rules. - Account data is present, fresh and matching. - The session, trade value, position size and buying power fit. - Numbers are valid decimals. ## Results Fourteen fixed, hypothetical cases | Case | Decision | | --- | --- | | within_limits | ` allowed_for_simulation ` | | authority_not_verified | ` authority_unverified ` | | revoked_permission | ` permission_revoked ` | | expired_permission | ` permission_expired ` | | different_account | ` identity_mismatch ` | | different_agent | ` identity_mismatch ` | | unapproved_symbol | ` symbol_not_allowed ` | | missing_position_lookup | ` account_state_unknown ` | | stale_account_snapshot | ` account_state_stale ` | | closed_session | ` session_not_allowed ` | | oversized_order | ` order_limit_exceeded ` | | oversized_position | ` position_limit_exceeded ` | | insufficient_buying_power | ` buying_power_exceeded ` | | nonfinite_quote | ` invalid_numeric_input ` | ## Read the code Show the Python example ``` """Galore educational pre-trade check. Python 3.10+, standard library only. Run: python3 pre_trade_check.py No broker connection, credentials, network requests or order submission. This pure example is not the Galore Gate SDK or a production risk engine. Identity verification, permission signing and durable reservations are external. """ from dataclasses import dataclass, replace from decimal import Decimal, DecimalException import json @dataclass(frozen=True) class Permission: account: str agent: str symbols: tuple[str, ...] expires_at: int max_order_usd: str max_position_usd: str revoked: bool = False @dataclass(frozen=True) class BuyIntent: account: str agent: str symbol: str quantity: str limit_price: str @dataclass(frozen=True) class AccountEvidence: account: str observed_at: int position_quantity: str buying_power_usd: str quote: str session_allowed: bool def money(value): if not isinstance(value, str) or len(value) > 64: raise ValueError("Use a bounded decimal string") number = Decimal(value) if not number.is_finite() or number < 0: raise ValueError("Expected a finite nonnegative decimal") return number def check_buy(permission, intent, evidence, *, now, authority_verified): """Call only after a trusted service verifies the customer and agent. authority_verified is an upstream trust boundary, not an agent-supplied assertion. A True result grants no credential and submits no order. Scope: a hypothetical USD-denominated limit buy in a known paper account. """ if authority_verified is not True: return "authority_unverified" if permission.revoked: return "permission_revoked" if now >= permission.expires_at: return "permission_expired" if intent.account != permission.account or intent.agent != permission.agent: return "identity_mismatch" if intent.symbol not in permission.symbols: return "symbol_not_allowed" if evidence is None: return "account_state_unknown" if evidence.account != permission.account: return "account_state_mismatch" if not 0 <= now - evidence.observed_at <= 30: return "account_state_stale" if evidence.session_allowed is not True: return "session_not_allowed" try: quantity, limit_price = money(intent.quantity), money(intent.limit_price) position, buying_power = money(evidence.position_quantity), money(evidence.buying_power_usd) quote = money(evidence.quote) max_order, max_position = money(permission.max_order_usd), money(permission.max_position_usd) if quantity == 0 or limit_price == 0 or quote == 0: return "invalid_numeric_input" order_cost = quantity * limit_price # Conservative hypothetical marked exposure, not a broker margin model. position_value = (position + quantity) * max(quote, limit_price) if order_cost > max_order: return "order_limit_exceeded" if position_value > max_position: return "position_limit_exceeded" if order_cost > buying_power: return "buying_power_exceeded" except (DecimalException, TypeError, ValueError): return "invalid_numeric_input" return "allowed_for_simulation" def scenarios(): now = 1_800_000_000 permission = Permission("paper-example", "example-agent", ("EXAMPLE",), now + 60, "500", "2000") intent = BuyIntent("paper-example", "example-agent", "EXAMPLE", "2", "100") state = AccountEvidence("paper-example", now, "3", "1000", "100", True) cases = [ ("within_limits", permission, intent, state, True), ("authority_not_verified", permission, intent, state, False), ("revoked_permission", replace(permission, revoked=True), intent, state, True), ("expired_permission", replace(permission, expires_at=now), intent, state, True), ("different_account", permission, replace(intent, account="another-account"), state, True), ("different_agent", permission, replace(intent, agent="another-agent"), state, True), ("unapproved_symbol", permission, replace(intent, symbol="OTHER"), state, True), ("missing_position_lookup", permission, intent, None, True), ("stale_account_snapshot", permission, intent, replace(state, observed_at=now - 31), True), ("closed_session", permission, intent, replace(state, session_allowed=False), True), ("oversized_order", permission, replace(intent, quantity="6"), state, True), ("oversized_position", permission, intent, replace(state, position_quantity="20"), True), ("insufficient_buying_power", permission, intent, replace(state, buying_power_usd="100"), True), ("nonfinite_quote", permission, intent, replace(state, quote="NaN"), True), ] return [{"scenario": name, "decision": check_buy(p, i, e, now=now, authority_verified=verified)} for name, p, i, e, verified in cases] if __name__ == "__main__": print(json.dumps({"mode": "local_simulation_only", "broker_requests": 0, "results": scenarios()}, indent=2)) ``` ## What it does not do It models a USD limit buy with practice money and trusts its inputs. An AI must never set ` authority_verified ` itself. There is no login, signature, brokerage connection, sell protection, shorting, margin or tamper-evident record. A real integration also needs stable order IDs, reservations and reconciliation. If a send times out, keep the outcome unknown instead of placing another order. Passing this check is not a fill. [Next: a retry journal for timeouts](https://trygalore.com/learn/prevent-duplicate-trading-orders). ## Where Galore fits Galore runs these checks for real, against rules the person approved. This download is teaching code, not a Galore SDK. [Run the Galore runtime locally](https://trygalore.com/developers/gate-evaluation). [Developer docs](https://trygalore.com/developers) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) · [Contact us](https://trygalore.com/contact) Reviewed 4 December 2026 --- Source: [https://trygalore.com/learn/prevent-duplicate-trading-orders](https://trygalore.com/learn/prevent-duplicate-trading-orders) # Stop a retry from becoming a second trade A timeout means the reply is missing, not that the brokerage said no. Save the trade, mark its outcome unknown and check before you send it again. By Galore. Reviewed 3 December 2026. [Source and tests on GitHub](https://github.com/mehek-builds/galore-examples). ## Run it Download [order_retry_journal.py](https://trygalore.com/examples/order_retry_journal.py), read it, and run it with Python 3.10 or later. It uses SQLite and the standard library, cleans up its temporary database, and makes no network calls or orders. ``` python3 order_retry_journal.py ``` Put [the twelve behavior checks](https://trygalore.com/examples/order_retry_journal_test.py) in the same folder and run: ``` python3 order_retry_journal_test.py ``` [Expected results](https://trygalore.com/examples/order-retry-results.json): thirteen cases, one simulated send, zero broker calls. ## One ID for one trade Pick a stable ID before sending and reuse it for every retry. Tie it to the account, the AI, the rules, the symbol, the quantity and the limit price. Reusing the ID with different details is an idempotency conflict. A unique database key stops local duplicates; it does not make the brokerage idempotent. ## Save the uncertainty first - Save the exact trade in a database transaction. - Check the rules again just before sending. If they were turned off first, the trade stops. - Save ` UNKNOWN ` before calling the brokerage. - After a timeout or restart, look the trade up at the brokerage by its stable ID. If you still cannot tell, keep it unknown. - Record acceptance and fills separately. A repeated delivery reads the saved state and never sends again. The example stops at step three and takes outcomes as inputs. If it crashes after saving ` UNKNOWN ` but before sending, the trade waits for a person to resolve it. That is on purpose. ## Results Thirteen cases from the downloadable program | Case | Result | | --- | --- | | first_intent | ` reserved_for_simulation ` | | first_dispatch_claim | ` dispatch_once_for_simulation ` | | retry_after_unknown_outcome | ` reconcile_required ` | | second_dispatch_claim | ` reconcile_required ` | | same_key_changed_order | ` idempotency_conflict ` | | retry_after_restart | ` reconcile_required ` | | acknowledged_is_not_filled | ` ACKNOWLEDGED ` | | retry_after_fill | ` already_recorded ` | | wrong_agent | ` identity_mismatch ` | | invalid_quantity | ` invalid_intent ` | | new_order_after_revoke | ` permission_revoked ` | | revoke_between_reserve_and_dispatch | ` permission_revoked ` | | expiry_boundary | ` permission_expired ` | ## Turning rules off, and the record SQLite transactions put saving, turning rules off and sending in one order. Rules are checked again at send time. Turning them off after that cannot pull back a trade already sent. A real executor has to handle that gap. Every event goes into a local table that blocks ordinary edits and deletes. A database administrator can still change it, so this is not an immutable archive. ## Read the code Show the full SQLite example ``` """Educational local order journal. No broker, credentials, network or SDK. Demonstrates durable intent identity and conservative retry handling in SQLite. Permission creation/revocation and outcome recording require a trusted caller. There is no authentication, portfolio risk engine or live execution adapter here. """ from contextlib import contextmanager from dataclasses import dataclass, replace import json from pathlib import Path import re import sqlite3 from tempfile import TemporaryDirectory def identifier(value): return isinstance(value, str) and re.fullmatch(r"[A-Za-z0-9_.:-]{1,96}", value) is not None def positive_int(value): return type(value) is int and 0 < value <= 10**12 @dataclass(frozen=True) class Intent: account: str agent: str symbol: str quantity: int limit_cents: int class Journal: def __init__(self, path): self.db = sqlite3.connect(path, isolation_level=None, timeout=10) self.db.execute("PRAGMA synchronous=FULL") self.db.executescript(""" CREATE TABLE IF NOT EXISTS permissions ( id TEXT PRIMARY KEY, account TEXT NOT NULL, agent TEXT NOT NULL, expires_at INTEGER NOT NULL, revoked INTEGER NOT NULL DEFAULT 0); CREATE TABLE IF NOT EXISTS attempts ( id TEXT PRIMARY KEY, permission_id TEXT NOT NULL, payload TEXT NOT NULL, state TEXT NOT NULL); CREATE TABLE IF NOT EXISTS audit ( seq INTEGER PRIMARY KEY, operation_id TEXT NOT NULL, event TEXT NOT NULL); CREATE TRIGGER IF NOT EXISTS audit_no_update BEFORE UPDATE ON audit BEGIN SELECT RAISE(ABORT, 'audit is append-only'); END; CREATE TRIGGER IF NOT EXISTS audit_no_delete BEFORE DELETE ON audit BEGIN SELECT RAISE(ABORT, 'audit is append-only'); END; """) def close(self): self.db.close() @contextmanager def transaction(self): # Serializes competing local writers, including revoke and dispatch claims. self.db.execute("BEGIN IMMEDIATE") try: yield self.db.execute("COMMIT") except BaseException: self.db.execute("ROLLBACK") raise def event(self, key, event): self.db.execute("INSERT INTO audit(operation_id,event) VALUES (?,?)", (key, event)) def create_permission(self, permission_id, account, agent, expires_at): if not all(map(identifier, (permission_id, account, agent))) or not positive_int(expires_at): raise ValueError("invalid permission") with self.transaction(): # Never upsert: a revoked permission identifier cannot be resurrected. self.db.execute("INSERT INTO permissions VALUES (?,?,?,?,0)", (permission_id, account, agent, expires_at)) self.event(permission_id, "permission_created") def revoke(self, permission_id): with self.transaction(): changed = self.db.execute("UPDATE permissions SET revoked=1 WHERE id=?", (permission_id,)).rowcount if changed != 1: raise ValueError("unknown permission") self.event(permission_id, "permission_revoked") def permission_error(self, permission_id, intent, now): row = self.db.execute("SELECT account,agent,expires_at,revoked FROM permissions WHERE id=?", (permission_id,)).fetchone() if row is None: return "permission_unknown" account, agent, expires_at, revoked = row if (account, agent) != (intent.account, intent.agent): return "identity_mismatch" if revoked: return "permission_revoked" if now >= expires_at: return "permission_expired" return None def reserve(self, key, permission_id, intent, *, now): if (not isinstance(intent, Intent) or not all(map(identifier, (key, permission_id, intent.account, intent.agent, intent.symbol))) or not positive_int(intent.quantity) or not positive_int(intent.limit_cents) or type(now) is not int or not 0 <= now <= 10**12): return "invalid_intent" payload = json.dumps([permission_id, intent.account, intent.agent, intent.symbol, intent.quantity, intent.limit_cents], separators=(",", ":")) with self.transaction(): existing = self.db.execute("SELECT payload,state FROM attempts WHERE id=?", (key,)).fetchone() if existing: if existing[0] != payload: return "idempotency_conflict" # A repeat is an observation, never another dispatch permission. return "reconcile_required" if existing[1] in ("RESERVED", "UNKNOWN") else "already_recorded" error = self.permission_error(permission_id, intent, now) if error: return error self.db.execute("INSERT INTO attempts VALUES (?,?,?,?)", (key, permission_id, payload, "RESERVED")) self.event(key, "intent_reserved") return "reserved_for_simulation" def claim_dispatch(self, key, *, now): if not identifier(key) or type(now) is not int or not 0 <= now <= 10**12: return "invalid_intent" with self.transaction(): row = self.db.execute("SELECT permission_id,payload,state FROM attempts WHERE id=?", (key,)).fetchone() if row is None: return "intent_unknown" permission_id, payload, state = row if state != "RESERVED": return "reconcile_required" if state == "UNKNOWN" else "already_recorded" fields = json.loads(payload) error = self.permission_error(permission_id, Intent(*fields[1:]), now) if error: self.db.execute("UPDATE attempts SET state='BLOCKED' WHERE id=?", (key,)) self.event(key, error) return error # Persist uncertainty BEFORE a hypothetical external call. A crash # here can hold an unsent order, but cannot grant a blind second send. self.db.execute("UPDATE attempts SET state='UNKNOWN' WHERE id=?", (key,)) self.event(key, "dispatch_claimed_for_simulation") return "dispatch_once_for_simulation" def record_outcome(self, key, outcome): if outcome not in ("ACKNOWLEDGED", "FILLED", "REJECTED"): raise ValueError("invalid outcome") with self.transaction(): row = self.db.execute("SELECT state FROM attempts WHERE id=?", (key,)).fetchone() if row is None or (row[0] not in ("UNKNOWN", "ACKNOWLEDGED") and row[0] != outcome): raise ValueError("invalid outcome transition") if row[0] != outcome: self.db.execute("UPDATE attempts SET state=? WHERE id=?", (outcome, key)) self.event(key, outcome) def scenarios(): rows = [] def observed(name, value): rows.append({"scenario": name, "result": value}) with TemporaryDirectory(prefix="galore-journal-") as directory: path = str(Path(directory) / "paper.sqlite") j = Journal(path) intent = Intent("paper-account", "example-agent", "EXAMPLE", 1, 10000) j.create_permission("p1", intent.account, intent.agent, 100) observed("first_intent", j.reserve("order-1", "p1", intent, now=10)) observed("first_dispatch_claim", j.claim_dispatch("order-1", now=11)) observed("retry_after_unknown_outcome", j.reserve("order-1", "p1", intent, now=12)) observed("second_dispatch_claim", j.claim_dispatch("order-1", now=12)) observed("same_key_changed_order", j.reserve("order-1", "p1", replace(intent, quantity=2), now=12)) j.close() j = Journal(path) observed("retry_after_restart", j.reserve("order-1", "p1", intent, now=13)) j.record_outcome("order-1", "ACKNOWLEDGED") observed("acknowledged_is_not_filled", j.db.execute("SELECT state FROM attempts WHERE id='order-1'").fetchone()[0]) j.record_outcome("order-1", "FILLED") observed("retry_after_fill", j.reserve("order-1", "p1", intent, now=14)) observed("wrong_agent", j.reserve("order-2", "p1", replace(intent, agent="other"), now=14)) observed("invalid_quantity", j.reserve("order-2", "p1", replace(intent, quantity=True), now=14)) j.revoke("p1") observed("new_order_after_revoke", j.reserve("order-2", "p1", intent, now=14)) j.create_permission("p2", intent.account, intent.agent, 20) j.reserve("order-3", "p2", intent, now=19) j.revoke("p2") observed("revoke_between_reserve_and_dispatch", j.claim_dispatch("order-3", now=19)) j.create_permission("p3", intent.account, intent.agent, 20) observed("expiry_boundary", j.reserve("order-4", "p3", intent, now=20)) j.close() return {"example": "local SQLite retry journal", "broker_requests": 0, "dispatch_claims_for_simulation": 1, "results": rows} if __name__ == "__main__": print(json.dumps(scenarios(), indent=2)) ``` ## What it does not do It trusts its caller and clock, and has no authentication, signatures, brokerage IDs, reservations, partial fills or live sending. Only the person, never the AI, should turn rules on or off. Never make a new ID just because a call timed out. This is teaching code, not the Galore runtime. To check trades against rules a person approved, [run Galore locally](https://trygalore.com/developers/gate-evaluation). [Check a trade before sending it](https://trygalore.com/learn/pre-trade-check-python) · [Compare approaches](https://trygalore.com/compare/pre-trade-tools) · [Developer docs](https://trygalore.com/developers) Reviewed 3 December 2026 --- Source: [https://trygalore.com/developers/evaluate-pre-trade-gateway](https://trygalore.com/developers/evaluate-pre-trade-gateway) # Evaluate Galore for your trading app For teams whose AI trades for people. Galore checks every trade against rules each person approved, then records the brokerage's answer. Start with a pilot on practice money, then go live. ## What to try Galore for trading apps | You need | Try | Today | | --- | --- | --- | | Every AI trade checked against approved rules | Galore trade checks | [Run it locally](https://trygalore.com/developers/gate-evaluation) and read the [contract](https://trygalore.com/developers/gate-integration-contract). Local checks use a synthetic broker. Galore runs live with real money at the five supported brokerages. | | Selling if a stock drops overnight | Night Stop | Included in Standard. | ## What does it cost? Standard is $19 a month with Night Stop. Business pricing is a custom licence with a flat fee, never a cut of trades. Ask us for a quote for your setup. [Choose how your AI tool and brokerage connect](https://trygalore.com/developers/broker-and-ai-tool-integration). ## What to tell us - What your app does, which brokerage and assets, and which sessions. - Which service holds brokerage keys, and whether the AI can go around the check. - Who signs the person in and shows them the exact rules to approve. - The order types, sizes, rule expiry, turning rules off and stop behavior you need. - Who reconciles fills, partial fills, cancels and unknown outcomes. - Expected accounts and trades, hosting needs and who runs it. Send this through the [contact page](https://trygalore.com/contact). Never include brokerage keys or account numbers. ## Agree on pass marks first - The person can read and approve the exact rules. The AI cannot approve or widen them. - Wrong account, unknown AI, expired or turned-off rules, or missing data stop new trades. - Repeated deliveries share one trade ID; an unknown brokerage answer gets reconciled. - Records link the rules version, the check, the trade ID and the brokerage's answer. Practice fills stay labeled practice. - Turning rules off or halting has a clear edge. It does not quietly cancel orders the brokerage already accepted. - Any path around the check, monitoring duties and an incident owner are written down. Outside insurance is not offered yet. ## See the evidence [Fourteen pre-trade cases](https://trygalore.com/learn/pre-trade-check-python) · [Thirteen retry cases](https://trygalore.com/learn/prevent-duplicate-trading-orders) · [Ten trade-record cases](https://trygalore.com/learn/trade-approved-but-not-filled) · [Night Stop simulation](https://trygalore.com/research/paper-validation) · [Other approaches](https://trygalore.com/compare/pre-trade-tools) [Developer docs](https://trygalore.com/developers) · [Pricing](https://trygalore.com/pricing) · [Contact us](https://trygalore.com/contact) Reviewed 4 December 2026 --- Source: [https://trygalore.com/learn/trade-approved-but-not-filled](https://trygalore.com/learn/trade-approved-but-not-filled) # My AI approved a trade. Why did nothing fill? Allowed is not sent, and sent is not filled. Follow one trade ID from the rules to the brokerage's record. By Galore. Uses practice records only. Nothing here reads an account or places a trade. ## Find the last step you can prove - **Rules:** find the rules ID the person approved, its version, the account and the AI. Text from the AI is not the person's approval. - **Check:** find the allow, deny or hold for this exact trade. The AI saying "approved" does not count. - **Send:** match the stable trade ID to the brokerage's order ID. A timeout means unknown, not rejected. - **Brokerage:** look up the same environment, account and order in the brokerage's own records. Keep accepted, open, partly filled, filled, canceled and rejected apart. - **Shares filled:** a canceled order can still be partly filled. Keep those shares. At Alpaca you can look up an order by your ID or theirs. See [Alpaca's order lifecycle](https://docs.alpaca.markets/us/docs/orders-at-alpaca) for current states. ## Run a read-only check Download [order_evidence.py](https://trygalore.com/examples/order_evidence.py) and [its ten tests](https://trygalore.com/examples/order_evidence_test.py). Python 3.10 or later, standard library only. Read both, then run them in an empty folder. ``` python3 order_evidence.py python3 order_evidence_test.py # Optional: inspect a local practice record you control python3 order_evidence.py local-record.json ``` The first command reproduces the [ten expected results](https://trygalore.com/examples/order-evidence-results.json). The third reads one local file only. Never post keys or account data in a support message. Practice records, not brokerage data | Case | What the records show | Shares filled | | --- | --- | --- | | approved_only | ` no_submission_recorded ` | Not established | | submission_timed_out | ` unknown ` | Not established | | accepted_not_filled | ` open ` | 0 | | partial_fill | ` partial ` | 4 | | fully_filled | ` filled ` | 10 | | broker_rejected | ` rejected ` | 0 | | canceled_after_partial_fill | ` canceled ` | 4 | | denied_but_broker_filled | ` filled ` | 10 | | wrong_account | ` inconsistent_evidence ` | Not established | | false_fill_status | ` inconsistent_evidence ` | Not established | ## What it does It flags records that disagree on account, environment, order ID or quantity. If a deny conflicts with a real fill, it keeps the fill and flags the conflict. It never authorizes resubmission. A missing send record only means the file has none, not that no order exists. It trusts its input, checks no signatures and contacts no brokerage. This is teaching code, not a Galore SDK. ## Where Galore fits Galore checks each AI trade against the rules the person approved and keeps the brokerage's answer with it. Galore runs live with real money at the five supported brokerages. [Pilot checklist](https://trygalore.com/developers/evaluate-pre-trade-gateway) · [Retry without guessing](https://trygalore.com/learn/prevent-duplicate-trading-orders) · [Trade history](https://trygalore.com/history) · [Source](https://github.com/mehek-builds/galore-examples) Reviewed 4 December 2026 --- Source: [https://trygalore.com/compare/pre-trade-tools](https://trygalore.com/compare/pre-trade-tools) # Which trade check fits your AI? Compare where the check runs and what you still build. Based on each provider's own docs, not a head-to-head test. ## Galore Checks each AI trade against rules the person approved, before it reaches the brokerage, and records the result. Works with any brokerage through an adapter. [Run it locally](https://trygalore.com/developers/gate-evaluation) with a simulated broker (26 end-to-end checks, 447 tests) and read the [full contract](https://trygalore.com/developers/gate-integration-contract). Galore runs live with real money at the five supported brokerages. If your AI tool already holds the brokerage connection, Galore can review each trade first but cannot enforce that path. [Choose a path](https://trygalore.com/developers/broker-and-ai-tool-integration). ## Pit Officer and OpenPit A self-hosted pre-trade system with brokerage connections and operator review. OpenPit is its embeddable risk engine. [Pit Officer](https://officer.openpit.dev/). ## AgentRisk A Python policy checker with MCP and Claude support. It returns a verdict but places nothing, so your app must enforce it. [Source and docs](https://github.com/trycoin-ai/agentrisk). ## SatGate Advertises spending caps, approval thresholds and signed receipts for trading agents. Personal is $9.99 a month after a 30-day trial, Pro is $99 a month, and Enterprise is custom and self-hosted. [SatGate pricing](https://satgate.io/pricing), checked 4 December 2026. ## Choose by the job Where each approach fits, not a ranking | You need | Look at | You still check | | --- | --- | --- | | Rules a person approved, tied to every trade | [Galore](https://trygalore.com/developers/gate-evaluation) | Run the local release; ask us about a hosted setup. | | A self-hosted risk system | Pit Officer | Its connections and setup for your environment. | | A verdict you enforce yourself | AgentRisk | Your app still blocks the trade and tracks it. | | Placing orders directly | Your brokerage API | An accepted order is not a fill and does not show what the person approved. | ## Open Policy Agent A general policy engine. Your app still supplies account data, order IDs, brokerage connections and reconciliation. [Agent tool-calling docs](https://www.openpolicyagent.org/docs/agent-tool-calling). ## NautilusTrader A full trading framework with its own risk engine. Check its adapter for your brokerage. [Architecture docs](https://nautilustrader.io/docs/latest/concepts/architecture/). ## Brokerage previews Interactive Brokers' WhatIf endpoint previews an order without placing it. A preview does not show what the person approved or promise a fill. [IBKR preview docs](https://www.interactivebrokers.com/docs/web-api/v1/endpoints/orders/preview-order-what-if-order). ## Brokerage APIs and MCP tools They expose accounts, orders and prices and keep their own checks. You still need a record of what the person allowed. [Alpaca agent tools](https://docs.alpaca.markets/us/docs/trading-api-mcp). ## Ask every provider - Can the AI go around the check with another key? - Who approves the rules, and can the AI widen them? - What happens when the brokerage's answer is unknown? - Do retries share one order ID? - Does stopping new trades keep protective sales? - Which brokerage and session were actually tested? ## Cost Standard is $19 a month with Night Stop. Business pricing is a custom licence with a flat fee, never a cut of trades. [Pilot checklist and pricing](https://trygalore.com/developers/evaluate-pre-trade-gateway) · [Trace a trade](https://trygalore.com/learn/trade-approved-but-not-filled) · [Retry journal](https://trygalore.com/learn/prevent-duplicate-trading-orders) · [Python example](https://trygalore.com/learn/pre-trade-check-python) · [Contact us](https://trygalore.com/contact) Reviewed 3 December 2026 --- Source: [https://trygalore.com/learn/overnight-stop-loss](https://trygalore.com/learn/overnight-stop-loss) # Do stop-loss orders work overnight? Usually not. At brokerages with an overnight session, like Robinhood, only limit orders are taken, so a regular stop-loss waits for the morning. Night Stop watches your stocks overnight and sells if they drop, never below your floor. ## What happens to your stop overnight Robinhood's own help page says stop orders and trailing stop orders "won't execute during extended or overnight hours", and that its venues don't take market orders then ([Robinhood extended-hours trading](https://robinhood.com/us/en/support/articles/extendedhours-trading/)). A stop you leave on waits for the regular open. If a stock drops at 2 a.m., your stop only acts once the market opens, at whatever price it opens at. Other brokerages set their own rules for the overnight session. Check your brokerage's order-type page before you rely on a stop at night. ## How Night Stop covers the night - **Soft line.** Sells only if a drop lasts 5 minutes and the whole market moves too, or lasts 15 minutes on its own. - **Hard floor.** Always acts, but gently: it waits a moment, then sells in small pieces sized to the buyers who are there. - **Never below your floor.** Each sale is a limit order at a price you set. - **No pile-ups.** Your levels are nudged off round numbers, so stops don't all go off at the same price. - **Morning report by 7 a.m.** What happened, what sold and why, including nights when holding would have been better. ## What it can't promise A limit order needs a buyer. If nobody is buying at or above your floor, part of a sale can stay unfilled. Overnight drops often partly reverse by the open. Night Stop keeps you to your plan while you sleep; it does not promise a better price than waiting. ## What it costs Night Stop is included in the Galore membership, $19 a month. No extra cost. [Night Stop](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing) Reviewed 5 December 2026 --- Source: [https://trygalore.com/learn/ai-trading-agent-limits](https://trygalore.com/learn/ai-trading-agent-limits) # How to set limits on an AI that trades for you A rule only counts if it stops the trade. Put it at your brokerage, or in a check that sits between your AI and your brokerage. A rule written only in the prompt is a suggestion. ## Three places a rule can live Where a trading rule is enforced | Where | Examples | Can the AI get around it? | | --- | --- | --- | | Your brokerage | A separate account for the AI, how much you fund it, trade approvals, read-only access | No, but most brokerages offer few rules beyond these | | A check before your brokerage | Galore: what the AI can trade, how much, when, and one off switch | No, for trades sent through the check | | The prompt | "Never risk more than 2%" | Yes | ## What your brokerage already gives you - **Robinhood**: Robinhood Agents, its in-app AI, trades in its own Agentic account with trade approvals on by default ([Robinhood Agents](https://robinhood.com/us/en/support/articles/robinhood-agents-overview/)). Outside AIs connected to Robinhood also trade only in the Agentic account ([Robinhood agentic trading](https://robinhood.com/us/en/support/articles/agentic-trading-overview/)). What you put in that account is the most it can spend. - **Alpaca**'s MCP server starts with practice money, not real money, and you can leave out its trading tools so it can only read ([Alpaca MCP server](https://docs.alpaca.markets/us/docs/alpaca-mcp-server)). - Check your own brokerage for per-trade caps. Many have none for AI connections. ## Rules Galore checks on every trade - Which stocks or markets the AI can trade. - How much per trade and in total. - When it can trade. - Which AI, on which account. Only your AI, on your account, can trade. - One off switch that stops every AI at once. Sales that protect what you own still run. You write the rules in plain words and approve them once, in your browser. Your AI can't approve or widen them. A trade outside your rules is stopped before your brokerage, and every check is saved. ## Connect it Add ` https://connect.trygalore.com/mcp ` to Claude, ChatGPT or any MCP client and sign in. Galore works with Alpaca, Robinhood, Interactive Brokers, Kalshi and Polymarket. If Galore lets through a trade your rules don't allow, that month is free. [Night Stop](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing) Reviewed 5 December 2026 --- Source: [https://trygalore.com/learn/broker-mcp-server-trading-limits](https://trygalore.com/learn/broker-mcp-server-trading-limits) # Add your own rules to a brokerage MCP server A brokerage's MCP server lets your AI place real orders. Galore's MCP server checks each trade your AI sends through it against rules you approve, before it reaches your brokerage. ## What the brokerage servers give you - **Alpaca**: starts with practice money, not real money; you choose which tool sets load ([docs](https://docs.alpaca.markets/us/docs/alpaca-mcp-server)). Its docs list no per-order size or stock rules. - **Robinhood**: an outside AI can trade only in your Agentic account. It can trade without asking you if you tell it to ([Robinhood agentic trading](https://robinhood.com/us/en/support/articles/agentic-trading-overview/)). - **Interactive Brokers**: see [IBKR's AI integrations page](https://www.interactivebrokers.com/en/trading/ai-integrations.php) for what your account allows. ## Add Galore - Add ` https://connect.trygalore.com/mcp ` as a connector and sign in. - Tell your AI your rules in plain words: what it can trade, how much and when. You approve them once, in your browser. - Your AI sends trades through Galore. Each one is checked, then sent to your brokerage or stopped. If your AI places a trade through the brokerage's own connector instead, Galore reviews it first but can't block that path. For full checks, send trades through Galore. ## Main tools - ` galore_connection `: find the brokerage connection. - ` draft_existing_permissions `: draft your rules; you approve them. - ` preview_existing_order `: check a trade without sending it. - ` submit_existing_order `: send one trade under your approved rules. - ` halt_entries `: stop all new buys. Every tool: the [Galore MCP server](https://trygalore.com/developers/mcp) page. Galore is listed in the official MCP registry as ` com.trygalore/galore `. [Night Stop](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing) Reviewed 5 December 2026 --- Source: [https://trygalore.com/learn/ai-agent-trade-loss-cover](https://trygalore.com/learn/ai-agent-trade-loss-cover) # Does anything cover a trade your AI wasn't allowed to make? Not much. A trade your AI places with access you gave it usually counts as your own trade. Galore stops trades outside your rules before your brokerage, and if one gets through, that month is free. ## What SIPC covers SIPC protects your cash and securities if your brokerage fails. It "does not protect against the decline in value of your securities" ([SIPC](https://www.sipc.org/for-investors/what-sipc-protects)). A bad trade by your AI is not covered. ## Why your brokerage usually won't either When you connect an AI to your account, its trades are made with your permission. Robinhood's page for outside AI agents says you are responsible for the trades your agent places ([Robinhood agentic trading](https://robinhood.com/us/en/support/articles/agentic-trading-overview/)). Read your brokerage's terms for how it treats access you give an app. ## What Galore does - Checks every trade your AI sends through Galore against the rules you approved, before your brokerage. - Stops trades from an AI you didn't approve, and trades after you turned an AI off. - Saves your rules, the trade and the check, so there is nothing to argue about. ## Our promise If Galore lets through a trade your rules don't allow, a trade from an AI you didn't approve, or a trade after you turned an AI off, that month is free. It comes with your membership. Market losses and trades your rules allowed are not covered. It is not insurance. [Night Stop](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing) Reviewed 5 December 2026