akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir for analyzing financial data. This book leans on many of the latest computation-heavy libraries like Nx, Scholar and Explorer so you can analyze financial time series data. We also make extensive use of Livebook and Vega-Lite so that you can visualize your results. Livebook also makes it so that you can tie all these tools together and quickly build UIs to make the exploration of financial data more enjoyable!

Throughout this book you will learn how to:

  • Fetch and analyze real economic data from the FRED API
  • Pull down the latest stock market data from Yahoo! Finance
  • Calculate risk and return for your portfolio across stocks, crypto, and commodities
  • Build technical trading indicators and backtest them against actual market history
  • Map risk-return tradeoffs and evaluate portfolio diversification

By the end of the book, you will have a better understanding as to how the financial markets operate and how to analyze them your favorite programming language!

  1. Part I: Augmenting Financial Intelligence with Elixir

  • The Elixir Programming Language
  • Finance is All Around Us
  • Overview of the Various Asset Classes
  • Stock Market Booms and Busts
  • US Market Indices
  • US Housing Data
  • Commodity Prices
  • Covid-19 and the “Top 1%” of Wealthy Investors’ Holdings
  • Technology in Finance
  • Establishing Elixir Framework for Stock Data
  1. Part II: Under the Hood: Portfolio and Risk Management in Action

  • Portfolio Analytics and Benchmarking
  • Constructing and Calculating an Index
  • Is Diversification Worth It?
  1. Part III: Technical Analysis and Market Timing with Elixir

  • Trading Strategies for Timing Markets
  • Backtesting Trading Strategies
  1. Part IV: Advanced Topics in Regression Modeling and Risk Management

  • Mapping Risk-Return Trade-Offs Across Markets
  • Concluding Remarks And Your Future Journey

Check out the book landing page for more details and to see how you can buy the book at 20% off while we’re in beta:

https://www.financialelixir.dev/

Also our promo video where we show off a few of the projects that you will build:

Happy hacking!

Showing Posts 1 to 10

shishini

shishini

First good luck
Second why is the sample chapters a zip file, i trust you, but i would feel better if it was just a pdf :slight_smile:

jmnda

jmnda

Awesome :tada:. I’ve been playing around with automated trading algorithms using Elixir + ZeroMQ + MetaTrader5, so this book with definitely help in analyzing market data and build optimized trading systems.

akoutmos

akoutmos OP

Author of Build a Weather Station with Elixir and Nerves

I too have a healthy dose of skepticism when it comes to these things lol. The reason it is a zip is because the free sample contains the epub, pdf, and Livebook notebooks and zipping it was the easiest way to distribute all the files in one bundle.

I just downloaded the free sample zip from ConvertKit to make sure they don’t stuff anything else in there. Everything in there is what we intended to bundle:

$ unzip -l elixir-for-finance-free-sample-0.1.0.zip
Archive:  elixir-for-finance-free-sample-0.1.0.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  08-18-2026 09:35   elixir-for-finance-free-sample-0.1.0/
  1584656  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/elixir_for_finance_free_sample.epub
  2231918  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/elixir_for_finance_free_sample.pdf
        0  08-18-2026 09:35   elixir-for-finance-free-sample-0.1.0/livebook_files/
        0  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/livebook_files/chapter_1/
     1053  08-14-2026 11:49   elixir-for-finance-free-sample-0.1.0/livebook_files/chapter_1/enum_v_explorer_benchmark.livemd
      898  08-14-2026 11:54   elixir-for-finance-free-sample-0.1.0/livebook_files/chapter_1/fred_yfinance.livemd
     1363  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/livebook_files/index.livemd
      893  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/livebook_files/README.md
      228  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/livebook_files/start_livebook.sh
        0  08-14-2026 15:36   elixir-for-finance-free-sample-0.1.0/livebook_files/files/
    96209  08-14-2026 15:07   elixir-for-finance-free-sample-0.1.0/livebook_files/files/book_cover.jpg
---------                     -------
  3917218                     12 files
akoutmos

akoutmos OP

Author of Build a Weather Station with Elixir and Nerves

That sounds like fun!

While we don’t get into stream processing of data in this book, you can definitely apply what we teach you to stream processing time seriesy data. Not to mention, all the Nx tools and Explorer are wicked fast so you should have no problem appending data to a DataFrame for example and rerunning analysis :wink:.

manhvu

manhvu

I think need to add stream processing, your book in financial domain with machine learning is interesting. Do you have plan to publish on Pragprog.com ?

OyugoObonyo

OyugoObonyo

This sure looks like an awesome read. I did submit my email so that I can peruse through the free chapters before making a purchase decision but I’m yet to receive the free chapters bundle in my email. Isn’t this unusual? How else can I access the free bundle?

shishini

shishini

i received it almost instantaneously, check your spam folder

hugobarauna

hugobarauna

Livebook Core Team

If you still haven’t received it, please let me know; I can fix it.

arrowcircle

arrowcircle

Got the beta and right now its not worth it. For me personally, price to elixir tricks value is much less compared to pragprog books. Hope final release will be better.

akoutmos

akoutmos OP

Author of Build a Weather Station with Elixir and Nerves

I definitely appreciate the candid feedback. Can you expand upon “price to elixir tricks value is much less compared…”? I’m not following what you mean by this?

Where Next? Top

Trending in Books Top

akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New
manhvu
I have a sharing session about the Elixir ecosystem for Erlang developers. I feel that people are still confused about the differences be...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews