viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.68k stars 1.48k forks source link

how to get events for completed orders #173

Open djpnewton opened 5 years ago

djpnewton commented 5 years ago

I see in matchengine/me_message.c it seems to be queuing messages about orders (pending and completed) to kafka

I assume we can connect a client to kafka and consume these messages (I want to send emails about completed trades)?

objectt commented 5 years ago

the marketprice engine consumes completed order messages from kafka. You could either create a separate kafka consumer or create a process inside marketprice engine.

djpnewton commented 5 years ago

yes I have created a new kafka consumer, thank you

ohld commented 5 years ago

I've added docker-compose files for this exchange - not it is much easier to run this exchange. Feel free to use: https://github.com/testnet-exchange/viabtc_exchange_server