mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-09 04:31:00 +08:00
3521a11ed4
Previously, calling order() in initalize resulted in a weird stack trace. It now returns a well formulated error that is readable to the user through the API. Adding a slippage kwarg to test_algorithm and simfactor was necessary because slippage can only be called during init. Previously initaliazed was never set to true and calls to init-only function were sprinkled around the code in non-init sections. Code changes were to enforce init-only rules.