Blackrock Engineering
Read post

Think Like an Octopus (in Python)

This post explores different options in Python for calculating the market value percent of a sector in an ETF. It discusses trade-offs between methods such as threading, multiprocessing, C++ wrappers, and numpy. The author highlights that numpy is the winner due to its performance, controls, safeguards, and features.

    #python#numpy
Mar 21, 2024•17m read time•From engineering.blackrock.com
Post cover image
Table of contents
Think Like an Octopus (in Python)Executive SummaryProblem SetupExamining ApproachesIterative ApproachThreading ApproachMultiprocessing ApproachMultiprocessing Approach With Fixed WorkersC++ Wrappers and Recreating the WheelnumpyThird Party LibrariesConclusion
25 Impressions
Blackrock Engineering's image
Blackrock Engineering

BlackRock is a global investment management corporation. Readers can learn about finance, investment...

139 Followers

•

9 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard