This account of an automated liquidity provision strategy focuses on the practical risks that emerged while moving from simulation to live trading on V3 and V4 pools. Early trades encountered tokens that could not be sold or pools whose liquidity disappeared…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
23 documents
This implementation guide describes connecting FMZ’s Web3 Tron exchange object to SunSwap V3. It outlines address format conversion, batching contract reads, enumerating pools, querying pool prices and token balances, estimating swap output through routing,…
This guide walks through programmatic access to Hyperliquid spot and perpetual markets through the FMZ platform. It covers connecting a wallet, configuring a proxy wallet, distinguishing mainnet from testnet settings, and querying market metadata, order…
The article describes a workflow for finding tokens held across wallets associated with holders of a successful project. It automates collection of leading BSC token holders, filters out likely institutions and large project wallets, queries remaining…
This tutorial outlines a monitor for a Curve stablecoin pool that compares a token’s implied exchange value with an assumed acquisition cost. It reads token metadata and wallet balances from the pool and token contracts, estimates the output for a proposed…
This tutorial describes FMZ support for interacting with the Tron blockchain, including wallet and node setup, balance queries, account and transaction lookups, TRC20 token checks, and smart contract calls. It explains how Tron addresses and token amounts…
This tutorial describes a library for connecting FMZ strategies to Uniswap V3 through Web3 functions. It introduces registering token addresses, retrieving token-pair prices and wallet balances, and swapping between tokens. The examples include an…
This tutorial demonstrates simple strategies on the WOOFi and EdgeX decentralized exchanges. Its WOOFi example refreshes orders, positions, depth, and account equity, then places layered buy and sell orders around the best prices. Average True Range sets the…
The article compares limit orders routed through decentralized exchange aggregators with trading directly through a smart contract. It explains that aggregators monitor prices and arrange execution when a limit condition is met, sometimes using off-chain…
This tutorial adapts a Curve stablecoin-pool trading idea for the FMZ Web3 interface. It outlines encrypting a wallet private key offline, storing the encrypted value through a protected strategy parameter, and decrypting it at runtime before loading it into…
This tutorial introduces FMZ as an interface for interacting with Ethereum through an RPC node. It explains the platform setup at a high level, then demonstrates querying an address balance, identifying the connected chain, and retrieving gas-price…
This hands-on guide describes connecting FMZ to Vertex, a decentralized exchange with spot and perpetual markets. It explains wallet and subaccount configuration, the use of a wallet or delegated signing key, and the need to account for USDC costs on…
The article explains how to build a new-pool monitor for Robinhood Chain using FMZ and the network’s EVM-compatible JSON-RPC interface. It describes querying the Uniswap V4 PoolManager for Initialize events with eth_getLogs, then decoding pool identifiers,…
This implementation guide describes connecting an automated trading framework to SunSwap V3 on the Tron network. It outlines address-format conversion, batched contract reads, and a trading-library interface for discovering pools, retrieving quotes and token…
The document describes a JavaScript library that connects an FMZ strategy to Uniswap V3. It presents the platform wrapper as a way to register token addresses, query prices and balances, and submit swaps, while noting that related web3 functions could…
This hands-on guide builds a read-only radar for newly initialized Uniswap V4 pools on Robinhood Chain. It explains that V4 pools are managed through a shared PoolManager contract, so a monitor can query chain logs for its Initialize event rather than search…
This technical guide shows how to inspect liquidity positions represented by Uniswap V3 nonfungible position tokens. It outlines a sequence for finding the position manager, checking a wallet’s NFT balance, retrieving each token ID, and querying position…
This tutorial introduces Ethereum interaction through FMZ, starting with platform components, hosted runners, Web3 connection settings, and the debugging tool. It demonstrates reading account balances, chain identifiers, gas prices, block heights, and block…
This tutorial describes how to configure FMZ for the Tron network and use its interfaces to inspect accounts, blocks, transactions, and TRC20 tokens. It also explains querying TRX balances through a JSON-RPC endpoint, including converting wallet address…
The document compares pending orders on decentralized exchanges with custom trading through smart contracts. Aggregators monitor prices and liquidity, then execute qualifying orders, sometimes sharing or retaining any improvement beyond the user's limit…
This case study describes building an automated concentrated-liquidity strategy for V3 and V4 pools. After two of three newly discovered tokens could not be sold, the author distinguishes token-level sell restrictions from liquidity removal and concludes…
This guide explains how a Uniswap V3 liquidity position is represented by an NFT and how to retrieve its details. It outlines a sequence of contract reads: obtain the position manager, enumerate the wallet’s position tokens, and query the position data…
The guide outlines Vertex’s hybrid exchange design and describes how a trader can connect a wallet, configure an account, and access perpetual and spot markets through FMZ. It explains unified liquidity across supported chains, off-chain order matching with…