Improve the latest transactions table #27

Closed
opened 3 years ago by alban · 3 comments
alban commented 3 years ago
Owner

The latest transactions table fails to show what we really want to see, the last parsed / published / fetched transactions.

This SQL request will show the created transactions from the last date that appears in the transaction table:

SELECT a.id, a.created_at_utc
FROM transaction a
INNER JOIN (
    SELECT DATE(MAX(created_at_utc)) max_date
    FROM transaction
) b ON DATE(a.created_at_utc) = b.max_date;

The latest transactions table fails to show what we really want to see, the last parsed / published / fetched transactions. This SQL request will show the created transactions from the last date that appears in the transaction table: ```mysql SELECT a.id, a.created_at_utc FROM transaction a INNER JOIN ( SELECT DATE(MAX(created_at_utc)) max_date FROM transaction ) b ON DATE(a.created_at_utc) = b.max_date; ```
alban commented 3 years ago
Poster
Owner

To kill two birds with one stone, the other table can be changed to accept multiple durations, last week, last month, last 6 months...

To kill two birds with one stone, the other table can be changed to accept multiple durations, last week, last month, last 6 months...
alban commented 3 years ago
Poster
Owner

We're mostly interested by big insider buys, the table should display this information better. The number of transactions is not very useful as it gives no indication to what is behind.

We're mostly interested by big insider buys, the table should display this information better. The number of transactions is not very useful as it gives no indication to what is behind.
alban commented 3 years ago
Poster
Owner

fixed by #28

fixed by #28
alban closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: alban/fast-insiders#27
Loading…
There is no content yet.