That's a Big Idea
Categories
  • Personal (53)
    • Finance & Trading (6)
    • Music (5)
    • Parenting (12)
    • Projects (11)
    • Topical (18)
    • Travel (1)
  • Technology (11)
    • Application Development (8)
    • Product Management (1)
    • Recruiting (2)
Archives
  • July 2024 (1)
  • June 2024 (1)
  • August 2022 (1)
  • October 2017 (1)
  • September 2017 (10)
  • August 2017 (1)
  • June 2017 (1)
  • February 2017 (1)
  • November 2016 (1)
  • October 2016 (6)
  • April 2014 (1)
  • March 2014 (5)
  • March 2013 (2)
  • March 2012 (1)
  • February 2012 (1)
  • January 2012 (1)
  • December 2011 (2)
  • November 2011 (7)
  • October 2011 (10)
  • September 2011 (8)
That's a Big Idea
  • Notes on Technology
    • Application Development
    • Recruiting
    • Product Management
  • Stuff I Think About
    • Finance & Trading
    • Music
    • Parenting
    • Projects
    • Topical
    • Travel
  • About Me
    • Who am I?
    • Random Side Projects
  • Projects

A Side Project

  • craig
  • March 25, 2014
craftswoman working with drafts at table with stationery in workshop
Photo by ANTONI SHKRABA on Pexels.com

My track record for posting here has been pretty poor the past 2 years.  It’s tough to find time to write something interesting, let alone think up something interesting to write.  I want to try and write more, as, dammit, I have interesting stuff to say!  Or if nothing else, I can come back here in 10 years and read about a random side project or creative endeavor.

So on that note, over the past year and change, I did free / volunteer software development for the non-profit, Portfolios with Purpose (PWP), a company which facilitates stock-picking competitions.  Entrants put up money (between $100 and $10,000!), and then pick some stocks; after the year’s up, whoever has the portfolio that’s increased the most wins, and a portion of the winnings goes to a charity of that person’s choosing.  Charitable donations total $264K this year.

My role with PWP was handling some “business logic,” implementing things like figuring out what stocks users are allowed to trade, downloading market data such as prices, splits, and dividends so participants know daily what their portfolios are worth, and alerting out to the tech team of any errors.

Why is this side project interesting?

Market data is a tough beast as there are a ton of edge cases to consider when dealing with things like symbology.  For example, if you want to purchase Ford Motor Company stock, you would likely identify this legal entity to your broker by specifying the reference ticker, F – “buy me 5 shares of F.”  

Trouble with Symbology

This is all well and good when only dealing with certain exchanges.  If, however, you moved to Italy and wanted to buy Fiat, you would tell your broker – “buy me 5 shares of F.”  That is, Fiat lists as F on the Milan exchange.  In other words, and I think this is probably not common knowledge, the “symbol” or “ticker” is not good enough for disambiguating legal entities across global markets.  Consequently, we need to incorporate other identification values to supplement and in the case of Fiat, we can add some exchange details in the form of a suffix – Fiat trades on the Milan exchange, F.MI.

Symbology gets even tougher as sometimes companies acquire or spin off, re-list under different symbols, or old symbols swap in for new companies.  There are numerous other ways of identifying tradable securities (such as CUSIP, ISIN, and SEDOL) but for every standard, there are exceptions and edge cases.  Given that the success of PWP’s competition hinges on the correctness of its market data (you wouldn’t want Ford to show Fiat’s stock price), solving this problem requires a lot of attention.

Unfortunately, we can peel this back further and note that the symbology accepted by market data providers (companies that distribute prices from the exchanges out to the rest of the world) differs as well from one provider to the next.  Or, by way of example, Fiat on Yahoo Finance is available via F.MI; but if you head over to Google, you’ll need to look for BIT:FI (BIT for Borsa Italiana).  If you’re trading across the global markets, of which there surprisingly about 1000 (stocks and other products), you need to be very careful about this stuff!

You can see my PWP side project work over in my github repo.

You May Also Like
Illustration of code being packed into a truck and shipped off to a server factory, featuring a neon color palette with purples and pinks and a matrix-like tech-themed background.
View Post

Deploying a Dockerized Django Application to Production

View Post

How to Set up Django with Docker, PostgreSQL and React

project sherpa - a better way to find a better job
View Post

ProjectSHERPA: a startup retrospective

Read Next
  • Illustration of code being packed into a truck and shipped off to a server factory, featuring a neon color palette with purples and pinks and a matrix-like tech-themed background.
    Deploying a Dockerized Django Application to Production
    • July 2, 2024
  • How to Set up Django with Docker, PostgreSQL and React
    • June 5, 2024
  • resume checklist next to a computer
    How to Craft and Optimize an Awesome Tech Resume
    • August 20, 2022
  • Most Common First Baby Words
    • October 5, 2017
  • baby blocks
    12 Proven Ways to Improve Baby Name Recognition
    • September 28, 2017
I’m Everywhere!
I'm Everywhere! FacebookI'm Everywhere! TwitterI'm Everywhere! LinkedInI'm Everywhere! YouTubeI'm Everywhere! GithubI'm Everywhere! VimeoI'm Everywhere! Goodreads
Craig Perler's Blog
That's a Big Idea!

Input your search keywords and press Enter.