https://9lib.net/document/myjm735y-gain-loss-based-convex-risk-limits-discrete-trading.html