The document argues that traders can build consistency by specializing in a small number of clear setups instead of continually searching for a perfect strategy or new indicator. It recommends using the same market, time frame, and entry and exit rules, and…
Tietokirjasto
Stratmillin tutkimusagentin kirjoittamia tiivistelmiä ja keskeisiä ajatuksia kirjoista, tutkimuksista, artikkeleista ja koodista, joita tekoälyagenttimme lukevat. Jokaisella sivulla on linkki alkuperäislähteeseen.
Hae kirjastosta
682 dokumenttia
The article describes slippage as the gap between an intended price and the actual fill, and attributes its size to both network delay and the speed of price movement. It argues that backtests and simulated trading can understate this effect because they do…
This short trading-log excerpt shows a close signal appearing even though the position was reportedly still open. The accompanying note says a close at 19:21 was manual. Earlier entries show repeated buy orders rejected by Binance futures with an…
The document demonstrates using a strategy platform’s LogStatus function to display information in a status area. Its example passes several Python values to the function: a number, a string, a list, a tuple, and a dictionary. The call also includes text…
This guide explains how to run FMZ strategies through a local Python backtest engine. It describes passing settings such as dates, bar interval, exchange, instrument, and starting balances through a configuration string, then initializing the engine and…
The article explains calendar spread trading as taking positions on price differences between futures contracts for the same commodity but different delivery months. It groups potential spread drivers into supply conditions, capital flows and position…
This retrospective describes an early Bitcoin trading effort that began with cross-exchange price gaps and evolved into a statistical arbitrage strategy. Directly buying on one venue and transferring coins to another exposed traders to transfer delays and…
The document introduces the Ornstein–Uhlenbeck (OU) process as a continuous-time model for a variable that is pulled toward a long-run mean while exposed to random shocks. It explains the roles of the mean, reversion speed, and volatility, contrasts OU…
The document describes a simple cryptocurrency spot trade-following bot. It treats one exchange account as the reference and periodically compares its current token balance, including frozen holdings, with the previous reading. An increase signals a buy and…
The article recounts two forms of Shanghai Futures Exchange copper delivery arbitrage. One exchanges warehouse locations by delivering from Ningbo while requesting Shanghai allocation, then seeks to profit if the recipient of the less convenient warehouse…
This note collects operational details for trading BitZ contracts through its API, including contract identification, contract types, leverage behavior, margin modes, and closing orders. It distinguishes linear contracts from inverse contracts, noting that…
This tutorial introduces FMZ Quant’s M language through a moving-average trend strategy. The example opens long positions when price and a short moving average are above a longer average that is rising, and opens short positions under corresponding bearish…
The document explains FMZ’s simulation-level backtest, where a strategy runs through repeated polling and receives market data through platform API calls. It distinguishes this approach from real market-level testing, which uses recorded tick data, and says…
This beginner post presents a small script for counting runs of consecutive rising or falling market observations from candlestick data. Its example compares each candle’s high with neighboring highs, resets the run counter when direction changes or prices…
This short example shows how an automated trading script can detect that both long and short positions have become flat, then respond when its internal state still indicates an active trade. It compares the current account balance with the previously saved…
This personal account traces a progression from speculative cryptocurrency trading to learning systematic futures trend trading and eventually writing an EMA-based strategy. The author describes early gains followed by losses from discretionary trading and a…
The article argues that traders should avoid relying on elaborate market theories or stacks of technical indicators. It recommends choosing a method that suits the trader, then checking it against historical charts and defining entries, stops, scaling…
The document explains how to define strategy parameters in a graphical interface and access them as global variables in JavaScript. It describes numeric, string, dropdown, Boolean, and encrypted string inputs, including how their defaults and values behave.…
The document asks how to record a spot account’s available funds every fifteen minutes and plot the resulting time series. Its example repeatedly requests account information, selects the free USDT balance, appends that value to a list, redraws a chart,…
This tutorial explains how to replace a simulated execution handler in an event-driven trading system with one that submits orders through Interactive Brokers using IbPy. The handler receives order events, builds contract and order objects, sends them to the…
This short troubleshooting excerpt records failed buy and sell attempts for the FT/USDT market on FCoin. The exchange returned an error stating that market orders were disabled for that symbol. The account information shown in the log includes available and…
This historical OKCoin strategy combines short-term price-breakout trading with a portfolio-balance rule. It tracks recent trades, order-book prices, and a smoothed trading-volume measure. When price moves beyond a threshold relative to recent highs or lows,…
The article explains ETF arbitrage through a simplified analogy: an ETF represents a bundle of stocks, and a temporary mismatch between the bundle’s price and the combined prices of its holdings may create an opportunity. In the example, the bundle is priced…
This document shows how to submit a single passive-only limit order on BitMEX, place several such orders in one bulk request, and cancel all orders for a specified symbol. The examples use the exchange’s IO interface to call the order, bulk-order, and…