Paweł Kubrak
Results
22
comments of
Paweł Kubrak
> [@peku33](https://github.com/peku33) Do you know the answer to above? No, xapi is down. The easiest way to trade is to switch to websocket
I'm coming straight from pydantic v2, in which I was able to model api response like this: ```python class ApiResponseOk(BaseModel): success: Literal[True] data: SomeDataModel class ApiResponseError(BaseModel): success: Literal[False] errors: list[ApiResponseErrorItem]...