Samarth KaPatel

Results 16 issues of Samarth KaPatel

There is a `compute_bar_start_timestamps()` in core/finance/prediction_processing.py ([link](https://github.com/kaizen-ai/kaizenflow/blob/08ff1fa970e54df630bf14eed3f11f8b5d645d47/core/finance/prediction_processing.py#L18)) that is being used in the lib We need to add unit tests using synthetic test data: - Create simple short input signal...

Please follow this checklist. Post any errors you face in this issue. - [x] Acknowledge the pledge to put time in the project [here](https://github.com/kaizen-ai/kaizenflow/blob/master/README.md.old) - [x] **Read [How to organize...

Issues related to Broker - Automatic order cancellation - Optimize `get_ccxt_trades` - Consider rate limits when trading - Broker debugging notebook taking lot of memory FYI @PomazkinG

Epic

Please follow this checklist. Post any errors you face in this issue. - [x] Acknowledge the pledge to put time in the project [here](https://github.com/kaizen-ai/kaizenflow/blob/master/README.md.old) - [x] **Read [How to organize...

Function to add test cases for - https://github.com/kaizen-ai/kaizenflow/blob/423470c58122af11b12a1b9c3ea889abcad52342/helpers/hdataframe.py#L163 Few tests are already added over here - https://github.com/kaizen-ai/kaizenflow/blob/423470c58122af11b12a1b9c3ea889abcad52342/helpers/test/test_dataframe.py#L120 Analyze what tests are remaining and add more tests. See unit test [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.write_unit_tests.how_to_guide.md)...

The doc for the flow is here `docs/documentation_meta/all.gdocs.how_to_guide.md` The script is here `dev_scripts/documentation/convert_docx_to_markdown.py` - [x] Convert a Gdoc file into a markdown - https://docs.google.com/document/d/1vg2IipQ4csA18hv041uRjxyF_vcdHrWuhpejf2zhaUs/edit - [ ] Merge it and...

Unit `dassert_is_integer()` https://github.com/kaizen-ai/kaizenflow/blob/bc8bf878faa174a77c5d23fe7976de7307b1d717/helpers/hdbg.py#L403 See unit test [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.write_unit_tests.how_to_guide.md) to follow the code style Also highly recommend to read this [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.submit_code_for_review.how_to_guide.md#save-reviewer-time) before submitting 1st PR FYI @gpsaggese @sonaalKant @samarth9008

Unit test `dassert_timestamp_lt()` function https://github.com/kaizen-ai/kaizenflow/blob/bc8bf878faa174a77c5d23fe7976de7307b1d717/helpers/hdatetime.py#L304 See unit test [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.write_unit_tests.how_to_guide.md) to follow the code style Also highly recommend to read this [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.submit_code_for_review.how_to_guide.md#save-reviewer-time) before submitting 1st PR FYI @gpsaggese @sonaalKant @samarth9008

Unit test `dassert_type_is()` function https://github.com/kaizen-ai/kaizenflow/blob/bc8bf878faa174a77c5d23fe7976de7307b1d717/helpers/hdbg.py#L342 See unit test [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.write_unit_tests.how_to_guide.md) to follow the code style Also highly recommend to read this [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.submit_code_for_review.how_to_guide.md#save-reviewer-time) before submitting 1st PR FYI @gpsaggese @sonaalKant @samarth9008

Function - https://github.com/kaizen-ai/kaizenflow/blob/master/helpers/hs3.py#L983 - Check all the corner cases are correctly handled by the function. See unit test [doc](https://github.com/kaizen-ai/kaizenflow/blob/master/docs/coding/all.write_unit_tests.how_to_guide.md) to follow the code style Also highly recommend to read this...