Python

Download all US stocks from EODHD API for only 20$/month.

I’m happy that market data APIs are becoming increasingly accessible to everyone. This democratizes the market and gives everyone a better chance to make informed investments and trading decisions. With services like EODHD, you can now access US stocks for as little as $20 a month. Eodhistoricaldata.com does not sponsor this post, it’s just an …

Download all US stocks from EODHD API for only 20$/month. Read More »

Backtesting intraday stock strategies in Python with vectorbt

Creating trading bots these days on intraday data become more and more popular days. For simple backtesting trades usually go to Pine Script. But with libraries like vectorbt backtesting in Python become quite simple. Also, not many people know that you can get intraday data for stocks from Yahoo Finance for free. So in summary …

Backtesting intraday stock strategies in Python with vectorbt Read More »

Empyrial – The Easiest Way to Optimize Portfolios in Python

Portfolio calculation and optimizations are very basic tasks in Quantitative Finance. But people who are just started programming might have issues with them. Empyrial library in Python might be a solution for simple portfolio tasks. It encloses data downloading and all computations behind a super simple interface. You can literally code optimization in 1-2 lines …

Empyrial – The Easiest Way to Optimize Portfolios in Python Read More »

Empyrial – The Easiest Way to Optimize Portfolios in Python

Portfolio calculation and optimizations are very basic tasks in Quantitative Finance. But people who are just started programming might have issues with them. Empyrial library in Python might be a solution for simple portfolio tasks. It encloses data downloading and all computations behind a super simple interface. You can literally code optimization in 1-2 lines …

Empyrial – The Easiest Way to Optimize Portfolios in Python Read More »

Paring WallStreetBets in Python in Few Lines of Code (Reddit API)

If you’re even slightly interested in trading or investing you probably heard about WallStreetBets. I’s a huge community of retail traders on Reddit with 9.5M followers. This community can influence the market quite significantly these days. Here is a chart of Gamestop, the most famous stock in the community. As you can see community triggered …

Paring WallStreetBets in Python in Few Lines of Code (Reddit API) Read More »

Calculating Multi-Timeframe Backtests in Python with Backtrader

Pretty often it can be interesting to backtest a strategy across several timeframes. In the simple case you want to have a signal on one timeframe and just want a confirmation for another higher timeframe. In this video, I will show you how easy it is to use multiple timeframes in Backtrader backtests in Python. …

Calculating Multi-Timeframe Backtests in Python with Backtrader Read More »