From dbcb1d8075ab9fbb6eeb6dedb2333c6ac6a0c499 Mon Sep 17 00:00:00 2001 From: Richard Holzeis Date: Thu, 11 Apr 2024 11:00:10 +0200 Subject: [PATCH] feat: Remove order matching fee for promotion --- crates/commons/src/order_matching_fee.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/commons/src/order_matching_fee.rs b/crates/commons/src/order_matching_fee.rs index d40614ef3..e4c6d4ea2 100644 --- a/crates/commons/src/order_matching_fee.rs +++ b/crates/commons/src/order_matching_fee.rs @@ -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))