Disable Task#11
This commit is contained in:
parent
593d963af3
commit
65dd318aaa
|
|
@ -441,7 +441,7 @@ pub async fn monitoring_filled_buy_order(
|
||||||
if !filled_buy_orders.is_empty() {
|
if !filled_buy_orders.is_empty() {
|
||||||
// 심볼들을 2개씩 청스로 나누어 테스크를 생성하고 각 태스크 별로 병렬로 처리한다.
|
// 심볼들을 2개씩 청스로 나누어 테스크를 생성하고 각 태스크 별로 병렬로 처리한다.
|
||||||
// update real-time current price to each record through chunks
|
// update real-time current price to each record through chunks
|
||||||
let chunks = filled_buy_orders.chunks(2);
|
let chunks: std::slice::Chunks<'_, BuyOrderedCoinList> = filled_buy_orders.chunks(2);
|
||||||
let mut task_vec = Vec::new();
|
let mut task_vec = Vec::new();
|
||||||
|
|
||||||
for chunk in chunks {
|
for chunk in chunks {
|
||||||
|
|
@ -536,7 +536,7 @@ pub async fn monitoring_filled_buy_order(
|
||||||
|
|
||||||
// let target_profit_percent = average_amplitude + (standard_deviation_amplitude * (average_ratio_amp_body));
|
// let target_profit_percent = average_amplitude + (standard_deviation_amplitude * (average_ratio_amp_body));
|
||||||
let target_profit_percent =
|
let target_profit_percent =
|
||||||
(average_amplitude / 2.0) + (standard_deviation_amplitude * 2.0); // 2.0 sigma (recommand: 0.5 ~ 2.0(patient & greedy))
|
(average_amplitude / 2.0) + (standard_deviation_amplitude * 1.0); // 2.0 sigma (recommand: 0.5 ~ 2.0(patient & greedy))
|
||||||
|
|
||||||
// if scoreboard_list.first().unwrap().pos_liquidation_signal == 1
|
// if scoreboard_list.first().unwrap().pos_liquidation_signal == 1
|
||||||
// || scoreboard_list.first().unwrap().neg_liquidation_signal == 1
|
// || scoreboard_list.first().unwrap().neg_liquidation_signal == 1
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
1146
src/main.rs
1146
src/main.rs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user