Skip to content

Commit

Permalink
Remove unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Mar 7, 2024
1 parent 428dc15 commit 1c62d60
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions primitives/orderbook/src/lmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ pub struct LMPConfig {
pub index: u16,
}

/// All metrics used for calculating the LMP score of a main account
#[derive(Decode, Encode, TypeInfo, Copy, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct TraderMetric {
pub maker_volume: Decimal, // Trading volume generated where main acc is a maker
pub fees_paid: Decimal, // defined in terms of quote asset
pub q_score: Decimal, // Market making performance score
pub uptime: u16, // Uptime of market maker
}

/// One minute LMP Q Score report
#[derive(Decode, Encode, TypeInfo, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct LMPOneMinuteReport<AccountId: Ord> {
Expand Down

0 comments on commit 1c62d60

Please sign in to comment.