Commit Graph

51 Commits

Author SHA1 Message Date
Maximilian Fajnberg 911fa15f46 extensive docstrings; made all functions public (not protected); minor refactoring 2021-12-28 23:59:54 +01:00
Daniil Fajnberg f29f22a52e 100% coverage 2021-12-26 23:32:15 +01:00
Daniil Fajnberg a2f3f590f6 test for __main__ 2021-12-26 23:22:12 +01:00
Maximilian Fajnberg 3276dbfae3 ditched csv; minor help text change 2021-12-26 21:08:36 +01:00
Maximilian Fajnberg 2b3fb9f7ba implemented 2021-12-26 19:04:23 +01:00
Maximilian Fajnberg 8afab2fde8 planned function to get row indent 2021-12-26 18:40:29 +01:00
Maximilian Fajnberg f7cb5de928 plan to encode row indentation as int & include it as the 1st element in the data tuple 2021-12-26 18:08:25 +01:00
Maximilian Fajnberg c93fb9692e minor refactoring & adjustments 2021-12-26 17:55:34 +01:00
Maximilian Fajnberg 38dd29f35b all table rows to be considered relevant 2021-12-26 17:34:59 +01:00
Daniil Fajnberg 462e34013e test now passing 2021-12-03 17:51:10 +01:00
Daniil Fajnberg 4fd69602f7 tests for writing html to file when encountering unknown items in DEV_MODE 2021-12-03 16:45:40 +01:00
Daniil Fajnberg 94568c6165 implementation to pass tests 2021-12-03 16:28:12 +01:00
Daniil Fajnberg d46148a510 is_relevant_table_row should raise a custom exception for unknown items, find_relevant_table_rows should handle the rest 2021-12-03 16:20:04 +01:00
Daniil Fajnberg 3959aff10e added log statement 2021-12-03 16:01:00 +01:00
Daniil Fajnberg c18ab65a7d cli now supports multiple ticker symbols and concurrency 2021-12-03 15:53:53 +01:00
Daniil Fajnberg 55a56c2f9c concurrency for getting all three financial statements; improved imports; renamed functions 2021-12-03 15:38:21 +01:00
Maximilian Fajnberg 8d18e03018 implemented new function and adjusted function call sequence 2021-12-03 15:19:21 +01:00
Maximilian Fajnberg a7dbdcf917 adjusted tests to call the new function 2021-12-03 14:32:52 +01:00
Maximilian Fajnberg ca360413c3 test for new function to get any statement from many companies; renamed functions 2021-12-03 14:17:49 +01:00
Maximilian Fajnberg 1f8104b1a0 refactoring 2021-12-03 11:56:09 +01:00
Maximilian Fajnberg 68f3e428ab plan to refactor get_company_financials; tests changed accordingly 2021-12-03 11:46:39 +01:00
Daniil Fajnberg a6b3c57021 fixed and added things to README 2021-11-30 12:53:11 +01:00
Daniil Fajnberg c23c963cd8 added async-session decorator from own project; changed logging setup; added CLI parameters 2021-11-30 12:46:48 +01:00
Daniil Fajnberg 36226fc1be fixed and refactored cli 2021-11-28 17:19:12 +01:00
Daniil Fajnberg 9186d8734f fixed type hints 2021-11-28 17:10:00 +01:00
Daniil Fajnberg e522897991 implemented getting specific financial statement for multiple companies; fixed tests 2021-11-28 17:07:23 +01:00
Daniil Fajnberg 1529df252c allow getting specific financial statement for multiple companies 2021-11-28 16:58:21 +01:00
Daniil Fajnberg 3c7afcd879 factored out some tests 2021-11-28 16:52:16 +01:00
Daniil Fajnberg 4a68d45bc4 implemented last idea 2021-11-28 16:42:21 +01:00
Daniil Fajnberg e7f3730c64 idea for getting financials for an arbitrary number of companies 2021-11-28 16:39:53 +01:00
Daniil Fajnberg fd03815172 improved writing to file 2021-11-28 16:24:14 +01:00
Maximilian Fajnberg 6dd37a4aa2 cli for writing to json/csv 2021-11-28 15:53:19 +01:00
Maximilian Fajnberg 2d9119a4be company financials returned as separate dicts; test fix 2021-11-28 15:20:28 +01:00
Daniil Fajnberg 326b956be4 added small integration test 2021-11-27 18:35:12 +01:00
Daniil Fajnberg 63008be829 bugfix, minor change, full coverage 2021-11-27 18:11:16 +01:00
Maximilian Fajnberg 2380540659 drafted remaining functions 2021-11-27 17:23:36 +01:00
Daniil Fajnberg f9745ff46d two more functions implemented 2021-11-27 15:36:51 +01:00
Daniil Fajnberg f2abd8f2ce fixes; another function implemented 2021-11-27 15:11:42 +01:00
Maximilian Fajnberg 25be101cf9 function drafts 2021-11-26 23:37:46 +01:00
Daniil Fajnberg 44dee0b762 finished tests 2021-11-26 21:38:10 +01:00
Daniil Fajnberg 776c909956 more tests, idea for change 2021-11-26 12:47:58 +01:00
Maximilian Fajnberg 1e0410a254 function for checking tr relevance 2021-11-24 22:28:33 +01:00
Daniil Fajnberg 9adad5dba1 financial statements items 2021-11-24 21:01:16 +01:00
Maximilian Fajnberg 8041386d52 more unit tests 2021-11-24 15:28:34 +01:00
Daniil Fajnberg d504ddfc33 reading test html file in test class set up method 2021-11-23 19:57:37 +01:00
Daniil Fajnberg 6ac38ad06d updated/condensed html 2021-11-23 19:42:20 +01:00
Maximilian Fajnberg 652ded4cd9 Record of essential html composition (mainly for testing) 2021-11-23 14:51:29 +01:00
Maximilian Fajnberg 525d56ef63 first two unit tests 2021-11-22 19:52:36 +01:00
Daniil Fajnberg 33e1fca03f added planned function signatures, docstrings, and corresponding test case 2021-11-21 22:45:13 +01:00
Daniil Fajnberg 94e34bf388 empty python files added 2021-11-21 21:54:25 +01:00