The prediction market strategy's single-market position limit has always been ineffective, despite multiple fixes that didn't resolve the issue.
Today, I finally identified the root cause: using the wrong order type.
Issue Description
Since the launch of the H12 Weather Strategy, there have been two strange bugs:
1. The total position in a single market always exceeds $10 limit
2. Placed 32 orders, none filled (0% fill rate)
Initially, I thought it was a logic problem. I checked the deduplication function, position calculation, and order status checks—all seemed correct. The code looked fine
View Original