Skip to content

CryptocracyExchange/trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transactions

CircleCI

MVP

  • Send open orders based on price in ordered set in rethinkDB as each value is an array consisting of order objects X
  • Fulfill existing open orders with new orders that match transaction criteria X
  • Allow for partial order transactions to be fulfilled X
  • When an order is fulfilled, new closed transaction records are created for that order X

Post-MVP

  • Check balance before transaction (UserID and currency type) X
  • Check if the order is market or limit. Buy or sell.
  • Merge openBuy and openSell into openOrders X
  • Check available/actual balance and update appropriately X
  • Add exchange rates based on market value X
  • Make sure transactions happen cross-currency and never on the same currency (i.e. BTC:BTC) X
  • Add userID and currency in each transaction X
  • Merge HistSell and HistBuy into TransactionHistory X
  • Write tests for scaling X
  • Need a cancel function
  • Need a more efficient sorting for the openOrders for constant time

Edge Cases

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors