ArcticDB is a database for pandas DataFrames and time series, developed by Man Group: a DataFrame goes in and a DataFrame comes out. It runs with no intermediate server, on top of an S3-type object store, and keeps versions of each symbol instead of overwriting it. It is built for volumes of financial data that do not fit well in loose files or in an SQL database.

The research in this topic builds a data lake step by step. The first explains what a data lake is, why NoSQL for financial series and the serverless architecture on S3. The second connects ArcticDB to AWS S3, Cloudflare R2 or Wasabi and runs a first ingestion: a macroeconomic calendar. The third downloads unadjusted prices, dividends, splits and metadata for Nasdaq stocks from EODHD. The last writes a Zipline bundle that reads from the data lake and ingests SPY, QQQ, DIA, TLT and GLD.

Research-00225 min

Big Data Management 4 - Using the Datalake in Zipline

In this article, we will create a solution to use any type of data within a zipline pipeline. We will create an algorithm that queries the datalake, performs the appropriate transformations, and subsequently ingests the data into zipline within the so-called bundle.