tdex-network / tdex-analytics

Analytics and Historical data feed about TDEX Network
MIT License
0 stars 6 forks source link

Activate/Inactivate markets #56

Closed sekulicd closed 1 year ago

sekulicd commented 1 year ago

Context:

Tdexa periodically fetches prices/balances data from market providers. Since markets can go offline and "querying" such market causes errors, before this we were deleting "inactive" marktes. With this commit we activate/inactivate markets when ever FetchMarkets is invoked and when prices/balances is to be performed it is only done against active markets.

Changes:

This closes #54

@tiero @altafan please review.