Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 583 Bytes

README.org

File metadata and controls

13 lines (12 loc) · 583 Bytes

A Simple Simulation of Stock/Bitcoin Market.

N Agents

  • Fix \(δi\), find \(Li = L(δi)\)
    \(L(δ) = C * Γ(\frac{δ}{C_0}; k=7.5, θ=1)\), where \(C=10\)
  • sample \(α\) from \(Γ(2, 2)\)
  • sample \(α_0\) from \(\text{Uniform}(-α, +α)\)
  • find n from equation \(n \frac{α+α n}{2} = δ\)
  • create \(2n\) non-overlapping relays \((α_0 - n α, α_0 - (n-1) α)\) …
  • Initialize relays:
    • if \(α_L ≥ 0\), relay = 1
    • if \(α_L < 0\), relay = 0

D Agents