• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-services / 4192
31%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2020 01:32PM UTC
Jobs 1
Files 83
Run time 13min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jul 2020 01:16PM UTC coverage: 28.17% (-0.02%) from 28.188%
4192

push

travis-pro

web-flow
implement historic price estimates (#1138)

This PR adds initial support for computing historic prices. In a follow up PR, I will ensure that the `OrderbookReading` implementation doesn't re-query the node for events if the batch ID is sufficiently in the past (to speed up the request a bit).

Closes #967 

### Test Plan

Run the price estimator and check historic prices - note that it is currently not an error checking future batches.
```
$ curl -s 'http://localhost:8080/api/v1/markets/1-7/estimated-best-ask-price?atoms=true' | jq
230.43986139024014
$ curl -s 'http://localhost:8080/api/v1/markets/1-7/estimated-best-ask-price?atoms=true&batchId=5290000' | jq
150.08262567963578
$ curl -s 'http://localhost:8080/api/v1/markets/1-7/estimated-best-ask-price?atoms=true&batchId=9999999' | jq
230.43986139024014
```

10270 of 41736 branches covered (24.61%)

Branch coverage included in aggregate %.

2753 of 4494 relevant lines covered (61.26%)

13525.14 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4192.3 (OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.8.1) 16 Jul 2020 01:32PM UTC 0
28.17
Travis Job 4192.3
Source Files on build 4192
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4192
  • 4256c9dc on github
  • Prev Build on master (#4187)
  • Next Build on master (#4194)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc