Skip to content

Commit 1638f88

Browse files
committed
first phase of reducing dependencies
1 parent 8ce9442 commit 1638f88

File tree

35 files changed

+465
-82
lines changed

35 files changed

+465
-82
lines changed
6.39 KB
Loading

content/posts/finance/monte_carlo/Black-Scholes/index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@ For a European call option, the Black-Scholes formula is:
3030

3131
$$
3232
C = S₀N(d_1) - Ke^{-rT}N(d_2)
33-
3433
$$
3534

3635
Where:
3736

3837
$$
3938
d_1 = \frac{(ln(S_0/K) + (r + σ²/2)T)}{(σ\sqrt{T})}, \quad
4039
d_2 = d_1 - \sigma \sqrt{T}
41-
4240
$$
4341

4442
- C: Call option price
@@ -86,9 +84,9 @@ Monte Carlo methods use repeated random sampling to obtain numerical results. In
8684

8785
For option pricing, we model the stock price movement using a stochastic differential equation:
8886

89-
```
90-
dS = μSdt + σSdW
91-
```
87+
$$
88+
dS = \mu Sdt + \sigma SdW
89+
$$
9290

9391
Where:
9492

hugo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ module:
1818
# # target: data
1919
- source: assets
2020
target: assets
21-
- source: static
22-
target: static
21+
# - source: static
22+
# target: static
2323
mounts:
2424
- source: static/files
2525
target: static/files

public/categories/finance/index.html

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,50 @@
288288

289289

290290

291+
<div class="post-card">
292+
<div class="card">
293+
<div class="card-head">
294+
<a href="/posts/finance/monte_carlo/black-scholes/" class="post-card-link">
295+
<img class="card-img-top" src='/posts/finance/monte_carlo/black-scholes/Option-Pricing-Models-1.jpg' alt="Hero Image">
296+
</a>
297+
</div>
298+
<div class="card-body">
299+
<a href="/posts/finance/monte_carlo/black-scholes/" class="post-card-link">
300+
<h5 class="card-title">Monte Carlo Simulation for Option Pricing</h5>
301+
<p class="card-text post-summary">1. Introduction In the dynamic world of finance, options play a crucial role in risk management, speculation, and portfolio optimization. An option is a contract that gives the holder the right, but not the obligation, to buy (call option) or sell (put option) an underlying asset at a predetermined price (strike price) within a specific time frame. The challenge lies in accurately pricing these financial instruments, given the uncertainties in market movements.</p>
302+
</a>
303+
304+
<div class="tags">
305+
<ul style="padding-left: 0;">
306+
307+
308+
<li class="rounded"><a href="/tags/finance/" class="btn btn-sm btn-info">Finance</a></li>
309+
310+
311+
<li class="rounded"><a href="/tags/options/" class="btn btn-sm btn-info">Options</a></li>
312+
313+
314+
<li class="rounded"><a href="/tags/statistics/" class="btn btn-sm btn-info">Statistics</a></li>
315+
316+
</ul>
317+
</div>
318+
319+
320+
</div>
321+
<div class="card-footer">
322+
<span class="float-start">
323+
Sunday, June 23, 2024
324+
| 6 minutes </span>
325+
<a
326+
href="/posts/finance/monte_carlo/black-scholes/"
327+
class="float-end btn btn-outline-info btn-sm">Read</a>
328+
</div>
329+
</div>
330+
</div>
331+
332+
333+
334+
291335
<div class="post-card">
292336
<div class="card">
293337
<div class="card-head">

public/categories/finance/index.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@
66
<description>Recent content in Finance on Stefano Giannini</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en</language>
9-
<lastBuildDate>Sun, 16 Jun 2024 00:00:00 +0100</lastBuildDate><atom:link href="http://localhost:1313/categories/finance/index.xml" rel="self" type="application/rss+xml" /><item>
9+
<lastBuildDate>Sun, 23 Jun 2024 00:08:25 +0100</lastBuildDate><atom:link href="http://localhost:1313/categories/finance/index.xml" rel="self" type="application/rss+xml" /><item>
10+
<title>Monte Carlo Simulation for Option Pricing</title>
11+
<link>http://localhost:1313/posts/finance/monte_carlo/black-scholes/</link>
12+
<pubDate>Sun, 23 Jun 2024 00:08:25 +0100</pubDate>
13+
14+
<guid>http://localhost:1313/posts/finance/monte_carlo/black-scholes/</guid>
15+
<description>1. Introduction In the dynamic world of finance, options play a crucial role in risk management, speculation, and portfolio optimization. An option is a contract that gives the holder the right, but not the obligation, to buy (call option) or sell (put option) an underlying asset at a predetermined price (strike price) within a specific time frame. The challenge lies in accurately pricing these financial instruments, given the uncertainties in market movements.</description>
16+
</item>
17+
18+
<item>
1019
<title>MSFT Stock Prediction using LSTM or GRU</title>
1120
<link>http://localhost:1313/posts/finance/stock_prediction/gru/</link>
1221
<pubDate>Sun, 16 Jun 2024 00:00:00 +0100</pubDate>

public/categories/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<description>Recent content in Categories on Stefano Giannini</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en</language>
9-
<lastBuildDate>Sun, 16 Jun 2024 00:00:00 +0100</lastBuildDate><atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
9+
<lastBuildDate>Sun, 23 Jun 2024 00:08:25 +0100</lastBuildDate><atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
1010
</channel>
1111
</rss>

public/index.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -951,11 +951,6 @@ <h1 class="text-center">
951951

952952

953953

954-
<div class="logo-holder">
955-
<img class="company-logo light-logo" src="/images/sections/experience/stellantis_logo.png" alt="" />
956-
957-
</div>
958-
959954

960955

961956

@@ -1039,11 +1034,6 @@ <h6 class="text-heading">Responsibilities:</h6>
10391034

10401035

10411036

1042-
<div class="logo-holder">
1043-
<img class="company-logo light-logo" src="/images/sections/experience/smairthero.png" alt="" />
1044-
1045-
</div>
1046-
10471037

10481038

10491039

@@ -1115,11 +1105,6 @@ <h6 class="text-heading">Responsibilities:</h6>
11151105

11161106

11171107

1118-
<div class="logo-holder">
1119-
<img class="company-logo light-logo" src="/images/sections/experience/Soave_logo.jpg" alt="" />
1120-
1121-
</div>
1122-
11231108

11241109

11251110

0 commit comments

Comments
 (0)