Type Alias PrivateWsResponse<T>

PrivateWsResponse<T>: T extends PrivateWsTypes.PrivateRequests.AddOrder.Request
    ? PrivateWsTypes.PrivateRequests.AddOrder.Response
    : T extends AmendOrder.Request
        ? AmendOrder.Response
        : T extends PrivateWsTypes.PrivateRequests.EditOrder.Request
            ? PrivateWsTypes.PrivateRequests.EditOrder.Response
            : T extends PrivateWsTypes.PrivateRequests.CancelOrder.Request
                ? PrivateWsTypes.PrivateRequests.CancelOrder.Response
                : T extends PrivateWsTypes.PrivateRequests.CancelAll.Request
                    ? PrivateWsTypes.PrivateRequests.CancelAll.Response
                    : T extends PrivateWsTypes.PrivateRequests.CancelOnDisconnect.Request
                        ? PrivateWsTypes.PrivateRequests.CancelOnDisconnect.Response
                        : T extends PrivateWsTypes.PrivateRequests.BatchAdd.Request
                            ? PrivateWsTypes.PrivateRequests.BatchAdd.Response
                            : T extends PrivateWsTypes.PrivateRequests.BatchCancel.Request
                                ? PrivateWsTypes.PrivateRequests.BatchCancel.Response
                                : never

Type Parameters