Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trade): Spawn trade execution in dedicated task
If the trade execution takes longer than 30 seconds the http request times out and the thread gets killed. However, the spawned blocking thread to propose the dlc channel is finishing and sending the offer message. That leads to the coordinator sending the dlc message without updating the 10101 meta data (e.g. creating the position, updating order, etc.) This also applies to the renew and close position flows.
- Loading branch information