This reference explains advanced order instructions for futures and options trading through TqSDK. It compares ordinary limit orders, FAK orders that cancel any unfilled remainder, and FOK orders that cancel unless the full quantity can execute immediately.…
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
6 documents
This reference explains how TqSdk represents option contracts and exchange-defined combinations across several Chinese futures and securities venues. It gives examples of contract-code formats for calls and puts, ETF and index options, and calendar spread…
The document examines whether volatility in the CSI 300 varies by weekday and time of day, then uses that pattern to modify Black–Scholes pricing for an index option. It calculates five-minute log returns from open to close over a year of index data,…
This Python module documents functions for calculating common technical indicators from market bars and options data. The visible functions include average true range, bias, Bollinger Bands, directional movement, KDJ, MACD, parabolic SAR, and Williams %R.…
This reference explains how TqSdk identifies contracts across Chinese exchanges and describes available quote, K-line, and tick data. It gives examples of futures, options, spread contracts, continuous contracts, indices, stocks, and exchange warehouse…
This documentation page indexes a sequence of option-use examples for a trading SDK. The topics move from retrieving live option quotes and screening contracts to classifying options as in the money, at the money, or out of the money. Further examples cover…