[ zecstock docs v1.0 ]
From spread
to simulation.
A compact guide to how ZECSTOCK scans market fragments, builds a route, calculates a quote and refuses an unprofitable result.
Overview
ZECSTOCK is a deterministic educational environment. It contains no brokerage account or live execution. Wallet connection only selects Robinhood Chain and reads the public address.
Scanner
The scanner compares the lowest simulated buy price with the highest sell price for each stock. An open signal still needs a quote.
Quote engine
A quote applies the chosen size to route edge, estimated price impact, pool fees, protocol fee and a demo gas estimate.
type Quote = {
stock: string
sizeUsd: number
route: Pool[]
minProfitUsd: number
deadline: number
}
const result = simulateCycle(quote)
if (result.netProfit <= 0) revert()Guard rails
Minimum receive, a short deadline and an all-or-nothing result model illustrate the protections a real atomic cycle would need.
Cycle lifecycle
Read pools. Pick route. Borrow the first leg. Swap through every hop. Repay. Verify profit. Record the result.
Data model
Twenty fictionalized or public ticker references share one local dataset so values remain consistent across pages.
FAQ
This experience is for learning and interface demonstration. No displayed return is an offer, promise or financial recommendation.
