Skip to content

BTC exchange with basic buy, sell operations and a random initial balance between 1 and 10 BTC at registration.

Notifications You must be signed in to change notification settings

riomrz/exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exchange

BTC exchange with basic buy, sell operations and a random initial balance between 1 and 10 BTC at registration. Buy order business logic: a buy order for x amount of BTC at a price y is matched with all sell orders with a price equal or less than y, sorted by price, until the total amount of x BTC is reached. If there are not enough sell orders, the buy order remains active for the reamaining quantity. Sell order business logic: the same of buy orders, but reversed.

About

BTC exchange with basic buy, sell operations and a random initial balance between 1 and 10 BTC at registration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published