Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Using transaction time instead of batch time for trades date #1156

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

alfetopito
Copy link
Contributor

The problem

Date displayed for a trade was based on batch time, which is the start of the 5min interval.
It's misleading though, since in fact the trade happens up to minute 4 of the batch.
So when the trade is actually detected, it' shows as having happened 4min+ ago.

With this change, the time displayed is the transaction timestamp of when the solver executed the trade.

@alfetopito alfetopito self-assigned this Jun 24, 2020
@alfetopito alfetopito marked this pull request as ready for review June 24, 2020 17:18
@ghost
Copy link

ghost commented Jun 24, 2020

Travis automatic deployment:
https://pr1156--dexreact.review.gnosisdev.com

@alfetopito alfetopito force-pushed the adjust-trades-match-time branch from 7c62786 to cd74aee Compare June 26, 2020 15:48
@alfetopito alfetopito merged commit 8821fe1 into develop Jun 26, 2020
@alfetopito alfetopito deleted the adjust-trades-match-time branch June 26, 2020 16:17
@alfetopito alfetopito mentioned this pull request Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants