Trade history by order_id or timestamp

Hi,

Is it possible to construct a trade history with the API (REST or websocket)?

Thank you