Case study / Explainable market-strategy desk
MERIDIAN.
A market-strategy desk where deterministic skills and a nine-check gate decide, a constitution permit allows or denies, and wallet-signed swaps execute on BSC Testnet.
- Role
- Full-stack engineer
- Attribution
- Co-built
- Type
- Market-strategy desk
- Network
- BSC Testnet · Arc Testnet
- Origin
- BNB Hackathon, Track 2

Product interface from the working public build.
- 1Separate surfaces
Strategy, NEXUS, and PRISM keep research, analysis, and execution in distinct places.
- 2Deterministic skills
Market data is scored by explicit skills, so a signal can be traced back to its rules.
- 3Reproducible by design
A versioned spec and a public endpoint let anyone re-run the same evaluation.
- 4Execution is opt-in
Wallet connection sits apart from research — nothing executes by default.
Problem and constraints
MERIDIAN began at the BNB Hackathon (Track 2, CoinMarketCap Strategy Skills). It asks how market data can become a strategy a user can inspect, replay, and veto — rather than a black-box signal.
The product needed to make a technically dense workflow understandable without hiding the states a user must evaluate. The public build and source repository are linked above; no private client metrics are claimed.
Role and scope
Co-built — Muhammad Abdullah served as full-stack engineer, with work including the Gate strategy desk and BSC testnet execution. Origin: BNB Hackathon — Track 2, CoinMarketCap Strategy Skills.
- AttributionCo-built; full-stack engineer
- StrategyGate strategy desk
- ExecutionBSC Testnet swap execution
- ReleaseDeployed public build and repository
What was built
Eight deterministic market skills feed a weighted bull/bear consensus with a hard bearish ceiling before any long signal. A nine-check Gate strategy and a constitution permit (GRANT or DENY) sit in front of execution, with an agent veto. A versioned strategy spec drives historical replay with baseline comparison and fee and drawdown reporting, and WAIT and UNKNOWN are explicit outcomes. Wallet-signed PancakeSwap swaps execute on BSC Testnet, and decisions are anchored on Arc Testnet.
- Eight deterministic market skills
- Nine-check gate and GRANT/DENY permit
- Versioned replay against a baseline
- Wallet-signed BSC Testnet swaps
Architecture and workflow
Next.js and TypeScript separate data inputs, skills, consensus, the gate, the constitution permit, and replay so each stage has one role. Language-model narration is kept apart from the numerical decision logic: it explains a decision but never makes it.
- Research and decision preparation01Market dataLive inputs, kept separate from rules
- 028 market skillsDeterministic scoring of each input
- 03Bull / bear consensusWeighted, with a bearish ceiling
- 04Gate + permit9 checks, GRANT/DENY, veto◆ permitted: to 06 Testnet swap⇢ test: to 05 Historical replay
- 05Historical replayVersioned spec vs baseline↺ adjust rules: back to 02 8 market skills
- 06Testnet swapWallet-signed, BSC Testnet
- Decision path
- Replay
- Rule revision
- Opt-in execution
Every stage has one role; replay runs the same rules as the live desk.
Selected technical decisions
- 01Keep the numbers deterministic; let the model only narrate.
The same inputs must produce the same decision; an explanation must never change the result.
- 02Put a hard gate and a permit in front of every trade.
A signal is not a trade: nine checks and a GRANT/DENY permit, plus an agent veto, must all pass first.
- 03Make WAIT and UNKNOWN first-class outcomes.
When data is missing or mixed, the honest answer is to wait — not to guess.
Environment and limitations
What this build does not claim, stated plainly.
- 01Testnet execution
Swaps run on BSC Testnet and decisions are anchored on Arc Testnet. There is no mainnet trading.
- 02Replay data source
CoinMarketCap historical data is unavailable on the current plan, so replay uses Binance venue data.
- 03Backtest simplifications
The backtest executes on the same bar and defaults to zero slippage, so replay output is not a performance claim. No accuracy, return, or win-rate figures are claimed.
- 04No automated tests
The repository does not yet include an automated test suite, and it has not been audited.
Testing and public evidence
Everything here can be checked without taking my word for it.
- Live product walkthrough
- Public source repository
- Explicit WAIT and UNKNOWN outcomes
PROJECT INQUIRY
Discuss your SaaS product.
Share the goal, current state, constraints, and useful links. I’ll help identify the most useful path forward.