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

[CLI] Improve ticker conversion #46

Closed tiero closed 4 years ago

tiero commented 4 years ago

At the moment the tickers are all fetched from /asset/:id endpoint, if not found it uses a prefix of the first 4 characters of the asset hash.

A special case not handled yet it's for LBTC assets, since the registry doesn't return it we should look from the hardcoded networks.

Also, in the market price command the tickers are not used, but only the prefixes