If all the errors are coming from an abnormal settlement that you mentioned. Solution is simple. Start with the static equity number in your first email (which coincides with the number I have in my database) just before the settlement. Add all the funding payment and upl of ALL contracts, that would be the equity it shd be just after the settlement. Compared that against the number that Huobi thought I had after the settlement, that's the difference to adjust. Which is exactly what I have done.