Refactor portfolio and fix grammar

This commit is contained in:
schmelczerandras 2020-11-26 17:15:57 +01:00
parent 86ddc3d0d8
commit 59a0afbac7
37 changed files with 546 additions and 451 deletions

30
src/data/forex.ts Normal file
View file

@ -0,0 +1,30 @@
import forexMp4 from '../static/media/forex.mp4';
import forexWebM from '../static/media/forex.webm';
import { Video } from '../page/basics/video/video';
export const forexTimelineElement = {
title: `Predicting foreign exchange rates`,
date: `2019 Autumn`,
figure: new Video({
mp4: forexMp4,
webm: forexWebM,
shouldActLikeGif: true,
}),
description: `
From the animation, we can see that my implementation does a somewhat acceptable job at
predicting (blue graph) the EUR/USD rates (green graph).
`,
more: [
`
In a nutshell, the algorithm (written in Python using NumPy, SciPy, and Flask)
predicts in the frequency domain. The steps are the following: smoothing the input values,
differentiating, applying a short-time Fourier-transformation with overlapped (and Hanning-windowed) windows,
extrapolating and then applying the inverse of these transformations to the resulting values.
`,
`
Of course, there is still plenty of room for improvement, but even with this simple algorithm
a mostly profitable trading strategy is viable. In my free time I may put more work into it.
`,
],
links: [],
};