Articles by Python - datawookie

Optimisation with Pyomo

December 10, 2024 | Python - datawookie

Pyomo is another flexible Open Source optimisation modelling language for Python. It can be used to define, solve, and analyse a wide range of optimisation problems, including Linear Programming (LP) and Mixed-Integer Programming (MIP), nonlinear programming (NLP), and differential equations. 📢 The book Hands-On Mathematical Optimization with Python (available free online) ...
[...Read more...]

Optimisation with CVXPY

December 9, 2024 | Python - datawookie

CVXPY is a powerful, Open Source optimization modelling library for Python. It provides an interface for defining, solving, and analysing a wide range of convex optimization problems, including Linear Programming (LP), Quadratic Programming (QP), Second-Order Cone Programming (SOCP), and Semidefinite Programming (SDP).
[...Read more...]

Scraping and Not Modified Responses

December 3, 2024 | Python - datawookie

In a previous post I looked at the HTTP request headers used to manage browser caching. In this post I’ll look at a real world example. It’s a rather deep dive into something that’s actually quite simple. However, I find it helpful for my understanding to pick ...
[...Read more...]

Avoiding Duplication

October 10, 2024 | Python - datawookie

Avoiding data duplication is a persistent challenge with acquiring data from websites or APIs. You can try to brute force it: pull the data again and then compare it locally to establish whether it’s fresh or stale. But there are other approaches that, if supported, can make this a ... [...Read more...]

Economic Calendar

October 2, 2024 | Python - datawookie

I needed an offline copy of an economic calendar with all of the major international economic events. After grubbing around the internet I found the Economic Calendar on Myfxbook which had everything that I needed.
[...Read more...]
1 2 3 4