Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.
DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.
In finance, a position is the amount of a particular security, commodity or currency held or owned by a person or entity. In financial trading, a position in a futures contract does not reflect ownership but rather a binding commitment to buy or sell a given number of financial instruments, such as securities, currencies or commodities, for a given price. In derivatives trading or for financial instruments, the concept of a position is used extensively. There are two basic types of position: a long (holding a positive amount of the instrument) and a short (holding a negative amount of the instrument). Generally speaking, long positions stand to gain from a rise of the price of the instrument and short positions from a fall (but with options the situation is more complicated). Options will be used in the following explanations. The same principle applies for futures and other securities. For simplicity, only one contract is being traded in these examples. When a trader buys an option contract that he is not short, he is said to be opening a long position. When a trader sells an option contract that he is already long, he is said to be closing a long position. When a trader sells an option contract that he is not long, he is said to be opening a short position. When a trader buys an option contract that he is already short, he is said to be closing a short position. A trader holding a bull position will benefit when the price of the underlying goes up. This is equivalent to holding a long position on most financial instruments, but also a short position on put options, inverse ETFs or similar. A trader holding a bear position will benefit when the price of the underlying goes down. This is equivalent to holding a short position on most financial instruments, but also a long position on put options, inverse ETFs or similar. Net position is the difference between total open long (receivable) and open short (payable) positions in a given asset (security, foreign exchange currency, commodity, etc.) held by an individual.
[2]Paolo Prandoni, [3]LCAV, EPFL
In [1]:
import matplotlib.pyplot as plt
import numpy as np
import scipy.signal as sp
import seaborn as sns
sns.set()
In [2]:
plt.rcParams["figure.figsize"] = (14,4)
The basic reproduction number[4]¶
The propagation mechanism of an epidemic such as the one caused by
SARS-CoV-2 virus can be roughly modeled, at least in its inital phase,
as a process in which each infected individ