Change limit value of pure profit percent

This commit is contained in:
Sik Yoon 2023-07-22 20:26:30 +09:00
parent ce61f28e40
commit 5f8f613042

View File

@ -858,7 +858,7 @@ pub async fn monitoring_filled_buy_order(
// limit_order_sell(&element, sell_price_ahead, base_qty_to_be_ordered, &client, &exchange_info_vec, &trade_fee_vec).await;
}
} else {
if element.pure_profit_percent < (target_profit_percent * -1.0) - 0.2 {
if element.pure_profit_percent < (target_profit_percent * -1.0) - 0.1 {
// -0.2 means about double trade fees.
limit_order_sell(
&element,