Intent-Code Divergence
Medium
- Confidence
- 88% confidence
- Finding
- The implementation and comments around order semantics are internally inconsistent: the method is documented as placing a FOK market order, but it also sets `expiration=0` and labels that as GTC. In a real-trading client, ambiguity around time-in-force/order behavior can lead to unintended live orders, incorrect assumptions by downstream callers, and financial loss if developers rely on the documented behavior rather than the actual SDK semantics.
