Skip to content

Instantly share code, notes, and snippets.

@DanilSuits
Created October 3, 2017 00:27
{ events :
[ { sell : { id:1, price:200, units:100} }
, { sell : { id:2, price:201, units:100} }
, { sell : { id:3, price:200, units:100} }
, { match : { sellOrder:1, buyOrder:4, price:200, units:100} }
, { match : { sellOrder:3, buyOrder:4, price:200, units:50} }
, { match : { sellOrder:3, buyOrder:5, price:200, units:50} }
, { buy : { id:5, price:200, units:100 } }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment