Skip to content

v3.49.0

Choose a tag to compare

@osauer osauer released this 01 Dec 15:17
· 2 commits to main since this release

Canary — portfolio, risk and order tools for Interactive Brokers

Canary runs locally with TWS or IB Gateway, providing portfolio monitoring, market analysis, risk checks, performance review and order management. Order submission requires the trading build and its approval checks. Standard downloads and MCP remain read-only.

New in v3.49.0

  • Add, the flow that sizes a new option position, can list the other strikes of one expiry date. An add market request with ladder (an expiry and a strike to centre on) returns up to nine listed strikes nearest that strike, each with its quote and the delta range Canary suggests for that expiry. A strike outside the range can be picked: the range decides only which strike Canary suggests. Order limits and checks apply to such a pick as to any other.
  • Before the US open and after the close, the positions read gives each held US option an at_stock_price block: a model value per share at the price its stock last traded then, the change against the option's last price, and that change in money for the contracts held. It is an estimate, not a quote, and nothing in Canary decides on it.
  • The volume signal gives a newly watched stock its first reading sooner. The 20 earlier sessions it compares with now come in one broker request, not five.

Install

For the standard read-only CLI and local MCP server:

curl -fsSL https://raw.githubusercontent.com/osauer/canary/main/install.sh | sh

For Claude Desktop, download canary.mcpb from the assets below. For order submission, choose a canary-trading-v3.49.0-* archive and follow the trading guide and security guidance.

Requires a local TWS or IB Gateway session on macOS, Linux or Windows through WSL. See the installation guide for setup, signature verification and other MCP clients.

  • Go module: go get github.com/osauer/canary/v3@v3.49.0 for the daemon client and pkg/ibkr. Install the binary with the signed installer or the release assets above.

Detailed changes

Changed

  • When an index opens beyond the prior day's range, the market read says the session has added to that gap, or given it back, only after two five-minute closes in a row. Until now one close decided, and the reading could switch between gap_holds and a breakout tag with every bar.
  • The short-interest screen answers pending while it fetches FINRA's latest report, when the saved one was fetched more than 48 hours ago. Until now the first read after days without a reader showed the old report as stale seconds before the new one arrived. stale now means the latest fetch failed or FINRA's own report is old.
  • After a session that closed early, the volume signal says that it has no reading because no earlier sessions of the same length exist to compare with (comparable_baseline_sessions_unavailable). Until now a weekend read reported outside_regular_session, which hid the cause.

Fixed

  • A proposal held back by an order you queued kept saying it waited for that order to be placed after the order had reached the broker. It is now judged again as soon as the queued order is sent, ends or expires.