Skip to content

Market exploration

Gianluca Detommaso edited this page Oct 8, 2021 · 2 revisions

Volatile allows user-guided market exploration. Open your terminal (we indeed recommend to use the terminal for this; Google Colab may not work properly) and type

python exploration.py

Volatile will start by showing you price trajectories, volumes, trends and uncertainty estimate for a random set of stocks, asking you if you would like to chose any of these stocks. If you like any of these (one or more) just input them in the terminal; otherwise type NEXT and a new set of plots will appear. Every time you make a choice, Volatile updates the probabilities of every stock to appear according to a measure of correlation of price trajectories with the stocks that you have chosen. So doing, at each round more and more stocks will be close to the ones you have chosen. If at any point you would like to reset your choices, type RESTART. When you are done choosing, just type STOP and a plot corresponding to the stocks you have chosen will be saved in your folder.

In the following example, we were looking for price trajectories that were growing in time but underwent a recent fall. Within 6 rounds we selected a total of 6 stocks, typing as in the following picture.

Screenshot 2021-10-08 at 20 26 29

At the end, the following plot was saved in our folder.

exploration_chosen_stocks