114 Commits

Author SHA1 Message Date
Palash Tyagi
fb2efa99ac wip: apply blacklist 2025-04-17 00:01:58 +01:00
Palash Tyagi
178de83d1a testing... 2025-04-16 22:36:03 +01:00
Palash Tyagi
ee531deb7a update create_blacklist_from_qdf function signature to accept metrics as a vector 2025-04-16 19:27:46 +01:00
Palash Tyagi
0443906cc9 feat: refactor create_blacklist_from_qdf to accept multiple metrics and improve null handling 2025-04-16 19:27:35 +01:00
Palash Tyagi
7d4c198067 feat: update create_blacklist_from_qdf function signature to include group_by_cid and blacklist_name parameters 2025-04-16 01:36:56 +01:00
Palash Tyagi
25192e425d completed wdf.columns implementation 2025-04-16 01:36:48 +01:00
Palash Tyagi
e602b8b2b4 fix: change code block syntax to ignore in documentation examples 2025-04-16 01:35:59 +01:00
Palash Tyagi
5d2ff3b88d fix: improve error messages in check_quantamental_dataframe function 2025-04-16 01:35:48 +01:00
Palash Tyagi
dda6e3e12f wip: blacklist util 2025-04-15 19:31:15 +01:00
Palash Tyagi
5ef2c7e6c7 refactor: simplify type annotations in reduce_dataframe function 2025-04-15 00:00:45 +01:00
Palash Tyagi
5c3862c297 refactor: reorganize module exports for clarity 2025-04-14 00:25:23 +01:00
Palash Tyagi
3559a90ad2 adding blacklist ability 2025-04-14 00:25:09 +01:00
Palash Tyagi
b7368a366e add weight_xcat capability 2025-04-14 00:24:26 +01:00
Palash Tyagi
24a4176e17 fix: correct import statement for reduce_dataframe in historic_vol.rs 2025-04-14 00:24:02 +01:00
Palash Tyagi
165e1c19e4 updating linear composite binding 2025-04-14 00:22:59 +01:00
Palash Tyagi
a4645dbc93 Update utils module: add get_bdates_series_default_opt function and include it in __all__ exports 2025-04-13 11:15:53 +01:00
Palash Tyagi
658eb0d121 Rename and update functions in utils module for clarity: change get_bdates_series_default to get_bdates_series_default_pl 2025-04-13 11:10:14 +01:00
Palash Tyagi
93f88ab537 Refactor date utilities: remove BDateFreq and AggregationType enums, integrate frequency handling in get_bdates_series_default_opt 2025-04-13 11:10:07 +01:00
Palash Tyagi
39d1a1b632 Reorder module declarations in mod.rs for improved organization 2025-04-13 02:01:38 +01:00
Palash Tyagi
28ff5c95cf Add BDateFreq enum and frequency-based date retrieval functions 2025-04-13 00:39:08 +01:00
Palash Tyagi
8343e93b46 Add from_string method to BDateFreq enum for easier conversion from String 2025-04-13 00:04:54 +01:00
Palash Tyagi
c0f7299643 Add Python wrapper for utils module and update msyrs.pyi to include utils functions 2025-04-10 23:26:49 +01:00
Palash Tyagi
4df2d4147d Enhance dateutils with BDateFreq and AggregationType enums for improved date grouping and aggregation functionality 2025-04-10 23:26:24 +01:00
Palash Tyagi
5ae4d30560 Refactor historic_vol.rs to use dateutils for date retrieval functions 2025-04-10 20:51:36 +01:00
Palash Tyagi
cf5177d36a Add dateutils module to utils 2025-04-10 20:51:28 +01:00
Palash Tyagi
6c72a6ef0a Remove date utility functions from misc.rs and move them to dateutils.rs 2025-04-10 20:51:24 +01:00
Palash Tyagi
3ca7221965 Refactor normalization logic to apply NaN mask in a separate function 2025-04-10 00:24:30 +01:00
Palash Tyagi
de62daaf8b Refactor check_weights_signs_lengths to enforce f64 types and validate non-zero weights and signs 2025-04-10 00:24:00 +01:00
Palash Tyagi
e780f34188 wip: normalization not wroking 2025-04-09 00:21:08 +01:00
Palash Tyagi
0b97e2d0be Add linear_composite method to panel class 2025-04-08 22:39:08 +01:00
Palash Tyagi
8a9b6bc88f Add linear_composite function to panel module with appropriate signature 2025-04-08 22:37:53 +01:00
Palash Tyagi
e37b4c19cb working except normalization 2025-04-08 22:37:20 +01:00
Palash Tyagi
7c2ed3b818 adding linear_composite initial cut 2025-04-07 00:22:34 +01:00
Palash Tyagi
acbe621704 Enhance documentation by adding argument descriptions to functions in historic_vol, pivots, reduce_df, and update_df modules 2025-04-07 00:22:23 +01:00
Palash Tyagi
8ce7c7b6e4 Add type hints for get_bdates_from_col_hv and get_period_indices_hv methods 2025-04-06 05:14:09 +01:00
Palash Tyagi
48fe8db61e Add Python wrappers for get_bdates_from_col_hv and get_period_indices_hv functions 2025-04-06 05:14:00 +01:00
Palash Tyagi
d897965dd2 Refactor frequency calculation functions to use estimated frequency and improve date handling 2025-04-06 05:13:41 +01:00
Palash Tyagi
3bca3a931f Refactor get_bdates_from_col to enhance business day identification and bucket dates by period 2025-04-06 05:13:27 +01:00
Palash Tyagi
46d705a5f6 Add function to retrieve business dates from a date column in a DataFrame 2025-04-06 00:57:51 +01:00
Palash Tyagi
ed9b0c2e0f Add documentation comments for ticker-related functions 2025-04-06 00:41:58 +01:00
Palash Tyagi
1dd82e0b23 Fix typo in function name from create_interesecting_tickers to create_intersecting_tickers 2025-04-06 00:39:44 +01:00
Palash Tyagi
19ff090508 Refactor historic volatility calculations to improve data handling and add postfix renaming for result columns 2025-04-05 16:31:04 +01:00
Palash Tyagi
e4412c638b Remove unused import of NaiveDate from polars::export and retain chrono::NaiveDate 2025-04-05 16:30:55 +01:00
Palash Tyagi
bbdbc3d8e6 Add pivot_wide_dataframe_to_qdf function for transforming ticker dataframes 2025-04-05 15:06:41 +01:00
Palash Tyagi
34e5f6feb7 wip 2025-04-05 00:01:34 +01:00
Palash Tyagi
71f9f4a674 Add logging for historic volatility calculations and implement utility to get min/max real dates 2025-03-15 00:03:09 +00:00
Palash Tyagi
421178a5bb wip: hist vol 2024-11-29 00:49:11 +00:00
Palash Tyagi
6fb9b0f076 wip: hist vol 2024-11-26 23:59:45 +00:00
Palash Tyagi
d692476d05 add annualization factor and implement frequency calculation for historic volatility 2024-11-26 00:31:59 +00:00
Palash Tyagi
26a220cc4c moving stuff around 2024-11-22 23:39:56 +00:00