ArjunVachhani / order-matcher

simple, fast and feature rich order matching engine supports limit, market, stop-loss, iceberg, IOC, FOK, GTD orders
MIT License
137 stars 70 forks source link

have question #32

Closed vahidalvandi closed 2 years ago

vahidalvandi commented 2 years ago

Hello I need an open source maching engine that can process sales orders that are placed in the database through the app, that is, I can finally create something like a binance. Please advise that this engine of yours can run alongside my app? For example, the membership and wallet sections should be deposited or withdrawn in the my app, and only the trading section should be run in this maching engine?

ArjunVachhani commented 2 years ago

This repo provide a order matcher, which will match buy and sell orders from your platform. order matcher can run along side your application. your application will handle deposits and withdraws. your application should maintain balance of users. you should send orders to order-matcher after validating user and balance. order-matcher has couple of events to update balance and order status.

order-matcher is just a component, it does not provide all the features of binance.

vahidalvandi commented 2 years ago

Thanks for the tips. I want to create different wallets and have different networks in my exchange. Please help me in this regard.

ArjunVachhani commented 2 years ago

wallets and networks are not part of order-matcher, it should be part of your solution

vahidalvandi commented 2 years ago

Yes I know . But I need some guidance

ArjunVachhani commented 2 years ago

I am not right person to guide you on wallets and network, You could probably read official documentation of wallets/network. Also there are wallet services providers as well.

vahidalvandi commented 2 years ago

Is this project a parallel thread? And did you get a benchmark performance from this project?

ArjunVachhani commented 2 years ago

No, order-matcher is not a parallel because of price time priority algo. We do not have performance/benchmark results

ArjunVachhani commented 1 year ago

@vahidalvandi I recently did a benchmark test and order-matcher is able to process 1Million order in a second on c5.xlarge ec3 instance.