-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECO-200: add fills by market and account endpoint #313
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/rust/db/examples/seed_db.rs
Outdated
|
||
add_taker_event( | ||
conn, | ||
&NewTakerEvent { | ||
market_id: market_id_bd, | ||
side, | ||
market_order_id: &id.into(), | ||
maker: "0x123", | ||
custodian_id: None, | ||
size: &BigDecimal::from_u64(size >> 2).unwrap(), | ||
price: &BigDecimal::from_u64(price).unwrap(), | ||
time: Utc::now(), | ||
}, | ||
) | ||
.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we might deprecate taker events in lieu of fill events per #315
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup. For now let me just remove this file from this PR.
No description provided.