You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a script that scrapes orderbooks to compute spreads and other stats.
Tasks:
Adapt db models
Create scripts
Write tests
Adapt the market data aggregator to also include the stats
Adapt the JSON exporter to also provide the computed stats on markets.json
Add GraphQL support
Add cron job to refresh orderbook stats
The text was updated successfully, but these errors were encountered:
accordeiro
changed the title
services/ticker: create an orderbook scraper to compute stats
exp/ticker: create an orderbook scraper to compute stats
Apr 5, 2019
@accordeiro I think the idea of this scraper is to add orderbook stats to the ticker, so a site can quickly look at the spreads on all markets without making many requests to the Horizon orderbook endpoint.
In the StellarX GraphQL schema, the OrderBookStats struct is included for each market:
I think you can provide all this information even in markets.json, but you'd have to be clever about aggregating across markets since bidMax and askMin could potentially cross.
Create a script that scrapes orderbooks to compute spreads and other stats.
Tasks:
The text was updated successfully, but these errors were encountered: