How StaxInvesting Works: The Self-Hosted Model Explained

By Stax Team

There is a question that comes before should I trust this, and it is usually skipped: what actually happens? Which programs run on which machines. What talks to what. Who holds the money. What the software is capable of doing and what it is structurally incapable of doing. What breaks when a piece of it fails.

Most explanations of trading software land on one of two extremes — marketing abstraction that explains nothing, or engineering documentation that assumes you already understand the architecture. This page is the middle. It describes the self-hosted model in plain terms, including the parts that are inconvenient.

The Three-Party Model

Everything about this architecture follows from one fact: there are three separate parties, and the one holding your money is not the software vendor.

You own the brokerage account, the money in it, the cloud environment the software runs in, the configuration that governs its behavior, and the credentials that connect the two. Every consequential decision — how much to risk per trade, where stops go, which hours to trade, when to stop — is yours, and remains yours while the system runs.

Your broker holds your money in an account in your name, executes orders, and — this is the part that matters most — enforces what the connected software is permitted to do. The broker is not a passive pipe. It is an independent party that checks every request against the permissions you granted and rejects anything outside them.

StaxInvesting provides the software, pushes updates to it, and distributes alerts. It does not hold your money, does not have access to your running instance, and cannot place a trade your configuration did not authorize.

The reason this structure matters is that the party with the most theoretical incentive to misbehave — the vendor — is the party with the least access, and the party enforcing the boundary is a regulated third party with no incentive to let an unauthorized instruction through. That is a stronger arrangement than any promise, because it does not depend on anyone keeping one.

What Runs Where

Concretely, the components and their locations.

The automation engine runs in your cloud environment. This is the process that receives signals, evaluates them against your configuration, checks them against your risk limits, sends orders to your broker, and manages open positions through their exit logic. It is the part that does the work, and it executes on infrastructure you own and control. StaxInvesting does not have access to individual running instances — no one at the company can log into your bot, watch your positions, or operate your account manually.

The interface is split. A lightweight shell runs in your environment and knows how to boot, authenticate, and connect to your local engine. The actual interface — dashboards, trade tables, settings panels — is delivered at runtime from remote modules hosted on a content delivery network. This is a micro-frontend architecture built with Vue and Module Federation, and its practical benefit is covered in the updates section below.

StaxInvesting operates a backend that handles the things that must be centralized: distributing alerts to subscribers, serving software updates, and aggregating anonymized community-level data such as leaderboard standings. Your engine communicates with it.

Your broker holds the account and the money and is the authoritative record of what you actually own. Your software's view of your positions is a cache; the broker's is the truth.

On the data question — what leaves your environment and what does not — the general shape is that trade outcomes flow to the backend for aggregate features, while your credentials and your funds never do. For the specifics of what is collected, retained, and shared, read the privacy policy and the end-user license agreement rather than any summary, including this one. A page describing an architecture is not a substitute for the documents that actually bind it.

Setup, Step by Step

The sequence matters, because it shows how little of it involves handing anything to the vendor.

First, you open and fund a brokerage account. This happens with a broker of your choosing, in your name, entirely independent of StaxInvesting. Your money is in your account before the software enters the picture and stays there throughout.

Second, the software is provisioned into your cloud environment. You own that environment.

Third, you generate API credentials inside your broker account, scoped to trading, and provide them to your own instance. You generate them. You can revoke them.

Fourth, you configure the system. Maximum capital per trade, stop distances and trailing behavior, trading hours and days, symbol filters, maximum concurrent positions, daily loss limits, profit targets. Roughly twenty-seven settings govern behavior, and they are the actual product — the software does what these say.

Fifth, you forward-test on paper, using the platform's paper mode, which reuses the live execution logic against real market prices.

Sixth, you enable live trading.

The technical provisioning is often described as taking about fifteen minutes, and that is roughly accurate for the mechanical portion. The configuration and testing should take considerably longer, and treating the fifteen-minute figure as the whole job is the most common setup error. The software being installed is not the same as the software being ready.

What an API Key Actually Is

For readers who have not worked with them, an API key is frequently misunderstood as being like a password, and the distinction matters.

A password grants whoever holds it everything you can do. An API key is closer to a key cut for specific doors: it identifies a program acting on your behalf and carries a defined set of permissions, chosen by you when you create it. Brokers separate those permissions into categories — reading account data, placing and managing orders, and moving funds are distinct capabilities that are granted or withheld independently.

A trade-scoped key can read your positions and submit orders and cannot withdraw or transfer money. At many brokers, fund movement is not exposed through the trading API at all, which is an even stronger form of the same boundary. If the software attempted a withdrawal, the request would be rejected by the broker — not because the software chose not to, but because the credential does not carry that authority.

Two properties are worth internalizing. The key lives in your own instance, in infrastructure you control. And you can revoke it instantly and unilaterally, from inside your broker account, without notifying anyone or requesting permission. The moment you do, the software's ability to act on your account ends. That unilateral off-switch is the most important single property of the arrangement, and it is worth confirming you know where it is before you need it.

What Each Party Can and Cannot Do

Stated as plainly as possible.

You can fund and withdraw, change any setting, pause or stop the automation, revoke credentials, close positions manually at your broker, and cancel entirely.

Your broker can execute orders, reject requests that exceed granted permissions, halt activity per its own policies, and is the authoritative record of your holdings.

StaxInvesting can distribute alerts, push software updates, and provide the interface and support.

StaxInvesting cannot access your running instance, view or operate your account, move money in any direction, place a trade outside the rules you configured, or prevent you from revoking access and walking away.

How Updates Work — And the Risk That Comes With Them

Self-hosted software has an obvious problem: the vendor cannot walk over to your machine. Two mechanisms solve it.

Interface updates arrive through Module Federation. Because the shell loads its UI modules from a content delivery network at runtime, shipping an improvement means deploying the module — the next time your shell loads, it has the new version. You redeploy nothing, and replacing a UI module does not restart the process managing your positions. Engine updates are pushed so that members are not running outdated automation.

Now the honest part. A vendor that can push software into your environment is a vendor that can change what runs in your environment, and that is a genuine software supply chain trust vector. It is not hypothetical. The canonical case is SolarWinds in 2020, where attackers compromised the vendor's own build system and distributed poisoned updates to a customer base numbering in the tens of thousands. More recently, self-replicating worms have compromised hundreds of packages in public software registries by hijacking maintainer credentials. Recent industry data attributes roughly 48 percent of breaches to a third party, with authentication failures the leading mechanism.

Any auto-updating software carries a version of this exposure, and a vendor claiming otherwise is either uninformed or not being straight with you.

What bounds it here is the same boundary as everywhere else in this architecture: a compromised update cannot exceed the permissions your broker key carries. No software change, however hostile, can withdraw funds from an account where withdrawal was never granted, because the enforcement happens at the broker rather than in the code. The realistic worst case is unwanted trading activity — serious and potentially expensive, but categorically different from losing your capital to a transfer.

The controls the industry applies to this problem are worth knowing so you can ask about them: cryptographic signing of releases so that only authenticated artifacts are installed, secured build environments, software bills of materials documenting what is inside a release, and structured practices like the UK National Cyber Security Centre's code of practice covering secure development, build integrity, deployment, and customer communication. There is also a simpler mitigation with real evidence behind it — most supply chain compromises are detected and removed within hours, so any delay between publication and installation dramatically reduces exposure. Asking a vendor how they sign and verify releases, and whether updates can be staged rather than applied instantly, is a reasonable question and the answer tells you something.

What Happens When Things Break

This is the section most explanations skip, and it is the most practically useful one.

Your internet connection drops. Because the engine runs in a cloud environment rather than on your laptop, your personal connectivity is irrelevant to whether it keeps working. You lose visibility, not operation.

Your cloud instance goes down. The engine stops. No new trades are opened. What happens to your existing positions depends entirely on one question, and it is the most important operational question in this entire article: are your protective orders resting at the broker, or emulated by the software? An order registered with the broker survives your instance dying. An exit that exists only as logic inside a running process disappears with it, leaving an open position with no protection. Know which of your exits are which before you need to.

StaxInvesting's backend is unreachable. Alert distribution and updates are interrupted. Your engine holds its current configuration and continues managing open positions according to the rules it already has.

Your broker has an outage. Nothing trades — not for you, not for the software, not for anyone. Because stop orders are held by brokers rather than exchanges, a broker outage means your stops are offline too. This is a risk inherent to trading, not to automation.

You revoke the API key. The software's access to your account ends immediately. Any orders already resting at the broker remain there — revoking a key does not cancel existing orders — so if your intent is a full stop, cancel resting orders as well.

Your subscription lapses. You lose access to the software and its alerts. Your brokerage account, your money, and any positions in it are unaffected, because they were never held by StaxInvesting in the first place. Positions do not vanish with a subscription; they remain yours to manage directly at your broker.

The general principle is that most failure modes degrade toward no new trades rather than toward abandoned positions — with the significant exception noted above about where your protective orders actually live.

Why Self-Hosted, and What It Costs

The alternative model is straightforward: the vendor runs everything centrally, you log into their dashboard, and they operate your automation on their infrastructure. That is how most software works, and it has real advantages — nothing to provision, no infrastructure to maintain, one place to fix problems.

It also means the vendor has operational access to every connected account and full visibility into every member's positions and activity. StaxInvesting chose the self-hosted model specifically to avoid being in the business of holding, watching, or managing anyone's trades. A company without access to your running instance cannot misuse access it does not have.

The costs of that choice are real and should be stated. You are responsible for your environment's uptime. You need enough technical comfort to work with cloud infrastructure and API credentials. You carry the infrastructure cost. Updates must be pushed rather than deployed centrally, which is the trust vector discussed above. And when something goes wrong in your environment, some of the diagnosis is yours.

What you get in exchange is control, no third-party visibility into your account, and a shorter path from signal to order that is not queued behind other tenants on shared infrastructure.

The Verification Worth Doing

None of the above requires taking anyone's word for it. Confirm where your money is — it should be at your broker, in your name. Confirm what the connected key can do, in your broker's own API settings rather than on any vendor page, and check that withdrawal is not among its permissions. Confirm you know where the revocation control is. Those three checks take a few minutes and turn this entire page from a description you are asked to believe into a structure you have verified.

For more depth: the security model in detail covers how to evaluate any trading tool's access scope, the legitimacy page answers the harder objections directly, the trade management guide explains the resting-versus-emulated order distinction that determines what survives an outage, and the automation guide covers what this architecture does and does not solve.

The Bottom Line

The software runs in your environment. It connects to your broker with credentials you generate, scoped so it can place orders and nothing else. Your money stays in your account the entire time. StaxInvesting cannot see your instance, cannot touch your funds, and cannot trade outside the rules you set — and you can end its access unilaterally, in seconds, from your broker.

That is the whole model, and its strength is that it does not ask for trust on the points that matter. The permissions are enforced by your broker, the environment belongs to you, and the off-switch is in your hands. Software — Not Signals describes an architecture before it describes a product: the software works for you, inside a boundary you control and can inspect. What it cannot do is make trading safe, and no architecture ever will.


Past performance does not guarantee future results, and nothing here is financial, legal, or tax advice or a recommendation to buy or sell any security or options contract. Options trading involves substantial risk of loss and is not suitable for all investors, and research indicates most retail options traders lose money. This article describes the general architecture of the self-hosted model; specific technical details, data practices, and contractual terms are governed by the end-user license agreement, terms of service, and privacy policy, which should be read directly. Security architecture reduces certain categories of risk and does not eliminate risk; no configuration, permission scope, or deployment model prevents trading losses or guarantees a profitable outcome, and stop orders do not guarantee execution prices. Verify permission settings with your own broker before relying on them. StaxInvesting provides self-hosted trading software — not signals, financial advice, or a managed account — that runs on the member's own connected brokerage; StaxInvesting never accesses member funds, credentials, or trades. Details reflect the product as of July 2026 and are subject to change.