Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vusirikala committed Jan 10, 2025
1 parent 5d0f2e0 commit 4b5e767
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions crates/transaction-generator-lib/src/econia_order_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,18 @@ fn base_coin_type(market_id: u64) -> &'static str {
}

fn quote_coin_type(market_id: u64) -> &'static str {
match (market_id % 3) {
0 => { "QAC" },
1 => { "QBC" },
2 => { "QCC" },
if market_id < 30 {
if market_id % 3 == 0 {
"QAC"
} else if market_id % 3 == 1 {
"QBC"
} else {
"QCC"
}
} else {
"QC"
}

}

const ASK: bool = true;
Expand Down

0 comments on commit 4b5e767

Please sign in to comment.