"Elixir for Finance" is a practical book for developers who want to learn about financial markets, investment analysis, trading, and risk management through real-world tasks using the Elixir programming language.
About the Book
Instead of dry financial theory, you will work with code, data, and practical examples. The book demonstrates how to apply Elixir for analyzing stocks, cryptocurrencies, commodities, investment portfolios, and trading strategies.
During the learning process, you will use tools from the Elixir ecosystem: Livebook, Explorer, Scholar, and Nx. With their help, you will be able to acquire market data, process tables, perform calculations, analyze returns, and test hypotheses on historical data.
What You Will Learn
- acquire and analyze real economic data through FRED API;
- load stock market data from Yahoo! Finance;
- work with stocks, cryptocurrencies, commodities, and other financial instruments;
- calculate returns, volatility, and portfolio risks;
- evaluate portfolio diversification and the risk-return ratio;
- create technical indicators for market data analysis;
- test trading strategies on historical data;
- use Elixir for practical tasks in financial analysis, investments, and trading.
Topics Covered
Financial Data and Market Analytics
You will learn how to acquire real economic and market data, prepare it for analysis, and use it in your own calculations. Special attention is given to practical work with time series and financial indicators.
Investment Portfolio Analysis
The book helps you understand how to calculate portfolio returns, assess risk, compare assets, and understand how diversification affects the stability of an investment strategy.
Technical Analysis and Trading Strategies
You will learn to create basic technical indicators and test trading ideas on historical data. This approach allows you to not only study strategies in theory but also evaluate their effectiveness in practice.
Who This Book Is For
- developers who want to apply Elixir in finance;
- specialists interested in algorithmic trading and data analysis;
- investors who want to better understand risk, returns, and portfolio structure;
- those who want to study financial markets through practical examples and programming.
What You Will Gain
By the end of the book, you will gain a fundamental understanding of how financial markets work and acquire a set of practical tools in Elixir for analyzing your own investments, portfolios, and trading strategies.
You will be able to independently load financial data, compute key metrics, analyze market dynamics, and test investment ideas using code.
Important
The materials in the book are intended for learning programming, financial analysis, and data handling. They are not individual investment advice or financial recommendations.