<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anupam Jain</title>
    <description>The latest articles on DEV Community by Anupam Jain (@anupam99jain).</description>
    <link>https://dev.to/anupam99jain</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4151566%2F45414e2e-c94a-4d9e-9ca3-2fcf679b3945.jpg</url>
      <title>DEV Community: Anupam Jain</title>
      <link>https://dev.to/anupam99jain</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anupam99jain"/>
    <language>en</language>
    <item>
      <title>TradeSim AI</title>
      <dc:creator>Anupam Jain</dc:creator>
      <pubDate>Tue, 20 Oct 2026 06:09:11 +0000</pubDate>
      <link>https://dev.to/anupam99jain/tradesim-ai-3hlf</link>
      <guid>https://dev.to/anupam99jain/tradesim-ai-3hlf</guid>
      <description>&lt;h1&gt;
  
  
  TradeSim AI: Slow and Steady Wins the Trade
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://dev.to/t/devchallenge"&gt;#devchallenge&lt;/a&gt; &lt;a href="https://dev.to/t/hf26challenge"&gt;#hf26challenge&lt;/a&gt; &lt;a href="https://dev.to/t/hacktoberfest"&gt;#hacktoberfest&lt;/a&gt; &lt;a href="https://dev.to/t/mlh"&gt;#mlh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;TradeSim AI is an AI-powered paper trading and strategy backtesting platform that helps retail traders and finance students experiment with trading strategies using historical market data — without risking real money.&lt;/p&gt;

&lt;p&gt;Instead of chasing quick wins, the platform encourages a slower, more disciplined approach to strategy development. Users can evaluate market signals, observe simulated portfolio performance, and refine their trading logic over time.&lt;/p&gt;

&lt;p&gt;It combines traditional technical indicators like SMA and RSI with an open-weight language model that provides BUY, SELL, or HOLD decisions based on the current market state.&lt;/p&gt;

&lt;p&gt;The goal is simple: &lt;strong&gt;test patiently, measure consistently, and let the results speak for themselves.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;The platform runs locally, allowing users to experiment with simulated trades and track virtual portfolio performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/anupam99jain/paper-trader" rel="noopener noreferrer"&gt;anupam99jain/paper-trader&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;TradeSim AI is a lightweight simulated trading engine that combines technical analysis with LLM-guided decisions.&lt;/p&gt;

&lt;p&gt;Key features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Simulated order execution with virtual capital.&lt;/li&gt;
&lt;li&gt;Built-in technical indicators, including SMA and RSI.&lt;/li&gt;
&lt;li&gt;AI-assisted BUY/SELL/HOLD decisions.&lt;/li&gt;
&lt;li&gt;Portfolio value tracking throughout simulated trading.&lt;/li&gt;
&lt;li&gt;A modular architecture that makes it easy to experiment with additional indicators and strategy logic.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The backend is built in Python, with Qwen 2.5 7B serving as the open-weight AI model through Ollama.&lt;/p&gt;

&lt;p&gt;The trading engine follows a straightforward workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Fetch market price data.&lt;/li&gt;
&lt;li&gt;Calculate technical indicators, including the 20-period SMA, 50-period SMA, and 14-period RSI.&lt;/li&gt;
&lt;li&gt;Feed the current market state into a structured prompt.&lt;/li&gt;
&lt;li&gt;Ask the model to return a BUY, SELL, or HOLD decision.&lt;/li&gt;
&lt;li&gt;Execute simulated trades, account for transaction fees, and update the virtual portfolio.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Keeping the system modular makes it easier to compare different strategies, adjust the decision-making logic, and experiment with alternative open-weight models.&lt;/p&gt;

&lt;p&gt;Rather than treating an individual trade as proof that a strategy works, the platform makes it possible to observe how decisions accumulate over a longer testing period.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation makes experimentation more accessible.&lt;/p&gt;

&lt;p&gt;Running an open-weight model locally through Ollama reduces dependence on metered, proprietary AI APIs and gives users greater control over how their market data and strategy logic are processed.&lt;/p&gt;

&lt;p&gt;It also makes the underlying AI component easier to inspect, replace, and experiment with as new models become available.&lt;/p&gt;

&lt;p&gt;For a project centered on repeated testing, these advantages matter. Developers should be able to run experiments, compare outcomes, and improve their strategies without every iteration introducing another API bill.&lt;/p&gt;

&lt;p&gt;The broader idea is that useful AI-powered financial tools should be approachable for students and independent developers, not just people with expensive infrastructure or proprietary subscriptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;The model's decision-making loop is integrated into the trading engine, where it receives technical indicators and returns a structured trading action.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Backtesting removes much of the repetitive work involved in manually checking trading ideas against market data.&lt;/p&gt;

&lt;p&gt;Instead of watching charts continuously or executing every hypothetical trade by hand, users can let the engine process market updates, calculate indicators, simulate orders, and track portfolio performance.&lt;/p&gt;

&lt;p&gt;That leaves more time for the part that actually matters: understanding why a strategy works, where it fails, and whether its results hold up across a longer test.&lt;/p&gt;

&lt;p&gt;The platform is designed to support experimentation, not promise profits. Simulated returns do not guarantee future performance in live markets.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>hacktoberfest</category>
      <category>mlh</category>
    </item>
  </channel>
</rss>
