Skip to content

Comments

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

Closed
pcriadoperez wants to merge 1 commit intoccxt:masterfrom
pcriadoperez:fix/typescript-types
Closed

fix(types): add runtime enum exports, WebSocket types, and futuresOrder algo response#697
pcriadoperez wants to merge 1 commit intoccxt:masterfrom
pcriadoperez:fix/typescript-types

Conversation

@pcriadoperez
Copy link
Contributor

  • 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
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.

1 participant