Bid–ask matrix

From testwiki
Revision as of 08:48, 5 September 2024 by imported>Darcourse (Arbitrage in bid-ask matrices)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The bid–ask matrix is a matrix with elements corresponding with exchange rates between the assets. These rates are in physical units (e.g. number of stocks) and not with respect to any numeraire. The (i,j) element of the matrix is the number of units of asset i which can be exchanged for 1 unit of asset j.

Mathematical definition

A d×d matrix Π=[πij]1i,jd is a bid-ask matrix, if

  1. πij>0 for 1i,jd. Any trade has a positive exchange rate.
  2. πii=1 for 1id. Can always trade 1 unit with itself.
  3. πijπikπkj for 1i,j,kd. A direct exchange is always at most as expensive as a chain of exchanges.[1]

Example

Assume a market with 2 assets (A and B), such that x units of A can be exchanged for 1 unit of B, and y units of B can be exchanged for 1 unit of A. Then the bid–ask matrix Π is:

Π=[1xy1]

It is required that xy1 by rule Template:Mvar.

With 3 assets, let aij be the number of units of Template:Mvar traded for Template:Mvar unit of Template:Mvar. The bid–ask matrix is:

Π=[1a12a13a211a23a31a321]

Rule Template:Mvar applies the following inequalities:

  • a12a211
  • a13a311
  • a23a321
  • a13a32a12
  • a23a31a21
  • a12a23a13
  • a32a21a31
  • a21a13a23
  • a31a12a32

For higher values of Template:Mvar, note that 3-way trading satisfies Rule Template:Mvar as

xikxklxljxilxljxij

Relation to solvency cone

If given a bid–ask matrix Π for d assets such that Π=(πij)1i,jd and md is the number of assets which with any non-negative quantity of them can be "discarded" (traditionally m=d). Then the solvency cone K(Π)d is the convex cone spanned by the unit vectors ei,1im and the vectors πijeiej,1i,jd.[1]

Similarly given a (constant) solvency cone it is possible to extract the bid–ask matrix from the bounding vectors.

Notes

  • The bid–ask spread for pair (i,j) is {1πji,πij}.
  • If πij=1πji then that pair is frictionless.
  • If a subset sπij=1sπji then that subset is frictionless.

Arbitrage in bid-ask matrices

Arbitrage is where a profit is guaranteed.

If Rule 3 from above is true, then a bid-ask matrix (BAM) is arbitrage-free, otherwise arbitrage is present via buying from a middle vendor and then selling back to source.

Iterative computation

A method to determine if a BAM is arbitrage-free is as follows.

Consider n assets, with a BAM πn and a portfolio Pn. Then

Pnπn=Vn

where the i-th entry of Vn is the value of Pn in terms of asset i.

Then the tensor product defined by

VnVn=vivj

should resemble πn.

References

Template:Reflist