Skip to content

Commit

Permalink
feat: Remove order matching fee for promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
holzeis committed Apr 11, 2024
1 parent 2717583 commit dbcb1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/commons/src/order_matching_fee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use rust_decimal::Decimal;
use rust_decimal::RoundingStrategy;

/// The order-matching fee per cent for the taker.
const TAKER_FEE: (i64, u32) = (30, 4);
const TAKER_FEE: (i64, u32) = (0, 4);

pub fn order_matching_fee_taker(quantity: f32, price: Decimal) -> bitcoin::Amount {
order_matching_fee(quantity, price, Decimal::new(TAKER_FEE.0, TAKER_FEE.1))
Expand Down

0 comments on commit dbcb1d8

Please sign in to comment.