cryptofoundry

Contact cryptofoundry

Tell us what you want to build or automate.

Article

Market-Making App 11.0: Qutrade Support, Safer Order Recovery, and Verifiable Releases

Market-Making App 11.0: Qutrade Support, Safer Order Recovery, and Verifiable Releases

ADAMANT TradeBot v11.0.0 focuses on practical reliability problems while expanding exchange coverage. The open-source bot now includes a Qutrade v2 spot REST connector supporting production market making operations such as market metadata, prices, order books, trades, candles, balances, deposit addresses, open and pending orders, order details, placement, and cancellation. The connector validates exchange precision, normalizes order states, coordinates request pacing, and preserves large numeric identifiers without JavaScript rounding errors. Qutrade WebSocket and perpetual markets are outside this release’s scope.

Market-Making App 11.0: Qutrade Support, Safer Order Recovery, and Verifiable Releases

A dangerous market-making failure occurs when an order reaches the exchange but the bot receives a timeout, malformed response, or server error. Retrying blindly can create a duplicate order. To prevent this, v11.0.0 writes a durable local submission record before sending a Qutrade placement. The record includes a unique label and the intended order parameters, without storing API credentials. If the acknowledgement is uncertain, the bot reconciles by label through open orders and recent order history instead of automatically placing the order again. The journal supports complete lifecycle records—pending, acknowledged, recovered, uncertain, and rejected—and detects incomplete writes before they can damage later entries. Cancellation also supports orders found only in Qutrade’s pending-order list, but only after the connector verifies the order ID, market, and side.

Signed exchange requests carry authentication headers and signed POST bodies. Following a redirect from the configured endpoint could expose those values to another origin. Private Qutrade requests now reject redirects instead of following them. A redirect is treated as an unverified mutation result and can proceed through the same reconciliation path as other uncertain responses.

Release infrastructure is part of the software supply chain, so v11.0.0 tightens how artifacts are published. The npm package is published through GitHub Actions OIDC Trusted Publishing, with npm publish and SLSA provenance attestations. The GHCR container is published with a signed SLSA provenance statement. Both release workflows require an explicit version tag, verify the triggering commit, confirm that the tag is on master, and check that the tag matches the package version before publishing.

The release keeps the existing CommonJS, ES2021, and JSDoc architecture and requires Node.js 22.12.0 or newer. No runtime or public API breaking changes are known. Before publication, v11.0.0 passed 35 automated test suites comprising 691 tests, ESLint, WebUI API and Qutrade type checks, npm audit with zero reported vulnerabilities, and npm package-content validation.

To install the release:

npm install --global [email protected]

Or pull the verified container image:

docker pull ghcr.io/adamant-im/adamant-tradebot:11.0.0

ADAMANT TradeBot remains open source and self-hosted. Operators keep control of their server, API keys, exchange account, and funds without handing them to a third-party market maker.