at 12:30 utc to 12:35 utc order history was unavailable via API, which caused my bot to send multiple short orders instead of 1 for a single pair, first reducing long positions and then opening and increasing short positions multiple times, more than it was intended. At least for some currency pairs due to this issue bot increased long positions multiple times, so the loss is not as big as could be. Anyway I need to make a workaround for this issue, to avoid this behaviour when it happens again.