We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I keep getting the following bug when trying to run the unit test for Trading Strategy.
TradingStrategy_ut.py::TestMarketSimulator::test_filled_order FAILED [ 33%] TradingStrategy_ut.py:45 (TestMarketSimulator.test_filled_order) self = <TradingStrategy_ut.TestMarketSimulator testMethod=test_filled_order> def setUp(self): > self.trading_strategy= TradingStrategy() E TypeError: __init__() missing 3 required positional arguments: 'ob_2_ts', 'ts_2_om', and 'om_2_ts' TradingStrategy_ut.py:8: TypeError FAILED [ 66%] TradingStrategy_ut.py:10 (TestMarketSimulator.test_receive_top_of_book) self = <TradingStrategy_ut.TestMarketSimulator testMethod=test_receive_top_of_book> def setUp(self): > self.trading_strategy= TradingStrategy() E TypeError: __init__() missing 3 required positional arguments: 'ob_2_ts', 'ts_2_om', and 'om_2_ts' TradingStrategy_ut.py:8: TypeError FAILED [100%] TradingStrategy_ut.py:29 (TestMarketSimulator.test_rejected_order) self = <TradingStrategy_ut.TestMarketSimulator testMethod=test_rejected_order> def setUp(self): > self.trading_strategy= TradingStrategy() E TypeError: __init__() missing 3 required positional arguments: 'ob_2_ts', 'ts_2_om', and 'om_2_ts' TradingStrategy_ut.py:8: TypeError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I keep getting the following bug when trying to run the unit test for Trading Strategy.
The text was updated successfully, but these errors were encountered: