mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-29 11:18:20 +08:00
Refactored the target order methods to separate their logic from the other order methods. This makes order_target the only target method that calls order() directly. order_target_value is passed to order_target instead of order_value. order_target_percent is passed to order_target_value rather than order_value. This simplified the code and decouples the logic of target orders from the other order methods. This allows the target order methods to be developed independently from order_value and order_percent.