pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
1.87k stars 282 forks source link

Optimization and refactoring: fitness. #236

Closed quant12345 closed 1 month ago

quant12345 commented 1 month ago

This PR makes method fitness from the _erc_weights_slsqp (core.py) faster. Here are the comparison results. Loops are replaced by vector operations.