tdex-network / tdex-daemon-alpha

💰 Alpha Daemon implementation to run automated market making strategies on top of TDEX
MIT License
0 stars 2 forks source link

Support trade type === BUY #24

Closed tiero closed 4 years ago

tiero commented 4 years ago

This is a followup commit of https://github.com/Sevenlab/tdex-sdk/pull/9

It uses the updated SDK and in the tradePropose grpc service we branch to distinguish between BUY and SELL trade types, using respectively calculateProposeAmount and calculateExpectedAmount

e2e test has been integrated with the tradeType BUY

fixes #19