S
S
Slav22018-12-18 01:49:38
Algorithms
Slav2, 2018-12-18 01:49:38

How to find the dynamic equilibrium of asset prices on the stock exchange?

Good afternoon.
Suppose there is an exchange on which several cryptocurrencies are traded. Trading is carried out both against fiat (dollar, ruble, etc.) and some cryptocurrencies among themselves. To simplify the task, we will assume that there are no commissions for trading. For each trading pair at any time, we can find out the order books and calculate the average purchase or sale price of a given amount of cryptocurrency. Initially, the system was in price equilibrium, but someone brought a lot of dollars to the exchange and bought, for example, bitcoins for the entire amount. Bitcoin on a pair against the dollar becomes overvalued and a certain amount of bitcoins begins to flow to this pair from other pairs. After some time, the system finds a new price equilibrium. Suggest an algorithm for calculating prices at the moment of equilibrium.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Skusnov, 2018-12-18
@AlexSku

I'm not ready yet to say about the balance, but the price is determined by transactions. And transactions are determined by opportunity (one has $10, another has a million) and desire (to make a profit). Where the course will go, no one will tell you, there is no Vanga. In the case of currency exchange, in addition to desire, there is also a need (for example, the Japanese sold cars for dollars, but they want to pay salaries in yens).

A
Anatoly, 2018-12-18
@Tolly

Suggest an algorithm for calculating equilibrium prices.

What is it? :)
Is it like an arithmetic mean deviation of 1-2%?
If such a deviation takes place, then the reason for the deviation may not be the size of the bubble input, but some other one. I understand that, for example, trading the ruble / dollar on different exchanges is a normal arbitrage, but different currencies, IMHO, these are absolutely not correlated things.
Take for example the ruble/dollar, oil/dollar pairs, they can move in different directions. This is how people lose money.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question