Read More 555 views14 minute read Python for Quants XRP-based Crypto Investment Portfolio Inspired by Ripple vs SEC LawsuitByDr. Pawel LachowiczJuly 27, 2023 Crypto-market price actions often revolves around the news. Good or bad? It does not matter. However, the recent… Read More
Read More 591 views4 minute read Python for Quants Structure Function: Forgotten Detection Tool for Periodic Signals in Non-Stationary ProcessesByDr. Pawel LachowiczJuly 7, 2023 In time-series analysis we often examine signals for specific volatility patterns. The simplest one is a periodic or… Read More
Read More 556 views5 minute read Python for Quants In Search for Stablecoin’s Perfect Peg: Application of Negative Hypergeometric DistributionByDr. Pawel LachowiczJune 20, 2023 In crypto market, stablecoins are meant to maintain their constant value with respect to the underlying currency. At… Read More
Read More 559 views11 minute read Python for Quants Comprehensive Book Review: Python for Finance Cookbook, 2nd Ed. by Eryk LewinsonByDr. Pawel LachowiczApril 20, 2023 Thanks to the courtesy of Packt Publishing, I had the pleasure of receiving, reading, and studying the new… Read More
Read More 573 views7 minute read Python for Quants Can ChatGPT Self-Improve Self-Written Python Code for Cholesky Decomposition?ByDr. Pawel LachowiczJanuary 13, 2023 It is needless to say about next big thing in the field of artificial intelligence (AI) known as… Read More
Read More 552 views5 minute read Python for Quants Hacking 1-Minute Cryptocurrency Candlesticks: (3) Making Asynchronous 5-Sec Crypto Price-Series AlignedByDr. Pawel LachowiczJune 14, 2022 Previously, in Part 1, we described the method using websockets to “listen” to the most recent update of… Read More
Read More 547 views5 minute read Python for Quants Hacking 1-Minute Cryptocurrency Candlesticks: (2) Custom Candlestick Charts in PlotlyByDr. Pawel LachowiczApril 23, 2022 In today’s Part 2, as the first step towards crypto-series analysis, we will present the Python code allowing… Read More
Read More 566 views2 minute read Python for Quants How To Check Crypto Market Cap using Python?ByDr. Pawel LachowiczMarch 27, 2022 A quantitative research over the construction of a perfect crypto-portfolio can be based on a number of top… Read More
Read More 548 views9 minute read Python for Quants Quantitative Analysis of a Sample Drawn from the Unknown Continuous PopulationByDr. Pawel LachowiczDecember 12, 2021 In quantitative finance, we very often deal with a sample mean and sample standard deviation being derived given… Read More
Read More 555 views17 minute read Python for Quants Czekanowski Index-Based Similarity as Alternative Correlation Measure in N-Asset Portfolio AnalysisByDr. Pawel LachowiczOctober 27, 2021 In quantitative finance we are used to measuring direct linear correlations or non-linear cross-bicorrelations among various time-series. For… Read More
Read More 539 views11 minute read Python for Quants Built on ETH Blockchain: Inspecting Profitability of New Crypto Coin since its InceptionByDr. Pawel LachowiczMay 19, 2021 An open-source, public, blockchain-based distributed ledger featuring smart contract functionality — Ethereum — no doubt today can be… Read More
Read More 563 views3 minute read Python for Quants Cryptocurrency Exchanges: Where Can You Trade Crypto using Fiat?ByDr. Pawel LachowiczApril 12, 2021 With a myriad of new cryptocurrency exchanges popping up every quarter, lots of newcomers to this field can… Read More
Read More 597 views8 minute read Python for Quants Modelling Slippage for Limit Orders Trading: Adaptive KDE-based Loss Severity Distribution (1)ByDr. Pawel LachowiczMarch 22, 2021 Placing limit orders for trade execution is both quite popular and handy method in (algo)trading. A trader expects… Read More
Read More 550 views6 minute read Python for Quants Introduction to Sell-Off Analysis for Crypto Coins: Triggered by Bitcoin?ByDr. Pawel LachowiczMarch 15, 2021 They say that small fishes buy and sell driven by unstable waters but only big whales make the… Read More
Read More 532 views5 minute read Python for Quants Does Bitcoin Always Co-Move at All Crypto Exchanges?ByDr. Pawel LachowiczFebruary 7, 2021 Nearly every quarter the number of crypto-exchanges offering Bitcoin trading increases. At the moment there is at least… Read More
Read More 554 views4 minute read Python for Quants Piecewise Linear Price Model: Probing Price Momentum of Bitcoin during its Bull RunsByGuestJanuary 30, 2021 by Mertcan Coskun In 2020 Bitcoin delivered us another spectacular bull run. It was as impressive as the… Read More
Read More 548 views3 minute read Python for Quants Where Can You Buy Cryptocurrency?ByDr. Pawel LachowiczJanuary 21, 2021 The progress in cryptocurrency trading is way too fast! The overall global interest in crypto-markets is skyrocketing! Investing… Read More
Read More 534 views11 minute read Python for Quants Revolut as a Cryptocurrency Trading App: Earning or Losing Money?ByDr. Pawel LachowiczJanuary 7, 2021 The unbelievable bull run of the Bitcoin in 2020 (+160.40% gain p.a.) truly dominated investments in S&P500 index… Read More
Read More 583 views4 minute read Python for Quants Does It Make Sense to Use 1-Hour 1% VaR and ES for Bitcoin?ByDr. Pawel LachowiczJanuary 2, 2021 Another day, another record. Today, at 17:35 GST+1, Bitcoin crossed U\$33,000 in trading at Coinbase Pro exchange and… Read More
Read More 585 views4 minute read Python for Quants Cryptocurrency Price Tracking of Bitcoin Gains since its 3rd HalvingByDr. Pawel LachowiczMay 14, 2020 The Bitcoin’s 3rd halving was the most anticipated event this year. This a moment when a reward for… Read More
Read More 636 views10 minute read Python for Quants How to Predict Bitcoin Price with Deep Learning LSTM NetworkByDr. Pawel LachowiczApril 1, 2020 You can’t predict the future unless you have a crystal ball but you can predict Bitcoin price in… Read More
Read More 550 views5 minute read Python for Quants How to Setup in Python TensorFlow 2.1+ for Deep LearningByDr. Pawel LachowiczFebruary 9, 2020 It would be too easy to kick off the series of lectures supplementing my Python for Quants ebooks… Read More
Read More 551 views1 minute read Python for Quants Employing Human Order in pandas DataFrame Sorting: Risk Factors and TenorsByDr. Pawel LachowiczDecember 2, 2019 There are various Python projects which require sorting but not the ones that employ a default alphanumeric functionality.… Read More
Read More 537 views1 minute read Python for Quants Predicting Next Fatal Airline Crash using PythonByDr. Pawel LachowiczJanuary 8, 2019 Welcome in 2019! Happy New Year, All! Before the upcoming premiere of my new book Cryptocurrencies with Python,… Read More
Read More 559 views2 minute read Python for Quants Logistic Regression Analysis of Work Resume during Job InterviewByDr. Pawel LachowiczApril 17, 2018 There are not too many creative opportunities to leave a person applying for a quant role dumbfounded with… Read More
Read More 534 views3 minute read Python for Quants Recalibrating Expected Shortfall to Match Value-at-Risk for Discrete DistributionsByDr. Pawel LachowiczNovember 17, 2017 By considering the same Value at Risk measure, $\varrho$, applied to two or more portfolios (credit loss distributions,… Read More
Read More 588 views4 minute read Python for Quants Earning Money in Cryptocurrency Markets by Spotting Statistical Arbitrage OpportunitiesByDr. Pawel LachowiczNovember 7, 2017 When you come in contact with cryptocurrencies, e.g. Bitcoin (BTC), you quickly realise that there is no single… Read More
Read More 509 views7 minute read Python for Quants Cryptocurrency Portfolios: Identifying Highly Correlated Cryptocurrencies using PCAByDr. Pawel LachowiczMarch 31, 2017 IMHO, there is nothing more exciting these days than researching, analysing, and a good understanding of cryptocurrencies. Powered… Read More
Read More 506 views3 minute read Python for Quants Cryptocurrency Time Series for N-CryptoAsset Portfolio Analysis in PythonByDr. Pawel LachowiczMarch 20, 2017 Welcome to a brand new era of “financial assets” – the crypto-assets. The impossible became possible. Yes, now… Read More
Read More 517 views5 minute read Python for Quants Hacking True Random Numbers in Python: Blockchain MinersByDr. Pawel LachowiczDecember 13, 2016 The magnitude and importance of random numbers in finance does not have to be explained. We need them.… Read More
Read More 568 views4 minute read Python for Quants Conditional Value-at-Risk for Normal and Student t Linear VaR ModelByDr. Pawel LachowiczDecember 8, 2016 Conditional Value-at-Risk (CVaR), also referred to as the Expected Shortfall (ES) or the Expected Tail Loss (ETL), has… Read More
Read More 524 views14 minute read Python for Quants Non-Linear Cross-Bicorrelations between the Oil Prices and Stock FundamentalsByDr. Pawel LachowiczDecember 1, 2016 When we talk about correlations in finance, by default, we assume linear relationships between two time-series “co-moving”. In… Read More
Read More 504 views8 minute read Python for Quants Computation of the Loss Distribution in PythonByDr. Pawel LachowiczJune 5, 2016 In the Operational Risk Management, given a number/type of risks or/and business line combinations, the quest is all… Read More
Read More 543 views11 minute read Python for Quants Probability of Black Swan Events at NYSEByDr. Pawel LachowiczApril 18, 2016 The prediction of extreme rare events (EREs) in the financial markets remains one of the toughest problems. Firstly… Read More
Read More 551 views15 minute read Python for Quants Detecting Human Fear in Electronic Trading: Emotional Quantum EntanglementByDr. Pawel LachowiczApril 5, 2016 This post presents an appealing proof for the progressing domination of algorithmic trading over human trading. By analysing… Read More
Read More 624 views5 minute read Python for Quants Predicting Heavy and Extreme Losses in Real-Time for Portfolio Holders (2)ByDr. Pawel LachowiczDecember 6, 2015 This part is awesome. Trust me! Previously, in Part 1, we examined two independent methods in order to… Read More
Read More 519 views3 minute read Python for Quants Conversion of Financial Time Series based on Daily Returns Matrix in PythonByDr. Pawel LachowiczDecember 1, 2015 As a financial analyst or algo trader, you are so often faced with information on, inter alia, daily… Read More
Read More 527 views7 minute read Python for Quants Predicting Heavy and Extreme Losses in Real-Time for Portfolio Holders (1)ByDr. Pawel LachowiczJune 14, 2015 The probability of improbable events. The simplicity amongst complexity. The purity in its best form. The ultimate cure… Read More
Read More 548 views5 minute read Python for Quants Fast Walsh–Hadamard Transform in PythonByDr. Pawel LachowiczApril 10, 2015 I felt myself a bit unsatisfied after my last post on Walsh–Hadamard Transform and Tests for Randomness of… Read More
Read More 1.1K views15 minute read Python for Quants Walsh–Hadamard Transform and Tests for Randomness of Financial Return-SeriesByDr. Pawel LachowiczApril 7, 2015 Randomness. A magic that happens behind the scene. An incomprehensible little blackbox that does the job for us.… Read More
Read More 513 views3 minute read Python for Quants GARCH(1,1) Model in PythonByDr. Pawel LachowiczOctober 23, 2014 In my previous article GARCH(p,q) Model and Exit Strategy for Intraday Algorithmic Traders we described the essentials of… Read More