Algorithmic Trading with Python and Google Colab (1)

The Python Quants
4,134 views β€’

Can Markets Be Predicted? β€” Session 1 πŸ”§ Put the random-walk benchmark to the test β€” autocorrelation diagnostics, Ljung–Box tests, and a linear OLS signal model with vectorized backtesting, all in Google Colab. πŸ“‚ GitHub repo: https://github.com/yhilpisch/algocolab 🎁 Use our community discount code SPECIAL5 when enrolling in any of our programs (5% off). In this first session of our free 3-part webinar series "Algorithmic Trading with Python and Google Colab", Dr. Yves J. Hilpisch asks whether daily EUR/USD returns carry statistically detectable structure β€” and whether any of it survives transaction costs. πŸ“ Topics in this session: β€’ Research environment: frozen EUR/USD snapshot with 2,513 daily observations β€’ Scoped null: weak-form EMH and the random-walk benchmark β€’ Null-model laboratory: seeded independent and AR(1) controls matched on mean and volatility β€’ Test suite: moments, sample ACF with Bartlett bands, Ljung–Box Q(h) with p-values β€’ Granger-style nested regressions and incremental effect size β€’ Lagged-return OLS signal model with 0.5 bp one-way FX costs β€’ Train/validation/test backtesting and why signal decay occurs out of sample β€’ Why the fixed 60/20/20 chronology is a classroom scaffold, not a deployment recipe πŸ”— Resources: πŸ“‘ Slides: https://tpq.io/tpq_colab_trading_1.pdf πŸ“‚ Code & notebooks: https://github.com/yhilpisch/algocolab πŸ“Š TDS: https://thedatascientist.dev πŸ“ˆ CPF: https://python-for-finance.com πŸ€– TAE: https://theaiengineer.dev β‚Ώ TCE: https://thecryptoengineer.dev πŸ“Œ Disclaimer: This content is provided solely for illustration and educational purposes. It does not constitute financial, investment, legal, or professional advice, nor an offer or solicitation to buy or sell any security, financial instrument, or trading strategy. Past performance, whether simulated, backtested, or real, is no guarantee of future results. Algorithmic trading involves substantial risk, including the possible loss of principal capital. No warranties or guarantees of any kind are given. Use at your own risk. #AlgorithmicTrading #Python #QuantFinance #Finance #EMH #RandomWalk #TimeSeries #Statistics #GoogleColab #Backtesting #EURUSD #OLS #LjungBox #Trading #ThePythonQuants

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close