<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Finance on Antoine Boucher</title><link>https://antoineboucher.info/CV/blog/tags/finance/</link><description>Recent content in Finance on Antoine Boucher</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 13 Apr 2026 10:00:00 -0400</lastBuildDate><atom:link href="https://antoineboucher.info/CV/blog/tags/finance/index.xml" rel="self" type="application/rss+xml"/><item><title>Python library for MarketWatch virtual trading</title><link>https://antoineboucher.info/CV/blog/posts/marketwatch-python-trading/</link><pubDate>Mon, 13 Apr 2026 10:00:00 -0400</pubDate><guid>https://antoineboucher.info/CV/blog/posts/marketwatch-python-trading/</guid><description>&lt;p&gt;I published &lt;strong&gt;&lt;a href="https://pypi.org/project/marketwatch/"&gt;marketwatch&lt;/a&gt;&lt;/strong&gt; on PyPI: a small Python client for the &lt;a href="https://www.marketwatch.com"&gt;MarketWatch&lt;/a&gt; &lt;strong&gt;virtual stock game&lt;/strong&gt; (paper trading), not live brokerage access. If you want to script watchlists, pull game or portfolio data, or experiment with automation against the game, it wraps the flows in a straightforward API.&lt;/p&gt;
&lt;h2 id="links"&gt;Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Package:&lt;/strong&gt; &lt;a href="https://pypi.org/project/marketwatch/"&gt;pypi.org/project/marketwatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Documentation:&lt;/strong&gt; &lt;a href="https://antoinebou12.github.io/marketwatch/"&gt;antoinebou12.github.io/marketwatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Source &amp;amp; issues:&lt;/strong&gt; &lt;a href="https://github.com/antoinebou12/marketwatch"&gt;github.com/antoinebou12/marketwatch&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-it-can-do"&gt;What it can do&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Create and manage &lt;strong&gt;watchlists&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Read &lt;strong&gt;game&lt;/strong&gt; details and settings&lt;/li&gt;
&lt;li&gt;Inspect &lt;strong&gt;portfolio&lt;/strong&gt;, positions, and pending orders&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Buy&lt;/strong&gt; and &lt;strong&gt;sell&lt;/strong&gt; (in-game)&lt;/li&gt;
&lt;li&gt;Fetch the &lt;strong&gt;leaderboard&lt;/strong&gt; for a game&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Useful if you are exploring automated strategies or small bots &lt;strong&gt;inside the game’s rules&lt;/strong&gt;—see the docs for method names and return shapes.&lt;/p&gt;</description></item><item><title>Predicting Stock Prices with Monte Carlo Simulations</title><link>https://antoineboucher.info/CV/blog/posts/predicting-stock-prices-monte-carlo/</link><pubDate>Tue, 14 May 2024 09:00:00 -0400</pubDate><guid>https://antoineboucher.info/CV/blog/posts/predicting-stock-prices-monte-carlo/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In finance, decisions are rarely about a single “forecast” price: they are about &lt;strong&gt;ranges&lt;/strong&gt;, &lt;strong&gt;tail risk&lt;/strong&gt;, and &lt;strong&gt;how wrong&lt;/strong&gt; simple models can be. This article walks through a &lt;strong&gt;Monte Carlo path simulation&lt;/strong&gt; in Python: we estimate drift and volatility from historical closes, simulate many future price paths (a geometric Brownian–style discrete step), and summarize the result as a &lt;strong&gt;distribution&lt;/strong&gt;—the right object for risk-style questions (bands, percentiles, coverage against a hold-out period).&lt;/p&gt;</description></item></channel></rss>