Skip to content

Commit

Permalink
cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecsl committed Feb 25, 2025
1 parent ba809dd commit 50620ab
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/client/services/placeOrderMessageHandler.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RawPayloadRequest } from "../tdaWsJsonTypes.js";
import { ApiService } from "./apiService.js";
import { OrderEvent, OrderPatch } from "./orderEventsMessageHandler.js";
import { OrderEvent } from "./orderEventsMessageHandler.js";
import WebSocketApiMessageHandler, {
newPayload,
} from "./webSocketApiMessageHandler.js";
Expand Down Expand Up @@ -79,15 +79,6 @@ export type PlaceOrderSnapshotResponse = {
service: "place_order";
};

export type PlaceOrderPatchResponse = {
patches: OrderPatch[];
service: "place_order";
};

export type PlaceOrderResponse =
| PlaceOrderSnapshotResponse
| PlaceOrderPatchResponse;

export default class PlaceOrderMessageHandler
implements WebSocketApiMessageHandler<PlaceLimitOrderRequestParams>
{
Expand Down

0 comments on commit 50620ab

Please sign in to comment.