Risk-constrained optimization

February 5, 2021 | OSM

Our last post parsed portfolio optimization outputs and examined some of the nuances around the efficient frontier. We noted that when you start building portfolios with a large number of assets, brute force simulation can miss the optimal weighting scheme for a given return or risk profile. While optimization finds ...
[...Read more...]

Launching Selenium with JavaScript Disabled

February 3, 2021 | Python | datawookie

I have a rather obscure situation where I want to launch Selenium… but with JavaScript disabled. from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.desired_capabilities import DesiredCapabilities After a bit of Googling it turns out that this is eminently possible by just ...
[...Read more...]

How a File Format Exposed a Crossword Scandal

February 2, 2021 | Paul van der Laken

Vincent Warmerdam shared this Youtube video which I thoroughly enjoyed watched. It’s about Saul Pwanson, a software engineer whose hobby project got a little out of hand. In 2016, Saul Pwanson designed a plain-text file format for crossword puzzle data, and then spent a couple of months building a micro-data-pipeline, ...
[...Read more...]

Parsing portfolio optimization

January 31, 2021 | OSM

Our last few posts on risk factor models haven’t discussed how we might use such a model in the portfolio optimization process. Indeed, although we’ve touched on mean-variance optimization, efficient frontiers, and maximum Sharpe ratios in this portfolio series, we haven’t discussed portfolio optimization and its outputs ...
[...Read more...]

Persistent Selenium Sessions

January 28, 2021 | Python | datawookie

I have a project where I need to have a persistent Selenium session. There’s a script which will leave a browser window open when it exits. When the script runs again it should connect to the same window. Derive a new class from selenium.webdriver.Remote. from selenium import ...
[...Read more...]
1 43 44 45 46 47 87