Skip to content

Comments

fix(types): add runtime enum exports, WebSocket types, and futuresOrder algo response#696

Merged
carlosmiei merged 1 commit intoccxt:masterfrom
pcriadoperez:fix/typescript-types
Feb 19, 2026
Merged

fix(types): add runtime enum exports, WebSocket types, and futuresOrder algo response#696
carlosmiei merged 1 commit intoccxt:masterfrom
pcriadoperez:fix/typescript-types

Conversation

@pcriadoperez
Copy link
Contributor

@pcriadoperez pcriadoperez commented Feb 18, 2026

  • fixes Types issues and general node/typescript compatibility #695

  • Add runtime exports for OrderSide, OrderType, TimeInForce, OrderStatus,
    RateLimitType, RateLimitInterval, TradingType so enum values work at runtime

  • Add types/websocket.d.ts with event interfaces and BinanceWebSocket interface

  • Add ws property to BinanceRest and export websocket types from index.d.ts

  • Add FuturesAlgoOrderResponse type and union return for futuresOrder

  • Add missing futuresOrder payload fields (triggerPrice, positionSide, etc.)

  • Add top-level "types" field to package.json for older TS moduleResolution

…er algo response

- Add runtime exports for OrderSide, OrderType, TimeInForce, OrderStatus,
  RateLimitType, RateLimitInterval, TradingType so enum values work at runtime
- Add types/websocket.d.ts with event interfaces and BinanceWebSocket interface
- Add ws property to BinanceRest and export websocket types from index.d.ts
- Add FuturesAlgoOrderResponse type and union return for futuresOrder
- Add missing futuresOrder payload fields (triggerPrice, positionSide, etc.)
- Add top-level "types" field to package.json for older TS moduleResolution
@carlosmiei carlosmiei self-assigned this Feb 19, 2026
@carlosmiei carlosmiei merged commit 0bec996 into ccxt:master Feb 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Types issues and general node/typescript compatibility

2 participants