Skip to content

[Bug] Runtime data unavailable: strategyV2.dataUnavailable: Crypto:BTC/USDT@binance:swap #235

Description

@chree188

Describe the bug

The strategy fails at runtime during the handle_data phase with the
following error:

strategyV2.runtimeFailed: handle_data: strategyV2.dataUnavailable:
Crypto:BTC/USDT@binance:swap

The strategy loads and enters its runtime cycle normally, but the
handle_data callback cannot fetch market data for the Binance BTC/USDT
perpetual contract (swap). As a result, the runtime cycle aborts and the
strategy stops producing signals / placing orders.

Steps to reproduce

Create/deploy a strategy using Crypto:BTC/USDT@binance:swap → start it (paper or live) → observe handle_data throws strategyV2.dataUnavailable.

Expected behavior

handle_data should fetch historical and real-time data for Crypto:BTC/USDT@binance:swap so the strategy can run normally.

Deployment method

Docker Compose

Relevant logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions