kaizen-ai / kaizenflow

KaizenFlow is a framework for Bayesian reasoning and AI/ML stream computing
GNU General Public License v3.0
110 stars 76 forks source link

Unit test for broker with multiple submit twap orders #1104

Closed jayati1397 closed 1 month ago

jayati1397 commented 2 months ago

This PR is for the Issue #1103

This is the first draft to see if the solution is correct. We are testing broker with two twap orders being submitted by just one instance of broker. I didn't use test_submit_twap_orders as it creates one instance of broker inside the function and calls submit_twap_orders once

Ran pytest and it passes. Ran the linter too. @samarth9008 please check and let me if the solution seems correct

samarth9008 commented 2 months ago

Lets follow the process of naming the PR correctly as we did in the previous in the PRs.