Skip to content

Commit

Permalink
Forget parameter to switch true
Browse files Browse the repository at this point in the history
  • Loading branch information
kleninmaxim committed May 27, 2022
1 parent 42f0b0f commit 6c0919a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/multi_3t.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if (!empty($balances) && !empty($orderbooks) && !empty($config)) {

// запускаем алгоритм и получаем лучший результат
if ($best_result = $cross_3t->run($balances, $orderbooks)) {
if ($best_result = $cross_3t->run($balances, $orderbooks, true)) {

// для каждого шага, если результат выпал на текущую биржу, отправить сообщение на создание ордера
foreach (['step_one', 'step_two', 'step_three'] as $step) {
Expand Down

0 comments on commit 6c0919a

Please sign in to comment.