
The little lobster 🦐 almost sent me to the grave!
It is recommended that those without a programming background should not play with quantitative trading.
Play in a simulated account first.
Play with someone monitoring.
Have circuit breaker rules.
You must close your position on the expiration date!
Even with all these, uncertainty can still lead to risks.
Please, both of you, spread this widely.
@Longbridge Community Admin@Options Pro
After finishing debugging the program last night, I told openclaw to turn off the QQQ agent and went to sleep. Before sleeping, it asked me if I wanted to fix a bug, and I said yes.
As a result, I woke up this morning to a huge shock. There were still 7 QQQ contracts expiring today that I needed to exercise. Now I have been forced to exercise them, spending nearly 300,000 to become a shareholder of QQQ.
I was really lucky!!! The risk was exposed before a bigger problem occurred.
I was still groggy when I first woke up this morning. I sent it to Doubao, and it calculated that it would cost over 3 million, which scared me awake instantly.
After reviewing,
1. The management of the little lobster was not strict enough. After fixing the bug, it restarted the program.
2. There was a bug in the program. The positions were not persisted, nor were they synchronized with the broker. After a restart, it didn't know what positions existed. Because the risk control rules in memory also disappeared after the restart, this incident occurred.
I am really scared in hindsight. Fortunately, the program has been improved. If it were the old program buying 40-50 contracts, and I had to exercise them now, I would be done for.
The copyright of this article belongs to the original author/organization.
The views expressed herein are solely those of the author and do not reflect the stance of the platform. The content is intended for investment reference purposes only and shall not be considered as investment advice. Please contact us if you have any questions or suggestions regarding the content services provided by the platform.



