Enhanced Dollar Cost Averaging Automation

Algorithmic Trading

Overview

  • What It Is: This project is a production-grade automation app that enhances traditional DCA strategies by using adaptive logic to optimize purchase timing.
  • Goal: The goal is to reduce average cost per asset while avoiding overexposure, using intelligent capital deployment across multiple assets.

Key Achievements & Features

  1. Priority-Driven Asset Allocation
    • Iteratively checks assets in a user-defined priority list.
    • Only executes trades when asset price is below the portfolio's average cost basis.
  2. Capital Efficiency
    • Uses a fixed percentage of available capital per check to avoid ill-timed lump sum investing.
    • Tracks historical performance and trade conditions to support strategy validation.
  3. Trade Execution Engine
    • Automated limit order submissions with dynamic pricing logic.
    • Failsafe and logging mechanisms to prevent runaway order placement.

Technologies & Skills Demonstrated

  • Python
  • Flask
  • PostgreSQL
  • Alpaca Markets API
  • Plotly
  • Cron Scheduling

Big-Picture Vision

  • Accessible Automated Investing: This project empowers retail investors to follow a disciplined strategy that adapts intelligently to market conditions, minimizing emotional decision-making.
  • Scalable FinTech Infrastructure: Forms the foundation for larger-scale portfolio automation, with potential expansion into multi-user support, OAuth integration, and predictive signal layers.
View on GitHub
Back to Projects