From e0f24fd974c550e82975f559ef631c9be7106ade Mon Sep 17 00:00:00 2001 From: kleninmaxim Date: Fri, 29 Apr 2022 12:30:06 +0300 Subject: [PATCH] Delete all test files Delete test core Fix Readme Remove getResult Tests --- README.md | 58 - config/test_aeron_config_c.example.php | 37 - kernel/test_c.php | 105 - kernel/test_receive_data_c.php | 120 - src/Test/TestAeronFormatData.php | 2 +- src/Test/TestAgentFormatData.php | 66 - src/Test/TestConfigFormat.php | 143 - src/Test/TestLogFormat.php | 39 - test/all_keys_memcached.php | 8 - test/cross_3t_example_create_order.php | 34 - test/data.php | 11 - test/getResult/MainFromServer.php | 408 --- test/getResult/MainFromServerVersion0.php | 1772 ---------- test/getResult/Result | 69 - test/getResult/botFromServer.php | 87 - test/getResult/botFromServerVersion0.php | 263 -- test/getResult/dealAmount.txt | 39 - test/getResult/findParametersGetResult.php | 166 - test/getResult/first_getResult_parameter.txt | 0 test/getResult/getResult output.txt | 63 - test/getResult/getResult parameters.txt | 3249 ------------------ test/getResult/getResult.php | 203 -- test/getResult/index (2).html | 4 - test/receive_data.php | 4 +- 24 files changed, 2 insertions(+), 6948 deletions(-) delete mode 100644 config/test_aeron_config_c.example.php delete mode 100644 kernel/test_c.php delete mode 100644 kernel/test_receive_data_c.php delete mode 100644 src/Test/TestAgentFormatData.php delete mode 100644 src/Test/TestConfigFormat.php delete mode 100644 src/Test/TestLogFormat.php delete mode 100644 test/all_keys_memcached.php delete mode 100644 test/cross_3t_example_create_order.php delete mode 100644 test/data.php delete mode 100644 test/getResult/MainFromServer.php delete mode 100644 test/getResult/MainFromServerVersion0.php delete mode 100644 test/getResult/Result delete mode 100644 test/getResult/botFromServer.php delete mode 100644 test/getResult/botFromServerVersion0.php delete mode 100644 test/getResult/dealAmount.txt delete mode 100644 test/getResult/findParametersGetResult.php delete mode 100644 test/getResult/first_getResult_parameter.txt delete mode 100644 test/getResult/getResult output.txt delete mode 100644 test/getResult/getResult parameters.txt delete mode 100644 test/getResult/getResult.php delete mode 100644 test/getResult/index (2).html diff --git a/README.md b/README.md index 21ad004..9d1278f 100644 --- a/README.md +++ b/README.md @@ -99,64 +99,6 @@ cd core_3t_php/ composer install ``` -## Инструкция запуска Core для тестовой проверки Gate -Для тестирования, гейту, для передачи данных (ордербуков, балансов), необходимо передавать один ордербук BTC/USDT и ордера, когда они создались на бирже. - -Настройки, для запуска Core для тестовой проверки Gate, находятся в файле ```config/test_aeron_config_c.php```. -Чтобы получить такой файл нужно скопировать ```test_aeron_config_c.example.php``` в эту же папку и убрать ```.example``` - -В ней есть две константы -```php -// Биржа, которая тестируется гейтом -const EXCHANGE = 'ftx'; - -// Тестируемая пара для проверки корректности постановки оредров и их отмены (Важно: пока только BTC/USDT) -const SYMBOL = 'BTC/USDT'; - -// publisher, который подключается к subscriber в гейте, для посылания команд -const GATE_PUBLISHER = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1001 -]; - -// subscriber, который подключается к publisher в гейте, для принятия ордербуков -const GATE_SUBSCRIBERS_ORDERBOOKS = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1001 -]; - -// subscriber, который подключается к publisher в гейте, для принятия балансов -const GATE_SUBSCRIBERS_BALANCES = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1002 -]; - -// subscriber, который подключается к publisher в гейте, для принятия ордеров -const GATE_SUBSCRIBERS_ORDERS = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1003 -]; -``` - -GATE_PUBLISHER - настройки для Publisher, который будет отправлять команды (к примеру отмена ордера) в subscriber в gate. Задаем channel и stream_id. -GATE_SUBSCRIBERS_ORDERBOOKS, GATE_SUBSCRIBERS_BALANCES, GATE_SUBSCRIBERS_ORDERS- настройки для Subscribers, которые будут принимать данные (ордербуки, балансы, ордера) от publishers от gate. Задаем для каждого свой channel и stream_id. - -_**Последовательность запуска:**_ - -1. Первый шаг - запуск получения данных от гейта. -```shell -php kernel/test_receive_data_c.php -``` -Если гейт отсылает данные и они корректные под новый формат, то в консоле должен выводить сообщения начинающиеся: ```[OK] Data saved ...``` - -2. Запустить тестовый алгоритм. -```shell -php kernel/test_c.php -``` -Если гейт отсылает данные, то в консоле должен выводить сообщения начинающиеся: ```[OK] ...``` - - - ## Инструкция запуска Core в production 0. Перед запуском ядра, необходимо, чтобы был запущен агент. diff --git a/config/test_aeron_config_c.example.php b/config/test_aeron_config_c.example.php deleted file mode 100644 index b3b3e6a..0000000 --- a/config/test_aeron_config_c.example.php +++ /dev/null @@ -1,37 +0,0 @@ - 'aeron:ipc', - 'stream_id' => 1001 -]; - -// subscriber, который подключается к publisher в гейте, для принятия ордербуков -const GATE_SUBSCRIBERS_ORDERBOOKS = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1001 -]; - -// subscriber, который подключается к publisher в гейте, для принятия балансов -const GATE_SUBSCRIBERS_BALANCES = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1002 -]; - -// subscriber, который подключается к publisher в гейте, для принятия ордеров -const GATE_SUBSCRIBERS_ORDERS = [ - 'channel' => 'aeron:ipc', - 'stream_id' => 1003 -]; diff --git a/kernel/test_c.php b/kernel/test_c.php deleted file mode 100644 index b482702..0000000 --- a/kernel/test_c.php +++ /dev/null @@ -1,105 +0,0 @@ -addServer('localhost', 11211); - -// API для формирования сообщения для отправки по aeron -$robotrade_api = new Api(EXCHANGE, ALGORITHM, 'core', '1'); - -// нужен publisher, отправлять команды по aeron в гейт -$publisher = new AeronPublisher(GATE_PUBLISHER['channel'], GATE_PUBLISHER['stream_id']); - -while (true) { - - sleep(10); - - $keys = [ - EXCHANGE . '_orderbook_' . SYMBOL, - EXCHANGE . '_balances', - EXCHANGE . '_orders', - ]; - - // берет все данные из memcached - $memcached_data = $memcached->getMulti($keys); - - foreach ($memcached_data as $key => $memcached_datum) { - - if ($memcached_datum) { - - $parts = explode('_', $key); - - $exchange = $parts[0]; - $action = $parts[1]; - $value = $parts[2] ?? null; - - if ($action == 'orderbook' && $value) { - - if ($value == 'BTC/USDT') { - - $price = $memcached_datum['bids'][0][0] * 0.9; - - $publisher->offer( - $robotrade_api->createOrder( - $memcached_datum['symbol'], - 'limit', - 'buy', - AMOUNT, - $price, - 'test gate for created order' - ) - ); - - echo '[OK] Send Gate to create order. Price: ' . $price . - ' Amount: ' . AMOUNT . - ' Symbol: ' . $memcached_datum['symbol'] . - ' Side: ' . 'buy' . - ' Type: ' . 'limit' . - PHP_EOL; - - } - - } elseif ($action == 'orders') { - - foreach ($memcached_datum as $order) { - - $publisher->offer( - $robotrade_api->cancelOrder( - $order['id'], - $order['symbol'], - 'test gate for cancel order' - ) - ); - - echo '[OK] Send Gate to cancel order. Id: ' . $order['id'] . - ' Symbol: ' . $order['symbol'] . - PHP_EOL; - - } - - $memcached->delete($key); - - } elseif ($action == 'balances') { - - echo '[OK] Balances get from memcached: ' . PHP_EOL; - - } else { - - echo '[WARNING] data undefined. Key: ' . $key . - ' Action: ' . $action . - PHP_EOL; - - } - - } - - } - - print_r(array_keys($memcached_data)) . PHP_EOL; - -} diff --git a/kernel/test_receive_data_c.php b/kernel/test_receive_data_c.php deleted file mode 100644 index 92ca5a7..0000000 --- a/kernel/test_receive_data_c.php +++ /dev/null @@ -1,120 +0,0 @@ -addServer('localhost', 11211); - -function handler_orderbooks(string $message): void -{ - - global $memcached; - - // если данные пришли - if ($data = Aeron::messageDecode($message)) { - - // если event как data, а node как gate - if ($data['event'] == 'data' && $data['node'] == 'gate' && $data['action'] == 'orderbook' && isset($data['data'])) { - - // записать в memcached - $memcached->set( - $data['exchange'] . '_' . $data['action'] . '_' . $data['data']['symbol'], - $data['data'] - ); - - echo '[OK] Data saved. Node: ' . $data['node'] . ' Action: ' . $data['action'] . ' Symbol: ' . $data['data']['symbol'] . PHP_EOL; - - } else { - - echo '[ERROR] Data broken. Node: ' . ($data['node'] ?? 'null') . PHP_EOL; - - } - - } - -} - -function handler_balances(string $message): void -{ - - global $memcached; - - // если данные пришли - if ($data = Aeron::messageDecode($message)) { - - // если event как data, а node как gate - if ($data['event'] == 'data' && $data['node'] == 'gate' && isset($data['data'])) { - - // записать в memcached - $memcached->set( - $data['exchange'] . '_' . $data['action'], - $data['data'] - ); - - echo '[OK] Data saved. Node: ' . $data['node'] . ' Action: ' . $data['action'] . PHP_EOL; - - } else { - - echo '[ERROR] Data broken. Node: ' . ($data['node'] ?? 'null') . PHP_EOL; - - } - - } - -} - -function handler_orders(string $message): void -{ - - global $memcached; - - // если данные пришли - if ($data = Aeron::messageDecode($message)) { - - // если event как data, а node как gate - if ($data['event'] == 'data' && $data['node'] == 'gate' && $data['action'] == 'order_created' && isset($data['data'])) { - - // записать в memcached - $key = $data['exchange'] . '_orders'; - - $orders = $memcached->get($key); - - $orders[$data['data']['id']] = $data['data']; - - $memcached->set( - $key, - $orders - ); - - echo '[OK] Data Order saved. Node: ' . $data['node'] . ' Action: ' . $data['action'] . PHP_EOL; - - } else { - - echo '[ERROR] Data broken. Node: ' . ($data['node'] ?? 'null') . PHP_EOL; - - } - - } - -} - -// subscribers подключение -$subscriber_orderbooks = new AeronSubscriber('handler_orderbooks', GATE_SUBSCRIBERS_ORDERBOOKS['channel'], GATE_SUBSCRIBERS_ORDERBOOKS['stream_id']); - -$subscriber_balances = new AeronSubscriber('handler_balances', GATE_SUBSCRIBERS_BALANCES['channel'], GATE_SUBSCRIBERS_BALANCES['stream_id']); - -$subscriber_orders = new AeronSubscriber('handler_orders', GATE_SUBSCRIBERS_ORDERS['channel'], GATE_SUBSCRIBERS_ORDERS['stream_id']); - -while (true) { - - $subscriber_orderbooks->poll(); - - $subscriber_balances->poll(); - - $subscriber_orders->poll(); - -} \ No newline at end of file diff --git a/src/Test/TestAeronFormatData.php b/src/Test/TestAeronFormatData.php index 9603418..0ab03bf 100644 --- a/src/Test/TestAeronFormatData.php +++ b/src/Test/TestAeronFormatData.php @@ -23,7 +23,7 @@ public function __construct(string $exchange, string $algo = 'test', string $nod } - public function orderBook(array $data = []): bool|string + public function orderbook(array $data = []): bool|string { if (empty($data)) diff --git a/src/Test/TestAgentFormatData.php b/src/Test/TestAgentFormatData.php deleted file mode 100644 index 643ce23..0000000 --- a/src/Test/TestAgentFormatData.php +++ /dev/null @@ -1,66 +0,0 @@ -exchange = $exchange; - - $this->robotrade_api = new Api($exchange, $algo, $node, $instance); - - } - - public function sendAgentGetFullConfig(): array - { - - return [ - 'event' => 'config', - 'exchange' => $this->exchange, - 'instance' => 'core', - 'action' => 'get_full_config', - 'algo' => 'cross_3t', - 'data' => [], - 'timestamp' => $this->robotrade_api->getMicrotime() - ]; - - } - - public function aeron_configs_destinations(): array - { - - return [ - 'aeron:udp?endpoint=172.31.14.205:40461|control=172.31.14.205:40456', - ]; - - } - - public function configAndMarketInfoFromAgent() : bool|string - { - - return Aeron::messageEncode([ - 'event' => 'config', - 'node' => 'agent', - 'instance' => '1', - 'action' => 'get_full_config', - 'timestamp' => $this->robotrade_api->getMicrotime(), - 'data' => [ - 'markets' => TestConfigFormat::marketsConfigurator(), - 'assets_labels' => TestConfigFormat::assetsLabelConfigurator(), - 'routes' => TestConfigFormat::routeConfigurator(), - 'core_config' => TestConfigFormat::coreConfigConfigurator(), - ] - ]); - - } - -} \ No newline at end of file diff --git a/src/Test/TestConfigFormat.php b/src/Test/TestConfigFormat.php deleted file mode 100644 index ea93cd6..0000000 --- a/src/Test/TestConfigFormat.php +++ /dev/null @@ -1,143 +0,0 @@ - [ - 'publishers' => [ - 'gateway' => [ - 'channel' => 'aeron:udp?control=172.31.14.205:40456|control-mode=dynamic', - 'stream_id' => 1003 - ], - 'metrics' => [ - 'channel' => 'aeron:udp?endpoint=3.66.183.27:44444', - 'stream_id' => 1001 - ], - 'log' => [ - 'channel' => 'aeron:udp?control=172.31.14.205:40456|control-mode=dynamic', - 'stream_id' => 1005 - ] - ], - 'subscribers' => [ - 'balance' => [ - 'channel' => 'aeron:udp?control-mode=manual', - 'stream_id' => 1002, - 'destinations' => [ - 'aeron:udp?endpoint=172.31.14.205:40461|control=172.31.14.205:40456' - ] - ], - 'orderbooks' => [ - 'channel' => 'aeron:udp?control-mode=manual', - 'stream_id' => 1001, - 'destinations' => [ - 'aeron:udp?endpoint=172.31.14.205:40458|control=172.31.14.205:40456', - 'aeron:udp?endpoint=172.31.14.205:40459|control=18.159.92.185:40456', - 'aeron:udp?endpoint=172.31.14.205:40460|control=54.248.171.18:40456', - ] - ] - ] - ] - ]; - - } - - public static function marketsConfigurator(): array - { - - return [ - [ - 'exchange_symbol' => 'BTC-USDT', - 'common_symbol' => 'BTC/USDT', - 'price_increment' => 0.1, - 'amount_increment' => 0.00000001, - 'min_amount' => 0.00001, - 'max_amount' => 9000, - 'assets' => [ - 'base' => 'BTC', - 'quote' => 'USDT', - ] - ], - [ - 'exchange_symbol' => 'ETH-USDT', - 'common_symbol' => 'ETH/USDT', - 'price_increment' => 0.01, - 'amount_increment' => 0.0000001, - 'min_amount' => 0.0001, - 'max_amount' => 9000, - 'assets' => [ - 'base' => 'ETH', - 'quote' => 'USDT', - ] - ], - [ - 'exchange_symbol' => 'ETH-BTC', - 'common_symbol' => 'ETH/BTC', - 'price_increment' => 0.000001, - 'amount_increment' => 0.0000001, - 'min_amount' => 0.0001, - 'max_amount' => 100000, - 'assets' => [ - 'base' => 'ETH', - 'quote' => 'BTC', - ] - ] - ]; - - } - - public static function assetsLabelConfigurator(): array - { - - return [ - ['exchange' => 'BTC', 'common' => 'BTC'], - ['exchange' => 'ETH', 'common' => 'ETH'], - ['exchange' => 'USDT', 'common' => 'USDT'], - ]; - - } - - public static function routeConfigurator(): array - { - - return [ - [ - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/USDT', 'operation' => 'sell'], - ['source_asset' => 'USDT', 'common_symbol' => 'BTC/USDT', 'operation' => 'buy'], - ['source_asset' => 'BTC', 'common_symbol' => 'ETH/BTC', 'operation' => 'buy'], - ], - [ - ['source_asset' => 'USDT', 'common_symbol' => 'ETH/USDT', 'operation' => 'buy'], - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/BTC', 'operation' => 'sell'], - ['source_asset' => 'BTC', 'common_symbol' => 'BTC/USDT', 'operation' => 'sell'], - ], - [ - ['source_asset' => 'BTC', 'common_symbol' => 'BTC/USDT', 'operation' => 'sell'], - ['source_asset' => 'USDT', 'common_symbol' => 'ETH/USDT', 'operation' => 'buy'], - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/BTC', 'operation' => 'sell'], - ], - [ - ['source_asset' => 'USDT', 'common_symbol' => 'BTC/USDT', 'operation' => 'buy'], - ['source_asset' => 'BTC', 'common_symbol' => 'ETH/BTC', 'operation' => 'buy'], - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/USDT', 'operation' => 'sell'], - ], - [ - ['source_asset' => 'BTC', 'common_symbol' => 'ETH/BTC', 'operation' => 'buy'], - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/USDT', 'operation' => 'sell'], - ['source_asset' => 'USDT', 'common_symbol' => 'BTC/USDT', 'operation' => 'buy'], - ], - [ - ['source_asset' => 'ETH', 'common_symbol' => 'ETH/BTC', 'operation' => 'sell'], - ['source_asset' => 'BTC', 'common_symbol' => 'BTC/USDT', 'operation' => 'sell'], - ['source_asset' => 'USDT', 'common_symbol' => 'ETH/USDT', 'operation' => 'buy'], - ], - ]; - - } - -} \ No newline at end of file diff --git a/src/Test/TestLogFormat.php b/src/Test/TestLogFormat.php deleted file mode 100644 index 0d85746..0000000 --- a/src/Test/TestLogFormat.php +++ /dev/null @@ -1,39 +0,0 @@ -exchange = $exchange; - - $this->robotrade_api = new Api($exchange, $algo, $node, $instance); - - } - - public function sendLog($message) - { - - return [ - 'event' => 'send', - 'exchange' => $this->exchange, - 'node' => 'core', - 'instance' => '1', - 'action' => 'log', - 'message' => $message, - 'algo' => 'cross_3t_php', - 'timestamp' => $this->robotrade_api->getMicrotime(), - 'data' => [], - ]; - - } - -} \ No newline at end of file diff --git a/test/all_keys_memcached.php b/test/all_keys_memcached.php deleted file mode 100644 index 1c602b8..0000000 --- a/test/all_keys_memcached.php +++ /dev/null @@ -1,8 +0,0 @@ -addServer('localhost', 11211); - -print_r($memcached->getAllKeys()); diff --git a/test/cross_3t_example_create_order.php b/test/cross_3t_example_create_order.php deleted file mode 100644 index 400cb6a..0000000 --- a/test/cross_3t_example_create_order.php +++ /dev/null @@ -1,34 +0,0 @@ - -addServer('localhost', 11211); - -$cross_3t = new Cross3T(); - -$publisher = new AeronPublisher("aeron:ipc"); - -$api = new Api('binance', 'cross_3t_php', 'core', '1'); - -while (true) { - - usleep(1000000); - - // пример использования command to gate - $code = $publisher->offer($api->createOrder('BTC/USDT', 'limiit', 'buy', 0.001, 40000)); - - sleep(1); - - $memcached_data = $memcached->getMulti($memcached->getAllKeys()); - - print_r(array_keys($memcached->getMulti($memcached->getAllKeys()))); - - //$cross_3t->run($balances, $orderbooks, $rates, $server, $data['symbol']); - -} diff --git a/test/data.php b/test/data.php deleted file mode 100644 index e52b62f..0000000 --- a/test/data.php +++ /dev/null @@ -1,11 +0,0 @@ -addServer('localhost', 11211); - -$memcached->set('foo', 100); -var_dump($memcached->fetchAll()); - -$memcached->flush(); diff --git a/test/getResult/MainFromServer.php b/test/getResult/MainFromServer.php deleted file mode 100644 index 718908d..0000000 --- a/test/getResult/MainFromServer.php +++ /dev/null @@ -1,408 +0,0 @@ - $deal_amount_min, - "step_one" => round($deal_amount_stepOne, $mainAsset_decimals), - "step_two" => round($deal_amount_stepTwo, $mainAsset_decimals), - "step_three" => round($deal_amount_stepThree, $mainAsset_decimals) - ]; - } - - public function MarketOrder(array $orderbook, float $amount, string $bidask, string $base_or_quote) - { - - if ($bidask != "bids" && $bidask != "asks") return false; - - if ($base_or_quote != "base" && $base_or_quote != "quote") return false; - - if (isset($orderbook[$bidask]) && count($orderbook[$bidask]) > 0) $dom_count = count($orderbook[$bidask]); - else return false; - - $base_amount_sum = $quote_amount_sum = $quote_amount_max = $base_amount_max = 0; - - for ($i = 0; $i < $dom_count; $i++) { - - $current_amount = $orderbook[$bidask][$i]["1"]; - $current_price = $orderbook[$bidask][$i]["0"]; - - $quote_amount = $current_amount * $current_price; - - $quote_amount_max += $quote_amount; - $base_amount_max += $current_amount; - - if (($base_or_quote === "base" && $base_amount_sum < $amount) || ($base_or_quote === "quote" && $quote_amount_sum < $amount)) { - - $quote_amount_sum += $quote_amount; - $base_amount_sum += $current_amount; - - if ($base_or_quote === "base") { - - if (($base_amount_max - $amount) > 0 && $i == 0) $result[$bidask]["amount"] = $amount * $current_price; - else $result[$bidask]["amount"] = ($amount - $base_amount_max) * $current_price + $quote_amount_sum; - - } else { - - if (($quote_amount_max - $amount) > 0 && $i == 0) $result[$bidask]["amount"] = $amount / $current_price; - else $result[$bidask]["amount"] = ($amount - $quote_amount_max) / $current_price + $base_amount_sum; - - } - - $result[$bidask]["price"] = $current_price; - - //echo "Step $i) $bidask: price: " . $current_price . ", amount: $current_amount, amount base sum: $base_amount_max, quote sum: $quote_amount_max, current: $quote_amount) \n"; - } - } - - $result[$bidask]["base_max"] = $base_amount_max; - $result[$bidask]["quote_max"] = $quote_amount_max; - - if (!isset($result[$bidask]["amount"]) || $result[$bidask]["amount"] == 0) return false; - else return $result; - } - - public function getResult($orderbook, $markets, $deal_amount, $rater, $fee, $combinations, $stepOne_amountAsset, $stepOne_amount_decimals, $stepOne_sell_price, $stepOne_price_decimals, $stepOne_buy_price, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $stepTwo_sell_price, $stepTwo_price_decimals, $stepTwo_buy_price, $stepThree_amountAsset, $stepThree_sell_price, $stepThree_price_decimals, $stepThree_buy_price, $stepThree_amount_decimals, $step_one_dom_position, $step_two_dom_position, $step_three_dom_position, $stepOne_sell_amount, $stepOne_buy_amount, $stepTwo_sell_amount, $stepTwo_buy_amount, $stepThree_sell_amount, $stepThree_buy_amount, $max_deal_amount) - { - $status = true; - $reason = ""; - - /* STEP 1 */ - if ($stepOne_amountAsset == $combinations["main_asset_name"]) { - - $market_amount_step_one = $this->MarketOrder($orderbook["step_one"], $deal_amount, "bids", "base"); - - if ($market_amount_step_one === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 1, sell)" - ]; - } - - $stepOne = [ - "orderType" => "sell", - "dom_position" => $step_one_dom_position, - "amountAsset" => $combinations["main_asset_name"], - "priceAsset" => $combinations["asset_one_name"], - "amountAssetName" => $combinations["main_asset_name"], - "priceAssetName" => $combinations["asset_one_name"], - "amount" => $deal_amount, - "price" => $stepOne_sell_price, - "result" => $market_amount_step_one["bids"]["amount"] - - ]; - - // Balance check (step 1, sell) - if ($deal_amount > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 1, sell). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $deal_amount)"; - } - - } else { - - $market_amount_step_one = $this->MarketOrder($orderbook["step_one"], $deal_amount, "asks", "quote"); - - if ($market_amount_step_one === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 1, buy)" - ]; - } - - $step_one_result = $market_amount_step_one["asks"]["amount"]; - - $stepOne = [ - "orderType" => "buy", - "dom_position" => $step_one_dom_position, - "amountAsset" => $combinations["asset_one_name"], - "priceAsset" => $combinations["main_asset_name"], - "amountAssetName" => $combinations["asset_one_name"], - "priceAssetName" => $combinations["main_asset_name"], - "amount" => $deal_amount / $stepOne_buy_price, - "price" => $stepOne_buy_price, - "result" => $step_one_result - ]; - - // Balance check (step 1, buy) - if ($deal_amount > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 1, buy). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $deal_amount)"; - } - - } - - // Subtract fee (step 1) - $stepOne["result"] = (FEE_TYPE === "percentages") ? $stepOne["result"] - $stepOne["result"] / 100 * FEE_TAKER : $stepOne["result"]; - - // Amount limit check (step 1) - $min_amount_step_one = $markets[$combinations["step_one_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_one > $stepOne["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 1): {$combinations["step_one_symbol"]} min amount: $min_amount_step_one, current amount: {$stepOne["amount"]}" - ]; - } - - // Cost limit check (step 1) - $cost_limit_step_one = $markets[$combinations["step_one_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_one > $stepOne["amount"] * $stepOne["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 1): {$combinations["step_one_symbol"]} min cost: $cost_limit_step_one, current cost: " . ($stepOne["amount"] * $stepOne["price"]) - ]; - } - - - /* STEP 2 */ - if ($stepTwo_amountAsset == $combinations["asset_one_name"]) { - - $market_amount_step_two = $this->MarketOrder($orderbook["step_two"], $stepOne["result"], "bids", "base"); - - if ($market_amount_step_two === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 2, sell)" - ]; - } - - $step_two_amount = $stepOne["result"]; - - $stepTwo = [ - "orderType" => "sell", - "dom_position" => $step_two_dom_position, - "amountAsset" => $combinations["asset_one_name"], - "priceAsset" => $combinations["asset_two_name"], - "amountAssetName" => $combinations["asset_one_name"], - "priceAssetName" => $combinations["asset_two_name"], - "amount" => $step_two_amount, - "price" => $stepTwo_sell_price, - "result" => $market_amount_step_two["bids"]["amount"] - ]; - - // Balance check (step 1, sell) - if ($stepOne["result"] > $rater[$stepTwo_amountAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 2, sell). Asset: {$stepTwo["amountAssetName"]} ({$rater[$stepTwo_amountAsset]["free"]} < {$stepOne["result"]})"; - } - - } else { - - $market_amount_step_two = $this->MarketOrder($orderbook["step_two"], $stepOne["result"], "asks", "quote"); - - if ($market_amount_step_two === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 2, buy)" - ]; - } - - $step_two_result = $market_amount_step_two["asks"]["amount"]; - - $stepTwo = [ - "orderType" => "buy", - "dom_position" => $step_two_dom_position, - "amountAsset" => $combinations["asset_two_name"], - "priceAsset" => $combinations["asset_one_name"], - "amountAssetName" => $combinations["asset_two_name"], - "priceAssetName" => $combinations["asset_one_name"], - "amount" => $stepOne["result"] / $stepTwo_buy_price, - "price" => $stepTwo_buy_price, - "result" => $step_two_result - ]; - - // Balance check (step 2, buy) - if ($stepOne["result"] > $rater[$stepTwo_priceAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 2, buy). Asset: {$stepTwo["priceAssetName"]} ({$rater[$stepTwo_priceAsset]["free"]} < {$stepOne["result"]})"; - } - - } - - // Amount limit check (step 2) - $min_amount_step_two = $markets[$combinations["step_two_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_two > $stepTwo["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 2): {$combinations["step_two_symbol"]} min amount: $min_amount_step_two, current amount: {$stepTwo["amount"]}" - ]; - } - - // Cost limit check (step 2) - $cost_limit_step_two = $markets[$combinations["step_two_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_two > $stepTwo["amount"] * $stepTwo["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 2): {$combinations["step_two_symbol"]} min cost: $cost_limit_step_two, current cost: " . ($stepTwo["amount"] * $stepTwo["price"]) - ]; - } - - // Subtract fee (step 2) - $stepTwo["result"] = (FEE_TYPE === "percentages") ? $stepTwo["result"] - $stepTwo["result"] / 100 * FEE_TAKER : $stepTwo["result"]; - - /* STEP 3 */ - if ($stepThree_amountAsset != $combinations["main_asset_name"]) { - - $market_amount_step_three = $this->MarketOrder($orderbook["step_three"], $stepTwo["result"], "bids", "base"); - - if ($market_amount_step_three === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 3, sell)" - ]; - } - - $step_three_amount = $stepTwo["result"]; - - $stepThree = [ - "orderType" => "sell", - "dom_position" => $step_three_dom_position, - "amountAsset" => $combinations["asset_two_name"], - "priceAsset" => $combinations["main_asset_name"], - "amountAssetName" => $combinations["asset_two_name"], - "priceAssetName" => $combinations["main_asset_name"], - "amount" => $step_three_amount, - "price" => $stepThree_sell_price, - "result" => $market_amount_step_three["bids"]["amount"] - ]; - - // Balance check (step 2, sell) - if ($stepTwo["result"] > $rater[$stepThree_amountAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 3, sell). Asset: {$stepThree["amountAssetName"]} ({$rater[$stepThree_amountAsset]["free"]} < {$stepTwo["result"]})"; - } - - } else { - - $market_amount_step_three = $this->MarketOrder($orderbook["step_three"], $stepTwo["result"], "asks", "quote"); - - if ($market_amount_step_three === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 3, buy)" - ]; - } - - $step_three_result = $market_amount_step_three["asks"]["amount"]; - - $stepThree = [ - "orderType" => "buy", - "dom_position" => $step_three_dom_position, - "amountAsset" => $combinations["main_asset_name"], - "priceAsset" => $combinations["asset_two_name"], - "amountAssetName" => $combinations["main_asset_name"], - "priceAssetName" => $combinations["asset_two_name"], - "amount" => $stepTwo["result"] / $stepThree_buy_price, - "price" => $stepThree_buy_price, - "result" => $step_three_result - - ]; - - // Balance check (step 2, buy) - if ($step_three_result > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 3, buy). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $step_three_result)"; - } - } - - //Amount limit check (step 3) - $min_amount_step_three = $markets[$combinations["step_three_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_three > $stepThree["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 3): {$combinations["step_three_symbol"]} min amount: $min_amount_step_three, current amount: {$stepThree["amount"]}" - ]; - } - - // Cost limit check (step 3) - $cost_limit_step_three = $markets[$combinations["step_three_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_three > $stepThree["amount"] * $stepThree["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 3): {$combinations["step_three_symbol"]} min cost: $cost_limit_step_three, current cost: " . ($stepThree["amount"] * $stepThree["price"]) - ]; - } - - // Subtract fee (step 3) - $stepThree["result"] = (FEE_TYPE === "percentages") ? $stepThree["result"] - $stepThree["result"] / 100 * FEE_TAKER : $stepThree["result"]; - - $result = round(($stepThree["result"] - $deal_amount), 8); - - $result_in_main_asset = ($combinations["main_asset_name"] === MAIN_ASSET) ? $result : round(1 / $rater[$combinations["main_asset_name"]]["rate"] * $result, 8); - - $expected_data = [ - "fee" => $fee, - "stepOne_sell_price" => $stepOne_sell_price, - "stepOne_sell_amount" => $stepOne_sell_amount, - "stepOne_buy_price" => $stepOne_buy_price, - "stepOne_buy_amount" => $stepOne_buy_amount, - "stepTwo_sell_price" => $stepTwo_sell_price, - "stepTwo_sell_amount" => $stepTwo_sell_amount, - "stepTwo_buy_price" => $stepTwo_buy_price, - "stepTwo_buy_amount" => $stepTwo_buy_amount, - "stepThree_sell_price" => $stepThree_sell_price, - "stepThree_sell_amount" => $stepThree_sell_amount, - "stepThree_buy_price" => $stepThree_buy_price, - "stepThree_buy_amount" => $stepThree_buy_amount, - "max_deal_amount" => $max_deal_amount - ]; - - return [ - "result" => $result, - "result_in_main_asset" => $result_in_main_asset, - "status" => $status, - "reason" => $reason, - "deal_amount" => $deal_amount, - "main_asset_name" => $combinations["main_asset_name"], - "asset_one_name" => $combinations["asset_one_name"], - "asset_two_name" => $combinations["asset_two_name"], - "step_one" => $stepOne, - "step_two" => $stepTwo, - "step_three" => $stepThree, - "expected_data" => $expected_data - ]; - } - - public function getBestResult(array $plus_results) - { - $plus_results = array_values($plus_results); - $best_results = array_column($plus_results, "result_in_main_asset"); - $best_key = array_keys($best_results, max($best_results)); - $best_result = $plus_results[$best_key["0"]]; - - return $best_result; - } - - public function format($float, $decimals = 8) - { - return number_format($float, $decimals, ".", ""); - } - -} \ No newline at end of file diff --git a/test/getResult/MainFromServerVersion0.php b/test/getResult/MainFromServerVersion0.php deleted file mode 100644 index 1eb88c4..0000000 --- a/test/getResult/MainFromServerVersion0.php +++ /dev/null @@ -1,1772 +0,0 @@ -ip = IP_LIST; - - } - - /** - * Connect to DB - * - * @param string $host - * @param int $port - * @param string $db - * @param string $user - * @param string $password - * @param bool $presistent - * @return PDO|string - */ - public function connectToDB(string $host, int $port, string $db, string $user, string $password, bool $presistent = false) - { - - while (true) { - - try { - $db = new PDO("mysql:host=" . $host . ";port=" . $port . ";dbname=" . $db . "", $user, $password, [PDO::ATTR_PERSISTENT => $presistent]); - $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); - return $db; - } catch (PDOException $e) { - sleep(1); - echo "[ERROR] Can not connect to db: $e" . PHP_EOL; - continue; - } - - } - - } - - public function DealAmount($max_deal_amount, $mainAsset_decimals, $mainAsset_id, $stepOne_amountAsset, $stepOne_priceAsset, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepThree_amountAsset, $stepThree_priceAsset, $stepOne_buy_price, $stepOne_sell_price, $stepOne_buy_amount, $stepOne_sell_amount, $stepTwo_buy_price, $stepTwo_sell_price, $stepTwo_buy_amount, $stepTwo_sell_amount, $stepThree_buy_price, $stepThree_sell_price, $stepThree_buy_amount, $stepThree_sell_amount) - { - //Step 1 - $deal_amount_stepOne = ($stepOne_amountAsset == $mainAsset_id) ? $stepOne_sell_amount : $stepOne_buy_amount * $stepOne_buy_price; - - //Step 2 - if ($stepTwo_amountAsset == $stepOne_amountAsset) $deal_amount_stepTwo = $stepTwo_sell_amount * $stepOne_buy_price; - elseif ($stepTwo_amountAsset == $stepOne_priceAsset) $deal_amount_stepTwo = $stepTwo_sell_amount / $stepOne_sell_price; - elseif ($stepTwo_priceAsset == $stepOne_amountAsset) $deal_amount_stepTwo = $stepTwo_buy_amount * $stepTwo_buy_price * $stepOne_buy_price; - elseif ($stepTwo_priceAsset == $stepOne_priceAsset) $deal_amount_stepTwo = $stepTwo_buy_amount * $stepTwo_buy_price / $stepOne_sell_price; - - //Step 3 - if ($stepThree_amountAsset == $stepTwo_amountAsset && $stepThree_priceAsset == $stepOne_amountAsset) $deal_amount_stepThree = $stepThree_sell_amount * $stepTwo_buy_price / $stepOne_sell_price; - elseif ($stepThree_amountAsset == $stepTwo_amountAsset && $stepThree_priceAsset == $stepOne_priceAsset) $deal_amount_stepThree = $stepThree_sell_amount * $stepTwo_buy_price * $stepOne_buy_price; - elseif ($stepThree_amountAsset == $stepTwo_priceAsset && $stepThree_priceAsset == $stepOne_priceAsset) $deal_amount_stepThree = $stepThree_sell_amount / $stepTwo_sell_price * $stepOne_buy_price; - elseif ($stepThree_priceAsset == $stepTwo_priceAsset && $stepThree_amountAsset == $stepOne_priceAsset) $deal_amount_stepThree = $stepThree_buy_amount * $stepThree_buy_price / $stepTwo_sell_price * $stepOne_buy_price; - elseif ($stepThree_priceAsset == $stepTwo_priceAsset && $stepThree_amountAsset == $stepOne_amountAsset) $deal_amount_stepThree = $stepThree_buy_amount * $stepThree_buy_price / $stepTwo_sell_price / $stepOne_sell_price; - elseif ($stepThree_priceAsset == $stepTwo_amountAsset && $stepThree_amountAsset == $stepOne_amountAsset) $deal_amount_stepThree = $stepThree_buy_amount * $stepThree_buy_price * $stepTwo_buy_price / $stepOne_sell_price; - - $deal_amount_min = round(min($deal_amount_stepOne, $deal_amount_stepTwo, $deal_amount_stepThree, $max_deal_amount), $mainAsset_decimals); - - return [ - "min" => $deal_amount_min, - "step_one" => round($deal_amount_stepOne, $mainAsset_decimals), - "step_two" => round($deal_amount_stepTwo, $mainAsset_decimals), - "step_three" => round($deal_amount_stepThree, $mainAsset_decimals) - ]; - } - - /** - * Сalculates a market order in a DOM - * - * @param array $orderbook - * @param float $amount - * @param string $bidask - * @param string $base_or_quote - * @return array|false - */ - public function MarketOrder(array $orderbook, float $amount, string $bidask, string $base_or_quote) - { - - if ($bidask != "bids" && $bidask != "asks") return false; - - if ($base_or_quote != "base" && $base_or_quote != "quote") return false; - - if (isset($orderbook[$bidask]) && count($orderbook[$bidask]) > 0) $dom_count = count($orderbook[$bidask]); - else return false; - - $base_amount_sum = $quote_amount_sum = $quote_amount_max = $base_amount_max = 0; - - for ($i = 0; $i < $dom_count; $i++) { - - $current_amount = $orderbook[$bidask][$i]["1"]; - $current_price = $orderbook[$bidask][$i]["0"]; - - $quote_amount = $current_amount * $current_price; - - $quote_amount_max += $quote_amount; - $base_amount_max += $current_amount; - - if (($base_or_quote === "base" && $base_amount_sum < $amount) || ($base_or_quote === "quote" && $quote_amount_sum < $amount)) { - - $quote_amount_sum += $quote_amount; - $base_amount_sum += $current_amount; - - if ($base_or_quote === "base") { - - if (($base_amount_max - $amount) > 0 && $i == 0) $result[$bidask]["amount"] = $amount * $current_price; - else $result[$bidask]["amount"] = ($amount - $base_amount_max) * $current_price + $quote_amount_sum; - - } else { - - if (($quote_amount_max - $amount) > 0 && $i == 0) $result[$bidask]["amount"] = $amount / $current_price; - else $result[$bidask]["amount"] = ($amount - $quote_amount_max) / $current_price + $base_amount_sum; - - } - - $result[$bidask]["price"] = $current_price; - - //echo "Step $i) $bidask: price: " . $current_price . ", amount: $current_amount, amount base sum: $base_amount_max, quote sum: $quote_amount_max, current: $quote_amount) \n"; - } - } - - $result[$bidask]["base_max"] = $base_amount_max; - $result[$bidask]["quote_max"] = $quote_amount_max; - - if (!isset($result[$bidask]["amount"]) || $result[$bidask]["amount"] == 0) return false; - else return $result; - } - - public function getResult($orderbook, $markets, $deal_amount, $rater, $fee, $combinations, $stepOne_amountAsset, $stepOne_amount_decimals, $stepOne_sell_price, $stepOne_price_decimals, $stepOne_buy_price, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $stepTwo_sell_price, $stepTwo_price_decimals, $stepTwo_buy_price, $stepThree_amountAsset, $stepThree_sell_price, $stepThree_price_decimals, $stepThree_buy_price, $stepThree_amount_decimals, $step_one_dom_position, $step_two_dom_position, $step_three_dom_position, $stepOne_sell_amount, $stepOne_buy_amount, $stepTwo_sell_amount, $stepTwo_buy_amount, $stepThree_sell_amount, $stepThree_buy_amount, $max_deal_amount) - { - $status = true; - $reason = ""; - - /* STEP 1 */ - if ($stepOne_amountAsset == $combinations["main_asset_name"]) { - - $market_amount_step_one = $this->MarketOrder($orderbook["step_one"], $deal_amount, "bids", "base"); - - if ($market_amount_step_one === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 1, sell)" - ]; - } - - $stepOne = [ - "orderType" => "sell", - "dom_position" => $step_one_dom_position, - "amountAsset" => $combinations["main_asset_name"], - "priceAsset" => $combinations["asset_one_name"], - "amountAssetName" => $combinations["main_asset_name"], - "priceAssetName" => $combinations["asset_one_name"], - "amount" => $deal_amount, - "price" => $stepOne_sell_price, - "result" => $market_amount_step_one["bids"]["amount"] - - ]; - - // Balance check (step 1, sell) - if ($deal_amount > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 1, sell). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $deal_amount)"; - } - - } else { - - $market_amount_step_one = $this->MarketOrder($orderbook["step_one"], $deal_amount, "asks", "quote"); - - if ($market_amount_step_one === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 1, buy)" - ]; - } - - $step_one_result = $market_amount_step_one["asks"]["amount"]; - - $stepOne = [ - "orderType" => "buy", - "dom_position" => $step_one_dom_position, - "amountAsset" => $combinations["asset_one_name"], - "priceAsset" => $combinations["main_asset_name"], - "amountAssetName" => $combinations["asset_one_name"], - "priceAssetName" => $combinations["main_asset_name"], - "amount" => $deal_amount / $stepOne_buy_price, - "price" => $stepOne_buy_price, - "result" => $step_one_result - ]; - - // Balance check (step 1, buy) - if ($deal_amount > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 1, buy). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $deal_amount)"; - } - - } - - // Subtract fee (step 1) - $stepOne["result"] = (FEE_TYPE === "percentages") ? $stepOne["result"] - $stepOne["result"] / 100 * FEE_TAKER : $stepOne["result"]; - - // Amount limit check (step 1) - $min_amount_step_one = $markets[$combinations["step_one_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_one > $stepOne["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 1): {$combinations["step_one_symbol"]} min amount: $min_amount_step_one, current amount: {$stepOne["amount"]}" - ]; - } - - // Cost limit check (step 1) - $cost_limit_step_one = $markets[$combinations["step_one_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_one > $stepOne["amount"] * $stepOne["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 1): {$combinations["step_one_symbol"]} min cost: $cost_limit_step_one, current cost: " . ($stepOne["amount"] * $stepOne["price"]) - ]; - } - - - /* STEP 2 */ - if ($stepTwo_amountAsset == $combinations["asset_one_name"]) { - - $market_amount_step_two = $this->MarketOrder($orderbook["step_two"], $stepOne["result"], "bids", "base"); - - if ($market_amount_step_two === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 2, sell)" - ]; - } - - $step_two_amount = $stepOne["result"]; - - $stepTwo = [ - "orderType" => "sell", - "dom_position" => $step_two_dom_position, - "amountAsset" => $combinations["asset_one_name"], - "priceAsset" => $combinations["asset_two_name"], - "amountAssetName" => $combinations["asset_one_name"], - "priceAssetName" => $combinations["asset_two_name"], - "amount" => $step_two_amount, - "price" => $stepTwo_sell_price, - "result" => $market_amount_step_two["bids"]["amount"] - ]; - - // Balance check (step 1, sell) - if ($stepOne["result"] > $rater[$stepTwo_amountAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 2, sell). Asset: {$stepTwo["amountAssetName"]} ({$rater[$stepTwo_amountAsset]["free"]} < {$stepOne["result"]})"; - } - - } else { - - $market_amount_step_two = $this->MarketOrder($orderbook["step_two"], $stepOne["result"], "asks", "quote"); - - if ($market_amount_step_two === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 2, buy)" - ]; - } - - $step_two_result = $market_amount_step_two["asks"]["amount"]; - - $stepTwo = [ - "orderType" => "buy", - "dom_position" => $step_two_dom_position, - "amountAsset" => $combinations["asset_two_name"], - "priceAsset" => $combinations["asset_one_name"], - "amountAssetName" => $combinations["asset_two_name"], - "priceAssetName" => $combinations["asset_one_name"], - "amount" => $stepOne["result"] / $stepTwo_buy_price, - "price" => $stepTwo_buy_price, - "result" => $step_two_result - ]; - - // Balance check (step 2, buy) - if ($stepOne["result"] > $rater[$stepTwo_priceAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 2, buy). Asset: {$stepTwo["priceAssetName"]} ({$rater[$stepTwo_priceAsset]["free"]} < {$stepOne["result"]})"; - } - - } - - // Amount limit check (step 2) - $min_amount_step_two = $markets[$combinations["step_two_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_two > $stepTwo["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 2): {$combinations["step_two_symbol"]} min amount: $min_amount_step_two, current amount: {$stepTwo["amount"]}" - ]; - } - - // Cost limit check (step 2) - $cost_limit_step_two = $markets[$combinations["step_two_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_two > $stepTwo["amount"] * $stepTwo["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 2): {$combinations["step_two_symbol"]} min cost: $cost_limit_step_two, current cost: " . ($stepTwo["amount"] * $stepTwo["price"]) - ]; - } - - // Subtract fee (step 2) - $stepTwo["result"] = (FEE_TYPE === "percentages") ? $stepTwo["result"] - $stepTwo["result"] / 100 * FEE_TAKER : $stepTwo["result"]; - - /* STEP 3 */ - if ($stepThree_amountAsset != $combinations["main_asset_name"]) { - - $market_amount_step_three = $this->MarketOrder($orderbook["step_three"], $stepTwo["result"], "bids", "base"); - - if ($market_amount_step_three === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 3, sell)" - ]; - } - - $step_three_amount = $stepTwo["result"]; - - $stepThree = [ - "orderType" => "sell", - "dom_position" => $step_three_dom_position, - "amountAsset" => $combinations["asset_two_name"], - "priceAsset" => $combinations["main_asset_name"], - "amountAssetName" => $combinations["asset_two_name"], - "priceAssetName" => $combinations["main_asset_name"], - "amount" => $step_three_amount, - "price" => $stepThree_sell_price, - "result" => $market_amount_step_three["bids"]["amount"] - ]; - - // Balance check (step 2, sell) - if ($stepTwo["result"] > $rater[$stepThree_amountAsset]["free"]) { - $status = false; - $reason = "Not enough balance (step 3, sell). Asset: {$stepThree["amountAssetName"]} ({$rater[$stepThree_amountAsset]["free"]} < {$stepTwo["result"]})"; - } - - } else { - - $market_amount_step_three = $this->MarketOrder($orderbook["step_three"], $stepTwo["result"], "asks", "quote"); - - if ($market_amount_step_three === false) { - return [ - "status" => false, - "reason" => "Market calculation error (step 3, buy)" - ]; - } - - $step_three_result = $market_amount_step_three["asks"]["amount"]; - - $stepThree = [ - "orderType" => "buy", - "dom_position" => $step_three_dom_position, - "amountAsset" => $combinations["main_asset_name"], - "priceAsset" => $combinations["asset_two_name"], - "amountAssetName" => $combinations["main_asset_name"], - "priceAssetName" => $combinations["asset_two_name"], - "amount" => $stepTwo["result"] / $stepThree_buy_price, - "price" => $stepThree_buy_price, - "result" => $step_three_result - - ]; - - // Balance check (step 2, buy) - if ($step_three_result > $rater[$combinations["main_asset_name"]]["free"]) { - $status = false; - $reason = "Not enough balance (step 3, buy). Asset: {$combinations["main_asset_name"]} ({$rater[$combinations["main_asset_name"]]["free"]} < $step_three_result)"; - } - } - - //Amount limit check (step 3) - $min_amount_step_three = $markets[$combinations["step_three_symbol"]]["limits"]["amount"]["min"] ?? 0; - - if ($min_amount_step_three > $stepThree["amount"]) { - return [ - "status" => false, - "reason" => "Amount limit error (step 3): {$combinations["step_three_symbol"]} min amount: $min_amount_step_three, current amount: {$stepThree["amount"]}" - ]; - } - - // Cost limit check (step 3) - $cost_limit_step_three = $markets[$combinations["step_three_symbol"]]["limits"]["cost"]["min"] ?? 0; - - if ($cost_limit_step_three > $stepThree["amount"] * $stepThree["price"]) { - return [ - "status" => false, - "reason" => "Cost limit error (step 3): {$combinations["step_three_symbol"]} min cost: $cost_limit_step_three, current cost: " . ($stepThree["amount"] * $stepThree["price"]) - ]; - } - - // Subtract fee (step 3) - $stepThree["result"] = (FEE_TYPE === "percentages") ? $stepThree["result"] - $stepThree["result"] / 100 * FEE_TAKER : $stepThree["result"]; - - $result = round(($stepThree["result"] - $deal_amount), 8); - - $result_in_main_asset = ($combinations["main_asset_name"] === MAIN_ASSET) ? $result : round(1 / $rater[$combinations["main_asset_name"]]["rate"] * $result, 8); - - $expected_data = [ - "fee" => $fee, - "stepOne_sell_price" => $stepOne_sell_price, - "stepOne_sell_amount" => $stepOne_sell_amount, - "stepOne_buy_price" => $stepOne_buy_price, - "stepOne_buy_amount" => $stepOne_buy_amount, - "stepTwo_sell_price" => $stepTwo_sell_price, - "stepTwo_sell_amount" => $stepTwo_sell_amount, - "stepTwo_buy_price" => $stepTwo_buy_price, - "stepTwo_buy_amount" => $stepTwo_buy_amount, - "stepThree_sell_price" => $stepThree_sell_price, - "stepThree_sell_amount" => $stepThree_sell_amount, - "stepThree_buy_price" => $stepThree_buy_price, - "stepThree_buy_amount" => $stepThree_buy_amount, - "max_deal_amount" => $max_deal_amount - ]; - - return [ - "result" => $result, - "result_in_main_asset" => $result_in_main_asset, - "status" => $status, - "reason" => $reason, - "deal_amount" => $deal_amount, - "main_asset_name" => $combinations["main_asset_name"], - "asset_one_name" => $combinations["asset_one_name"], - "asset_two_name" => $combinations["asset_two_name"], - "step_one" => $stepOne, - "step_two" => $stepTwo, - "step_three" => $stepThree, - "expected_data" => $expected_data - ]; - } - - public function getMarketsJson() - { - - return json_decode(file_get_contents(dirname(__DIR__) . '/cache/markets.json'), true); - - } - - /** - * Gets a list of markets for assets from the config - * - * @param object $exchange - * @param array $assets - * @return array|false - */ - public function getMarkets(object $exchange, array $assets): bool|array - { - try { - $markets = $exchange->fetch_markets(); - } catch (Throwable $e) { - echo "[Error] " . $e->getMessage() . PHP_EOL; - return false; - } - - $markets_final = []; - - foreach ($markets as $id => $market) { - - if (in_array($market["base"], $assets) && - in_array($market["quote"], $assets) && - $market["symbol"] == $market["base"] . "/" . $market["quote"]) { - - /* Getting precision if it is absent */ - if (!isset($market["precision"]["amount"]) || - !isset($market["precision"]["price"]) || - is_null($market["precision"]["amount"]) || - is_null($market["precision"]["price"])) { - - $precision = $this->getPrecision($exchange, $market["symbol"]); - sleep(1); - $markets[$id]["precision"]["amount"] = $precision["amount_precision"]; - $markets[$id]["precision"]["price"] = $precision["price_precision"]; - - } else { - if (isset($market["precision"]["amount"]) && is_float($market["precision"]["amount"])) { - $markets[$id]["precision"]["amount"] = strlen(0.1 / $market["precision"]["amount"]); - } - - if (isset($market["precision"]["price"]) && is_float($market["precision"]["price"])) { - $markets[$id]["precision"]["price"] = strlen(0.1 / $market["precision"]["price"]); - } - } - - $markets_final[$markets[$id]["symbol"]] = $markets[$id]; - } - } - - return (is_array($markets_final) && count($markets_final) > 0) ? $markets_final : false; - } - - public function marketData(string $symbol, array $markets): array - { - - $market["base"] = $markets[$symbol]["base"] ?? null; - $market["quote"] = $markets[$symbol]["quote"] ?? null; - $market["amount_precision"] = $markets[$symbol]["precision"]["amount"] ?? null; - $market["price_precision"] = $markets[$symbol]["precision"]["price"] ?? null; - - return $market; - - } - - public function getOrderbookMin(object $exchange, string $symbol, int $depth = MAX_DEPTH) - { - try { - - $orderbook = $exchange->fetch_order_book($symbol, $depth); - - $orderbook["symbol"] = $symbol; - - } catch (Throwable $e) { - - echo '[Error] ' . $e->getMessage() . PHP_EOL; - - return false; - - } - - if (isset($orderbook["asks"]) && isset($orderbook["bids"])) return $orderbook; - else return false; - } - - public function addPropertyExchange($exchange_name, $api_public = '', $api_secret = '', $api_password = '', $api_uid = '') - { - $exchange_class = "\\ccxt\\" . $exchange_name; - - $exchange = new $exchange_class([ - "apiKey" => $api_public, - "secret" => $api_secret, - "password" => $api_password, - "uid" => $api_uid, - "timeout" => 10000, - "enableRateLimit" => false - ]); - - $this->exchange = $exchange; - - $this->markets = $this->getMarkets($exchange, ASSETS); - } - - /** - * Gets an orderbook for the symbol - * - * @param object $exchange - * @param string $symbol - * @param array $markets - * @param int $depth - * @return array|false - */ - /* - Array - ( - [symbol] => BTC/USDN - [bids] => Array - ( - [0] => Array - ( - [0] => 34938.47 - [1] => 0.04304447 - ) - - [1] => Array - ( - [0] => 34903.53 - [1] => 0.04306601 - ) - - [2] => Array - ( - [0] => 34903.5 - [1] => 0.00047539 - ) - - [3] => Array - ( - [0] => 34880.01 - [1] => 0.00761478 - ) - - [4] => Array - ( - [0] => 34868.63 - [1] => 0.04308757 - ) - - [5] => Array - ( - [0] => 34833.76 - [1] => 0.04310913 - ) - ) - - [asks] => Array - ( - [0] => Array - ( - [0] => 35008.42 - [1] => 0.02159475 - ) - - [1] => Array - ( - [0] => 35008.43 - [1] => 0.04295847 - ) - - [2] => Array - ( - [0] => 35043.4 - [1] => 0.00047539 - ) - - [3] => Array - ( - [0] => 35043.44 - [1] => 0.04293701 - ) - - [4] => Array - ( - [0] => 35078.48 - [1] => 0.04291556 - ) - - [5] => Array - ( - [0] => 35090.57 - [1] => 0.08382245 - ) - ) - - [timestamp] => 1643023591837 - [datetime] => 2022-01-24T11:26:31.837Z - [nonce] => - [base] => BTC - [quote] => USDN - [amount_precision] => 8 - [price_precision] => 6 - ) - */ - public function getOrderbook(string $symbol, int $depth = MAX_DEPTH) - { - try { - - if (!empty($this->ip)) { - - $ip = (next($this->ip) == null) ? reset($this->ip) : current($this->ip); - - $this->exchange->curlopt_interface = $ip; - - } - - $orderbook = $this->exchange->fetch_order_book($symbol, $depth); - $orderbook["symbol"] = $symbol; - $orderbook["base"] = $this->markets[$symbol]["base"] ?? null; - $orderbook["quote"] = $this->markets[$symbol]["quote"] ?? null; - $orderbook["amount_precision"] = $this->markets[$symbol]["precision"]["amount"] ?? null; - $orderbook["price_precision"] = $this->markets[$symbol]["precision"]["price"] ?? null; - - } catch (\ccxt\NetworkError $e) { - $this->addToErrorLog('NetworkError', $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } catch (\ccxt\ExchangeError $e) { - $this->addToErrorLog('ExchangeError', $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } catch (Throwable $e) { - $this->addToErrorLog('Exception', $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - if (isset($orderbook["asks"]) && isset($orderbook["bids"])) return $orderbook; - else return false; - } - - /** - * Gets order status - * - * @param object $exchange - * @param string $order_id - * @param string $symbol - * @return array|false - */ - public function getOrderStatus(object $exchange, string $order_id, string $symbol, $timestamp = null): bool|array - { - - $order = null; - - if (!empty($this->ip)) { - - $ip = (next($this->ip) == null) ? reset($this->ip) : current($this->ip); - - $exchange->curlopt_interface = $ip; - - } - - if ($exchange->has["fetchOrder"] !== false) { - - try { - $status = $exchange->fetch_order($order_id, $symbol); - } catch (Throwable $e) { - $this->addToErrorLog('getOrderStatus', '[ERROR] Main()->getOrderStatus() Error in method fetch_order. Error is: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - if (isset($status["id"])) return $status; - else return false; - } elseif ($exchange->has["fetchOpenOrders"] === true) { - try { - $open_orders = $exchange->fetch_open_orders($symbol); - } catch (Throwable $e) { - $this->addToErrorLog('getOrderStatus', '[ERROR] Main()->getOrderStatus() Error in method fetch_open_orders. Error is: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - foreach ($open_orders as $open_order) { - if ($open_order["id"] === $order_id) return $open_order; - } - - if ($exchange->has["fetchOrders"] !== false) { - try { - $orders = $exchange->fetch_orders($symbol); - } catch (Throwable $e) { - $this->addToErrorLog('getOrderStatus', '[ERROR] Main()->getOrderStatus() Error in method fetch_orders. Error is: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - foreach ($orders as $order) { - if ($order["id"] === $order_id) return $order; - } - - if ($timestamp) { - - try { - $orders = $exchange->fetch_orders($symbol, $timestamp, 1); - if ($orders[0]["id"] == $order_id) return $orders[0]; - return false; - } catch (Throwable $e) { - $this->addToErrorLog('getOrderStatus', '[ERROR] Main()->getOrderStatus() Error in method fetch_orders. Error is: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - } - - if ($order === null) return false; - - } else { - return false; - } - - } else return false; - - return false; - } - - /** - * Cancel order - * - * @param object $exchange - * @param string $order_id - * @param string $symbol - * @return array|false - */ - public function cancelOrder(object $exchange, string $order_id, string $symbol): bool|array - { - try { - $result = $exchange->cancel_order($order_id, $symbol); - } catch (Throwable $e) { - $this->addToErrorLog('cancelOrder', '[ERROR] Main()->cancelOrder() Error, can\'t cancel order: ' . $order_id . '. Error is: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - if ($result["id"] != $order_id) { - $error_msg = '[ERROR] Result id is not the same: ' . $result["id"]; - $this->addToErrorLog('cancelOrder', $error_msg); - echo $error_msg; - return false; - } - - return $result; - } - - /** - * Receive all open orders - * - * @param object $exchange - * @param array $markets - * @return array|false - * - */ - public function getOpenOrders(object $exchange, array $markets): bool|array - { - if ($exchange->has["fetchOpenOrders"] !== false) { - - try { - $open_orders = $exchange->fetch_open_orders(); - return $open_orders; - } catch (Throwable $e) { - echo "[INFO] fetch_open_orders does not work without a symbol" . PHP_EOL; - } - - $open_orders = []; - - foreach ($markets as $symbol => $data) { - - try { - $symbol_open_orders = $exchange->fetch_open_orders($symbol); - } catch (Throwable $e) { - echo "[ERROR] fetch_open_orders does not work" . PHP_EOL; - return false; - } - - if (is_array($symbol_open_orders) && count($symbol_open_orders) > 0) { - - foreach ($symbol_open_orders as $symbol_open_order) { - - $order_id = $symbol_open_order["id"]; - $open_orders[$order_id] = $symbol_open_order; - } - } - } - return $open_orders; - } else return false; - } - - /** - * Closes all open orders by time from the configuration - * - * @param object $exchange - * @param object $db - * @param array $markets - * @return array|false - */ - public function cancelAllOpenOrders(object $exchange, object $db = null, array $markets): bool|array - { - if ($exchange->has["cancelAllOrders"] === true) { - try { - $cancel_all_orders = $exchange->cancel_all_orders(); - } catch (Throwable $e) { - $this->addToErrorLog('cancelAllOpenOrders', '[ERROR] Main()->cancelAllOrders() Error, can\'t cancel order. Error is: ' . $e->getMessage()); - echo "[ERROR] Can't use method cancelAllOrders: $e" . PHP_EOL; - } - } - - if (isset($cancel_all_orders)) return true; - else { - if ($open_orders = $this->getOpenOrders($exchange, $markets)) { - - foreach ($open_orders as $open_order) { - - $order_id = $open_order["id"]; - $timestamp = $open_order["timestamp"] / 1000; - $lifetime_in_minutes = floor((time() - $timestamp) / 60); - - /* Looking for an order from which table */ - $tables = ["triangles", "distribution"]; - $selected_table = null; - $id = $open_order["id"] ?? null; - $symbol = $open_order["symbol"] ?? null; - $remaining = $open_order["remaining"] ?? 0; - - /* foreach ($tables as $table) { - $stmt = $db->prepare("SELECT `id`, `base_asset`, `quote_asset` FROM `$table` WHERE `order_id` = ? ORDER BY `id` DESC LIMIT 1"); - $stmt->execute([$order_id]); - - if ($stmt->rowCount() > 0) { - $selected_table = $table; - break; - } - }*/ - - if ($selected_table === null) { - echo "[Error] Table for order $order_id not found" . PHP_EOL; - } else { - $update_order = $db->query("UPDATE `$selected_table` SET `status` = 'canceled', `remain` = '$remaining' WHERE `id` = $id ORDER BY `id` DESC LIMIT 1"); - } - - /* Cancel the order */ - if (($selected_table === "triangles" && $lifetime_in_minutes > ORDER_LIFETIME) || - ($selected_table === "distribution" && $lifetime_in_minutes > BALANCER_ORDER_LIFETIME) || - ($selected_table === null)) { - $cancel_order = $this->cancelOrder($exchange, $order_id, $symbol); - echo "[Info] Order canceled: id: $order_id ($symbol), lifetime: $lifetime_in_minutes min, table: $selected_table" . PHP_EOL; - } - } - } else return false; - } - - return false; - } - - /** - * Gets several orderbooks in parallel - * - * @param object $exchange - * @param array $symbols - * @param int $depth - * @return array|false - * @throws Throwable - */ - public function getOrderbooks(object $exchange, array $symbols, int $depth = MAX_DEPTH) - { - - if ($exchange->has["fetchOrderBooks"] === true) { - try { - $orderbooks = $exchange->fetch_order_books($symbols, $depth); - - foreach ($orderbooks as $symbol => $orderbook) { - if (in_array($symbol, $symbols) === false) unset($orderbooks[$symbol]); - else { - $orderbooks[$symbol]["symbol"] = $symbol; - $base_or_quote = explode("/", $symbol); - $orderbooks[$symbol]["base"] = $base_or_quote["0"]; - $orderbooks[$symbol]["quote"] = $base_or_quote["1"]; - } - } - } catch (Throwable $e) { - echo '[Error] ' . $e->getMessage() . PHP_EOL; - return false; - } - - } else { - - $get_orderbook = function ($market) use ($exchange, $depth) { - - try { - $orderbook = $exchange->fetch_order_book($market, $depth); - $orderbook["symbol"] = $market; - $base_or_quote = explode("/", $market); - $orderbook["base"] = $base_or_quote["0"]; - $orderbook["quote"] = $base_or_quote["1"]; - return $orderbook; - } catch (Throwable $e) { - echo '[Error] ' . $e->getMessage() . PHP_EOL; - return false; - } - }; - - try { - $result = array_map($symbols, $get_orderbook); - } catch (Throwable $exception) { - foreach ($exception->getReasons() as $e) { - var_dump((string)$e); - } - return false; - } - - foreach ($result as $key => $data) { - $orderbooks[$data["symbol"]] = $data; - } - } - - return $orderbooks; - } - - /** - * Make parallel orders - * - * @param object $exchange - * @param array $best_result - * @return bool|array - * @throws Throwable - */ - public function makeParallelOrders(object $exchange, array $best_result) - { - $create_order = function ($data) use ($exchange) { - - try { - return $exchange->create_limit_order($data["symbol"], $data["side"], $data["amount"], $data["price"]); - } catch (Throwable $e) { - echo "Failed to create order {$data["symbol"]}: " . $e->getMessage(); - return false; - } - }; - - $order_step_one = ["symbol" => $best_result["step_one"]["amountAsset"] . "/" . $best_result["step_one"]["priceAsset"], "side" => $best_result["step_one"]["orderType"], "amount" => $best_result["step_one"]["amount"], "price" => $best_result["step_one"]["price"]]; - $order_step_two = ["symbol" => $best_result["step_two"]["amountAsset"] . "/" . $best_result["step_two"]["priceAsset"], "side" => $best_result["step_two"]["orderType"], "amount" => $best_result["step_two"]["amount"], "price" => $best_result["step_two"]["price"]]; - $order_step_three = ["symbol" => $best_result["step_three"]["amountAsset"] . "/" . $best_result["step_three"]["priceAsset"], "side" => $best_result["step_three"]["orderType"], "amount" => $best_result["step_three"]["amount"], "price" => $best_result["step_three"]["price"]]; - - try { - return wait(parallelMap([$order_step_one, $order_step_two, $order_step_three], $create_order)); - } catch (Throwable $exception) { - foreach ($exception->getReasons() as $e) { - var_dump((string)$e); - } - return false; - } - } - - /** - * Creates orders sequentially - * - * @param object $exchange - * @param array $best_result - * @return bool|array - * @throws Throwable - */ - public function makeOrders(object $exchange, array $best_result) - { - $create_order = function ($data) use ($exchange) { - - try { - return $exchange->create_limit_order($data["symbol"], $data["side"], $data["amount"], $data["price"]); - } catch (Throwable $e) { - echo "Failed to create order {$data["symbol"]}: " . $e->getMessage(); - return false; - } - }; - - $order_step_one = ["symbol" => $best_result["step_one"]["amountAsset"] . "/" . $best_result["step_one"]["priceAsset"], "side" => $best_result["step_one"]["orderType"], "amount" => $best_result["step_one"]["amount"], "price" => $best_result["step_one"]["price"]]; - $order_step_two = ["symbol" => $best_result["step_two"]["amountAsset"] . "/" . $best_result["step_two"]["priceAsset"], "side" => $best_result["step_two"]["orderType"], "amount" => $best_result["step_two"]["amount"], "price" => $best_result["step_two"]["price"]]; - $order_step_three = ["symbol" => $best_result["step_three"]["amountAsset"] . "/" . $best_result["step_three"]["priceAsset"], "side" => $best_result["step_three"]["orderType"], "amount" => $best_result["step_three"]["amount"], "price" => $best_result["step_three"]["price"]]; - - return array_map($create_order, [$order_step_one, $order_step_two, $order_step_three]); - } - - /** - * Gets assets rater (free, used, total) - * - * @param object $exchange - * @param array $assets - * @return array|false - */ - /* - Array - ( - [BTC] => Array - ( - [free] => 0.00356315 - [used] => 0 - [total] => 0.00356315 - ) - - [WAVES] => Array - ( - [total] => 82.12041961 - [used] => 0 - [free] => 82.12041961 - ) - - [USDN] => Array - ( - [free] => 783.726145 - [used] => 0 - [total] => 783.726145 - ) - ) - */ - public function getBalances(object $exchange, array $assets) - { - $balances = []; - - try { - $all_balances = $exchange->fetch_balance(); - } catch (Throwable $e) { - $this->addToErrorLog('getBalances', '[ERROR] Main()->getBalances() Can\'t get balance. Error: ' . $e->getMessage()); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - foreach ($assets as $asset) { - if (isset($all_balances[$asset])) $balances[$asset] = $all_balances[$asset]; - else $balances[$asset] = ["free" => 0, "used" => 0, "total" => 0]; - } - - if (count($balances) === count($assets)) return $balances; - else return false; - } - - /** - * Creates a limit order - * - * @param object $exchange - * @param string $symbol - * @param string $side - * @param float $amount - * @param float $price - * @return array|false - */ - public function createLimitOrder(object $exchange, string $symbol, string $side, float $amount, float $price) - { - try { - $order = $exchange->create_order($symbol, "limit", $side, $amount, $price); - return $order; - } catch (Throwable $e) { - echo '[Error] ' . $e->getMessage() . PHP_EOL; - return false; - } - } - - /** - * Creates an order - * - * @param object $exchange - * @param string $symbol - * @param string $type - * @param string $side - * @param float $amount - * @param float $price - * @return array|false - */ - public function createOrder(object $exchange, string $symbol, string $type, string $side, float $amount, float $price): bool|array - { - try { - $order = $exchange->create_order($symbol, $type, $side, $amount, $price); - } catch (Throwable $e) { - $error_msg = "Symbol: $symbol, type: $type, side: $side, amount: $amount, price: $price. Error: " . $e->getMessage(); - $this->addToErrorLog('createOrder', $error_msg); - echo '[ERROR] ' . $e->getMessage() . PHP_EOL; - return false; - } - - if (isset($order['id']) && $order['id'] != null) return $order; - else return false; - - } - - /** - * Receives amount and price precision for symbol - * - * @param object $exchange - * @param string $symbol - * @return array|false - */ - public function getPrecision(object $exchange, string $symbol) - { - try { - $orderbook = $this->getOrderbookMin($exchange, $symbol); - } catch (Throwable $e) { - echo "[ERROR] Failed to get orderbook for $symbol (getPrecision() function)" . PHP_EOL; - return false; - } - - echo "Getting precision for $symbol..." . PHP_EOL; - - $orderbook = array_merge($orderbook['bids'], $orderbook['asks']); - - $amount_precision = []; - $price_precision = []; - - foreach ($orderbook as $dom) { - $amount_precision[] = strlen(substr(strrchr($dom['1'], "."), 1)); - $price_precision[] = strlen(substr(strrchr($dom['0'], "."), 1)); - } - - $max_amount_precision = max($amount_precision); - $max_price_precision = max($price_precision); - - return [ - "amount_precision" => $max_amount_precision, - "price_precision" => $max_price_precision - ]; - } - - /** - * Gets rater and rater from DB - * - * @param object $db - * @return array|false - */ - public function getRaterData(object $db) - { - $get_rater = $db->query("SELECT * FROM rater WHERE exchange = '" . EXCHANGE_CLASS . "'"); - - while ($row = $get_rater->fetch(PDO::FETCH_ASSOC)) $rater[$row["asset"]] = $row; - - if (!isset($rater) || $rater == NULL) return false; - else return $rater; - } - - /** - * Adds an error to the database - * - * @param string $module - * @param string $message - * @param bool $error_log - * @return bool - */ - public function addToErrorLog(string $module, string $message, bool $error_log = false) - { - - $db = $this->connectToDB(MYSQL_HOST, MYSQL_PORT, MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD, false); - - $created = date("Y-m-d H:i:s", time()); - - if ($error_log) error_log($message); - - try { - $sth = $db->prepare("INSERT INTO `error_log` SET `exchange` = :exchange, `module` = :modules, `message` = :message, `created` = :created"); - $sth->execute([ - 'exchange' => EXCHANGE_CLASS, - 'modules' => $module, - 'message' => $message, - 'created' => $created - ]); - } catch (PDOException $e) { - echo "Failed to add an error to the database: " . $e->getMessage() . PHP_EOL; - return false; - } - - return true; - } - - /** - * Check if the necessary tables exist, if not, create - * - * @param object $db - */ - public function checkExistenceTables(object $db) - { - - if (!$db) die("Error: Unable to connect to MySQL." . PHP_EOL); - - //Таблица реальных сделок - $real_deals_table = "CREATE TABLE IF NOT EXISTS `triangles` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `exchange` varchar(30) NOT NULL, - `expected_id` int(11) NOT NULL, - `dom_position` int(4) NOT NULL, - `step` smallint(1) NOT NULL DEFAULT '0', - `order_id` varchar(50) NOT NULL, - `base_asset` varchar(15) NOT NULL, - `quote_asset` varchar(15) NOT NULL, - `operation` varchar(4) NOT NULL, - `amount` decimal(25,8) NOT NULL, - `main_asset_amount` decimal(25,8) NOT NULL, - `btc_amount` decimal(25,8) NOT NULL, - `usd_amount` decimal(25,8) NOT NULL, - `remain` decimal(25,8) NOT NULL, - `price` decimal(25,8) NOT NULL, - `average` decimal(25,8) NOT NULL, - `status` varchar(30) NOT NULL, - `execution_time` decimal(5,3) NOT NULL, - `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8"; - - //Таблица предполагаемых сделок - $expected_deals_table = "CREATE TABLE IF NOT EXISTS `triangles_expected` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `mainAsset_name` varchar(20) NOT NULL, - `assetOne_name` varchar(20) NOT NULL, - `assetTwo_name` varchar(20) NOT NULL, - `deal_amount` decimal(25,8) NOT NULL, - `deal_amount_main_asset` decimal(25,8) NOT NULL, - `deal_amount_btc` decimal(25,8) NOT NULL, - `deal_amount_usd` decimal(25,8) NOT NULL, - `max_deal_amount` decimal(25,8) NOT NULL, - `stepOne_exchange` varchar(20) NOT NULL, - `stepOne_amountAssetName` varchar(20) NOT NULL, - `stepOne_priceAssetName` varchar(20) NOT NULL, - `stepOne_orderType` varchar(4) NOT NULL, - `stepOne_sell_price` decimal(25,8) NOT NULL, - `stepOne_sell_amount` decimal(25,8) NOT NULL, - `stepOne_buy_price` decimal(25,8) NOT NULL, - `stepOne_buy_amount` decimal(25,8) NOT NULL, - `stepOne_amountAsset_result` decimal(25,8) NOT NULL, - `stepOne_priceAsset_result` decimal(25,8) NOT NULL, - `stepTwo_exchange` varchar(20) NOT NULL, - `stepTwo_amountAssetName` varchar(20) NOT NULL, - `stepTwo_priceAssetName` varchar(20) NOT NULL, - `stepTwo_orderType` varchar(4) NOT NULL, - `stepTwo_sell_price` decimal(25,8) NOT NULL, - `stepTwo_sell_amount` decimal(25,8) NOT NULL, - `stepTwo_buy_price` decimal(25,8) NOT NULL, - `stepTwo_buy_amount` decimal(25,8) NOT NULL, - `stepTwo_amountAsset_result` decimal(25,8) NOT NULL, - `stepTwo_priceAsset_result` decimal(25,8) NOT NULL, - `stepThree_exchange` varchar(20) NOT NULL, - `stepThree_amountAssetName` varchar(20) NOT NULL, - `stepThree_priceAssetName` varchar(20) NOT NULL, - `stepThree_orderType` varchar(4) NOT NULL, - `stepThree_sell_price` decimal(25,8) NOT NULL, - `stepThree_sell_amount` decimal(25,8) NOT NULL, - `stepThree_buy_price` decimal(25,8) NOT NULL, - `stepThree_buy_amount` decimal(25,8) NOT NULL, - `stepThree_amountAsset_result` decimal(25,8) NOT NULL, - `stepThree_priceAsset_result` decimal(25,8) NOT NULL, - `result` decimal(25,8) NOT NULL, - `result_in_main_asset` decimal(25,8) NOT NULL, - `result_in_btc` decimal(25,8) DEFAULT NULL, - `result_in_usd` decimal(25,8) DEFAULT NULL, - `date` datetime NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8"; - - //Таблица балансировщика - $distribution_table = "CREATE TABLE IF NOT EXISTS `distribution` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `exchange` varchar(30) NOT NULL, - `step` int(2) NOT NULL DEFAULT '0', - `type` smallint(1) NOT NULL DEFAULT '0', - `order_id` varchar(50) NOT NULL, - `base_asset` varchar(15) NOT NULL, - `quote_asset` varchar(15) NOT NULL, - `operation` varchar(4) NOT NULL, - `amount` decimal(25,8) NOT NULL, - `main_asset_amount` decimal(25,8) NOT NULL, - `btc_amount` decimal(25,8) NOT NULL, - `usd_amount` decimal(25,8) NOT NULL, - `remain` decimal(25,8) NOT NULL, - `price` decimal(25,8) NOT NULL, - `average` decimal(25,8) NOT NULL, - `status` varchar(30) NOT NULL, - `execution_time` decimal(5,3) NOT NULL, - `created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8"; - - //Таблица кешированной статистики - $stats_table = "CREATE TABLE IF NOT EXISTS `stats` ( - `date` date NOT NULL, - `expected_operations` int(11) NOT NULL, - `canceled_operations` int(11) NOT NULL, - `canceled_operations_percent` decimal(4,2) NOT NULL, - `expected_result_in_main_asset` decimal(25,8) NOT NULL, - `expected_result_in_btc` decimal(25,8) NOT NULL, - `expected_result_in_usd` decimal(25,8) NOT NULL, - `volume` decimal(25,8) NOT NULL, - PRIMARY KEY (`date`) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; - - //Таблица актуальных балансов - $rater_table = "CREATE TABLE IF NOT EXISTS `rater` ( - `exchange` varchar(30) NOT NULL, - `asset` varchar(50) NOT NULL, - `free` decimal(25,8) DEFAULT NULL, - `used` decimal(25,8) DEFAULT NULL, - `total` decimal(25,8) DEFAULT NULL, - `total_main_asset` decimal(25,8) DEFAULT NULL, - `total_main_asset_free` decimal(25,8) DEFAULT NULL, - `rate` decimal(25,8) DEFAULT NULL, - `last_update` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`exchange`, `asset`) - ) ENGINE=InnoDB DEFAULT CHARSET=utf8"; - - //Таблица логов ошибок - $error_log_table = "CREATE TABLE IF NOT EXISTS `error_log` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `exchange` varchar(30), - `module` varchar(30), - `message` text NOT NULL, - `created` datetime NOT NULL, - PRIMARY KEY (`id`) - ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8"; - - - if ($check_real_deals_table = $db->query($real_deals_table)) echo "Table 'real_deals' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'real_deals'"); - - if ($check_expected_deals_table = $db->query($expected_deals_table)) echo "Table 'expected_deals' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'expected_deals'"); - - if ($check_distribution_table = $db->query($distribution_table)) echo "Table 'distribution' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'distribution'"); - - if ($check_stats_table = $db->query($stats_table)) echo "Table 'stats' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'stats'"); - - if ($check_rater_table = $db->query($rater_table)) echo "Table 'rater' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'rater'"); - - if ($check_error_log_table = $db->query($error_log_table)) echo "Table 'error_log' exists or already created... OK" . PHP_EOL; - else die("Unable to create table 'error_log'"); - - //Очищаем таблицу с балансами - if ($db->query("TRUNCATE TABLE rater")) echo "Table 'rater' cleared... OK" . PHP_EOL; - else die("Unable to clear table 'rater'"); - - foreach (ASSETS as $asset) { - - $db->query("INSERT INTO rater (`exchange`, `asset`) VALUES ('" . EXCHANGE_CLASS . "', '{$asset}')"); - - } - - } - - /** - * Gets the best of results - * - * @param array $plus_results - * @return array - */ - public function getBestResult(array $plus_results) - { - $plus_results = array_values($plus_results); - $best_results = array_column($plus_results, "result_in_main_asset"); - $best_key = array_keys($best_results, max($best_results)); - $best_result = $plus_results[$best_key["0"]]; - - return $best_result; - } - - /** - * Add expected result to DB and get last expected ID - * - * @param object $db - * @param array $best_result - * @param array $rater - * @return int|bool - */ - public function addExpectedResultToDB(object $db, array $best_result, array $rater) - { - $created = date("Y-m-d H:i:s", time()); - - $deal_amount_main_asset = ($best_result["main_asset_name"] === MAIN_ASSET) ? $best_result["deal_amount"] : round($rater[$best_result["main_asset_name"]]['rate'] * $best_result["deal_amount"], 8); - $result_in_usd = (isset($rater[USDT_ASSET]['rate'])) ? $best_result["result_in_main_asset"] * $rater[USDT_ASSET]['rate'] : 0; - - $query = $db->query("INSERT INTO triangles_expected ( - mainAsset_name, - assetOne_name, - assetTwo_name, - deal_amount, - deal_amount_main_asset, - deal_amount_btc, - deal_amount_usd, - max_deal_amount, - stepOne_exchange, - stepOne_amountAssetName, - stepOne_priceAssetName, - stepOne_orderType, - stepOne_sell_price, - stepOne_sell_amount, - stepOne_buy_price, - stepOne_buy_amount, - stepOne_amountAsset_result, - stepOne_priceAsset_result, - stepTwo_exchange, - stepTwo_amountAssetName, - stepTwo_priceAssetName, - stepTwo_orderType, - stepTwo_sell_price, - stepTwo_sell_amount, - stepTwo_buy_price, - stepTwo_buy_amount, - stepTwo_amountAsset_result, - stepTwo_priceAsset_result, - stepThree_exchange, - stepThree_amountAssetName, - stepThree_priceAssetName, - stepThree_orderType, - stepThree_sell_price, - stepThree_sell_amount, - stepThree_buy_price, - stepThree_buy_amount, - stepThree_amountAsset_result, - stepThree_priceAsset_result, - result, - result_in_main_asset, - result_in_btc, - result_in_usd, - date - ) - VALUES ( - - '{$best_result["main_asset_name"]}', - '{$best_result["asset_one_name"]}', - '{$best_result["asset_two_name"]}', - - '" . $this->format($best_result["deal_amount"]) . "', - '$deal_amount_main_asset', - '$deal_amount_main_asset', - '0', - '{$best_result["expected_data"]["max_deal_amount"]}', - - '" . EXCHANGE_CLASS . "', - - '{$best_result["step_one"]["amountAsset"]}', - '{$best_result["step_one"]["priceAsset"]}', - '{$best_result["step_one"]["orderType"]}', - '{$best_result["expected_data"]["stepOne_sell_price"]}', - '{$best_result["expected_data"]["stepOne_sell_amount"]}', - '{$best_result["expected_data"]["stepOne_buy_price"]}', - '{$best_result["expected_data"]["stepOne_buy_amount"]}', - '{$best_result["deal_amount"]}', - '{$best_result["step_one"]["result"]}', - - '" . EXCHANGE_CLASS . "', - - '{$best_result["step_two"]["amountAsset"]}', - '{$best_result["step_two"]["priceAsset"]}', - '{$best_result["step_two"]["orderType"]}', - '{$best_result["expected_data"]["stepTwo_sell_price"]}', - '{$best_result["expected_data"]["stepTwo_sell_amount"]}', - '{$best_result["expected_data"]["stepTwo_buy_price"]}', - '{$best_result["expected_data"]["stepTwo_buy_amount"]}', - '{$best_result["step_one"]["result"]}', - '{$best_result["step_two"]["result"]}', - - '" . EXCHANGE_CLASS . "', - - '{$best_result["step_three"]["amountAsset"]}', - '{$best_result["step_three"]["priceAsset"]}', - '{$best_result["step_three"]["orderType"]}', - '{$best_result["expected_data"]["stepThree_sell_price"]}', - '{$best_result["expected_data"]["stepThree_sell_amount"]}', - '{$best_result["expected_data"]["stepThree_buy_price"]}', - '{$best_result["expected_data"]["stepThree_buy_amount"]}', - '{$best_result["step_two"]["result"]}', - '{$best_result["step_three"]["result"]}', - - '{$best_result["result"]}', - '{$best_result["result_in_main_asset"]}', - '{$best_result["result_in_main_asset"]}', - '$result_in_usd', - - '$created' - )"); - - $last_expected_id = $db->lastInsertId(); - $last_expected_id = ($last_expected_id != NULL) ? $last_expected_id : false; - - return $last_expected_id; - } - - public function addRealResultToDB(object $db, array $best_result, array $orders, array $rater, int $expected_id, float $execution_time) - { - - $deal_result["0"] = $orders["0"]; - $deal_result["1"] = $orders["1"]; - $deal_result["2"] = $orders["2"]; - - $dom_position["0"] = $best_result["step_one"]["dom_position"]; - $dom_position["1"] = $best_result["step_two"]["dom_position"]; - $dom_position["2"] = $best_result["step_three"]["dom_position"]; - - for ($i = 0; $i < 3; $i++) { - - $created_time = date("Y-m-d H:i:s", time()); - - if ($deal_result[$i] != NULL && isset($deal_result[$i]["id"])) { - - $order_id = $deal_result[$i]["id"]; - $side = $deal_result[$i]["side"] ?? "null"; - $amount = $deal_result[$i]["amount"] ?? 0; - $price = $deal_result[$i]["price"] ?? 0; - $average = (isset($deal_result[$i]["average"]) && $deal_result[$i]["average"] != null) ? $deal_result[$i]["average"] : 0; - $remain = (isset($deal_result[$i]["remaining"]) && $deal_result[$i]["remaining"] != null) ? $deal_result[$i]["remaining"] : 0; - - $base_or_quote = explode("/", $deal_result[$i]["symbol"]); - $base_asset = $base_or_quote["0"]; - $quote_asset = $base_or_quote["1"]; - - $main_asset_amount = ($base_asset == MAIN_ASSET) ? $amount : round($amount / $rater[$base_asset]['rate'], 8); - $usd_amount = ($base_asset == USDT_ASSET) ? $amount : round($main_asset_amount * $rater[USDT_ASSET]['rate'], 8); - - $query = $db->query("INSERT INTO triangles (exchange, expected_id, dom_position, step, order_id, base_asset, quote_asset, operation, amount, main_asset_amount, btc_amount, usd_amount, remain, price, average, status, execution_time, created) VALUES - ('" . EXCHANGE_CLASS . "', $expected_id, {$dom_position[$i]}, " . ($i + 1) . ", '$order_id', '$base_asset', '$quote_asset', '$side', '$amount', '$main_asset_amount', '$main_asset_amount', '$usd_amount', '$remain', '$price', '$average', 'open', '$execution_time', '$created_time')"); - } - } - } - - public function CalcVisualizationHeader(array $orderbooks, string $current_symbol) - { - - $date = date("d.m.y H:i:s", time()); - -// echo '

Orderbooks

';
-//        print_r($orderbooks);
-//        echo '
';
-
-        $html = << body {font-family: monospace;} table {border-collapse: collapse;} td, th {border: 1px solid #000; padding: 5px;} th {font-weight: bold;}
-         Current symbol: $current_symbol. Generated: $date

- - - - HTML; - - return $html; - } - - public function CalcVisualizationBody($i, $step_one_dom_position, $step_two_dom_position, $step_three_dom_position, $result, $waves_deal_amount, $deal_amount, $fee, $combinations, $stepOne_sell_amount, $stepTwo_sell_amount, $stepOne_buy_amount, $stepTwo_buy_amount, $stepThree_buy_amount, $stepThree_sell_amount, $stepOne_amountAsset, $stepOne_amount_decimals, $stepOne_sell_price, $stepOne_price_decimals, $stepOne_buy_price, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $stepTwo_sell_price, $stepTwo_price_decimals, $stepTwo_buy_price, $stepThree_amountAsset, $stepThree_sell_price, $stepThree_price_decimals, $stepThree_buy_price, $stepThree_amount_decimals) - { - - $table = ""; - - $calculations = ""; - - // Step 1 - $calculations .= ""; - - // Step 2 - $calculations .= ""; - - // Step 3 - $calculations .= ""; - - // Result - $calculations .= ""; - - $calculations .= ""; - - $table .= $calculations; - - return $table; - } - - public function CalcVisualizationDelimeter($reason) - { - $html = ''; - $html .= ''; - - return $html; - } - - public function CalcVisualizationFooter() - { - $html = '
#TriangleStep 1Step 2Step 3Result
$i{$combinations["main_asset_name"]} -> {$combinations["asset_one_name"]} -> {$combinations["asset_two_name"]}
Deal: " . $this->format($deal_amount) . " {$combinations["main_asset_name"]}
Max: {$waves_deal_amount}
Fee: " . $this->format($fee) . "
Market: {$result["step_one"]["amountAssetName"]} -> {$result["step_one"]["priceAssetName"]} ({$result["step_one"]["orderType"]})
Position: $step_one_dom_position
Sell: " . $this->format($stepOne_sell_price) . " (" . $this->format($stepOne_sell_amount) . ")
Buy: " . $this->format($stepOne_buy_price) . " (" . $this->format($stepOne_buy_amount) . ")
Result: -" . $this->format($deal_amount) . " {$combinations["main_asset_name"]}, +" . $this->format($result["step_one"]["result"]) . " {$combinations["asset_one_name"]}
Market: {$result["step_two"]["amountAssetName"]} -> {$result["step_two"]["priceAssetName"]} ({$result["step_two"]["orderType"]})
Position: $step_two_dom_position
Sell: " . $this->format($stepTwo_sell_price) . " (" . $this->format($stepTwo_sell_amount) . ")
Buy: " . $this->format($stepTwo_buy_price) . " (" . $this->format($stepTwo_buy_amount) . ")
Result: -" . $this->format($result["step_one"]["result"]) . " {$combinations["asset_one_name"]}, +" . $this->format($result["step_two"]["result"]) . " {$combinations["asset_two_name"]}
Market: {$result["step_three"]["amountAssetName"]} -> {$result["step_three"]["priceAssetName"]} ({$result["step_three"]["orderType"]})
Position: $step_three_dom_position
Sell: " . $this->format($stepThree_sell_price) . " (" . $this->format($stepThree_sell_amount) . ")
Buy: " . $this->format($stepThree_buy_price) . " (" . $this->format($stepThree_buy_amount) . ")
Result: -" . $this->format($result["step_two"]["result"]) . " {$combinations["asset_two_name"]}, +" . $this->format($result["step_three"]["result"]) . " {$combinations["main_asset_name"]}
0) ? "green" : "red;") . ";\">" . $this->format($result["result"]) . " {$combinations["main_asset_name"]}
' . $reason . '
 
'; - - return $html; - } - - public function format($float, $decimals = 8) - { - return number_format($float, $decimals, ".", ""); - } - - public function getRate($symbol, $price) - { - - list($first_asset, $second_asset) = explode('/', $symbol); - - if ($first_asset == MAIN_ASSET || $second_asset == MAIN_ASSET) { - - $condition = ($first_asset == MAIN_ASSET); - - return [ - $condition ? $second_asset : $first_asset, - $condition ? $price : round(1 / $price, 2) - ]; - - } - - return ['', 0]; - - } - - public function getRates($rates) - { - - if (!empty($rates)) { - - $rate_courses = []; - - foreach (ASSETS as $asset) { - - foreach (COURSE as $course) { - - $pair = $asset . '/' . $course; - - if ($asset != $course) { - - if (isset($rates[$pair])) $rate_courses[$pair] = $rates[$pair]; - elseif (isset($rates[$course . '/' . $asset])) $rate_courses[$pair] = 1 / $rates[$course . '/' . $asset]; - else { - - $this->mergeAsset($rate_courses, $rates, $asset, $course, $pair); - - } - - } else { - $rate_courses[$pair] = 1; - } - - } - - } - - $zero_courses = array_filter($rate_courses, function ($v) { - return $v == 0; - }, ARRAY_FILTER_USE_BOTH); - - foreach ($zero_courses as $key_p => $zero_course) { - - $delete = COURSE; - $delete[] = '/'; - - $asset = str_replace($delete, '', $key_p); - $course = str_replace(['/', $asset], '', $key_p); - - $this->mergeAsset($rate_courses, $rate_courses, $asset, $course, $key_p); - - } - - foreach ($rate_courses as $key => $rate_course) { - - list($asset, $course) = explode('/', $key); - - $final[$asset][$course] = $rate_course; - - } - - } - - return $final ?? []; - - } - - private function mergeAsset(&$rate_courses, $rates, $asset, $course, $pair) - { - - $common_pairs = array_filter($rates, function ($v, $k) use ($asset) { - return is_int(strpos($k, $asset)) && $v != 0; - }, ARRAY_FILTER_USE_BOTH); - - if (!empty($common_pairs)) { - - foreach ($common_pairs as $key => $common_pair) { - - $k1 = 0; - $k2 = 0; - - $find_asset = str_replace(['/', $asset], '', $key); - - if (isset($rates[$course . '/' . $find_asset]) && $rates[$course . '/' . $find_asset] != 0) { - - $k1 = $common_pair; - - if (isset($common_pairs[$asset . '/' . $find_asset])) $k2 = 1 / $rates[$course . '/' . $find_asset]; - elseif (isset($common_pairs[$find_asset . '/' . $asset])) $k2 = $rates[$course . '/' . $find_asset]; - - } elseif (isset($rates[$find_asset . '/' . $course]) && $rates[$find_asset . '/' . $course] != 0) { - - $k1 = 1 / $common_pair; - - if (isset($common_pairs[$asset . '/' . $find_asset])) $k2 = 1 / $rates[$find_asset . '/' . $course]; - elseif (isset($common_pairs[$find_asset . '/' . $asset])) $k2 = $rates[$find_asset . '/' . $course]; - - } - - if ($k1 != 0 && $k2 != 0) { - - $rate_courses[$pair] = $k1 * $k2; - - break; - - } - - } - - $rate_courses[$pair] = $rate_courses[$pair] ?? 0; - - } else $rate_courses[$pair] = 0; - } - - public function getKeys($exchanges, $assets) - { - - - - } - -} \ No newline at end of file diff --git a/test/getResult/Result b/test/getResult/Result deleted file mode 100644 index 99cada7..0000000 --- a/test/getResult/Result +++ /dev/null @@ -1,69 +0,0 @@ -Array -( - [result] => -2.77E-6 - [status] => - [reason] => Not enough balance (step 2, sell). Asset: ETH (0.00023513 < 0.0086224285535777) - [deal_amount] => 0.0006429 - [main_asset_name] => BTC - [asset_one_name] => ETH - [asset_two_name] => USDT - [step_one] => Array - ( - [orderType] => buy - [dom_position] => 1 - [amountAsset] => ETH - [priceAsset] => BTC - [amountAssetName] => ETH - [priceAssetName] => BTC - [amount] => 0.0086414240486167 - [price] => 0.07439746 - [result] => 0.0086224285535777 - ) - - [step_two] => Array - ( - [orderType] => sell - [dom_position] => 1 - [amountAsset] => ETH - [priceAsset] => USDT - [amountAssetName] => ETH - [priceAssetName] => USDT - [amount] => 0.0086224285535777 - [price] => 2925.3012 - [result] => 25.1979773941 - ) - - [step_three] => Array - ( - [orderType] => buy - [dom_position] => 1 - [amountAsset] => BTC - [priceAsset] => USDT - [amountAssetName] => BTC - [priceAssetName] => USDT - [amount] => 0.00064077288992953 - [price] => 39324.35 - [result] => 0.0006401321170396 - ) - - [expected_data] => Array - ( - [fee] => 0.05 - [stepOne_sell_price] => 0.07431 - [stepOne_sell_amount] => 3.1505174 - [stepOne_buy_price] => 0.07439746 - [stepOne_buy_amount] => 0.00086418 - [stepTwo_sell_price] => 2925.3012 - [stepTwo_sell_amount] => 0.01883708 - [stepTwo_buy_price] => 2925.9623 - [stepTwo_buy_amount] => 0.10254971 - [stepThree_sell_price] => 39319.32 - [stepThree_sell_amount] => 0.029533 - [stepThree_buy_price] => 39324.35 - [stepThree_buy_amount] => 0.00405 - [max_deal_amount] => 0.03 - ) - -) - -Process finished with exit code 0 diff --git a/test/getResult/botFromServer.php b/test/getResult/botFromServer.php deleted file mode 100644 index d4e7f16..0000000 --- a/test/getResult/botFromServer.php +++ /dev/null @@ -1,87 +0,0 @@ - 0, "step_one" => 0, "step_two" => 0, "step_three" => 0]; - -$reason = ""; - -$depth = 0; - -$orderbook_info = [ - 'step_one' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], - 'step_two' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], - 'step_three' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], -]; - -// DOM calculation -while (1) { - - ###### - //Step 1 - if ($deal_amount["step_one"] < $max_deal_amount) { - - $orderbook_info['step_one']['buy_price'] = (isset($orderbook["step_one"]["asks"][$orderbook_info['step_one']['dom_position']]["0"])) ? $orderbook["step_one"]["asks"][$orderbook_info['step_one']['dom_position']]["0"] : 0; - $orderbook_info['step_one']['sell_price'] = (isset($orderbook["step_one"]["bids"][$orderbook_info['step_one']['dom_position']]["0"])) ? $orderbook["step_one"]["bids"][$orderbook_info['step_one']['dom_position']]["0"] : 0; - - $orderbook_info['step_one']['buy_amount'] += (isset($orderbook["step_one"]["asks"][$orderbook_info['step_one']['dom_position']]["1"])) ? $orderbook["step_one"]["asks"][$orderbook_info['step_one']['dom_position']]["1"] : 0; - $orderbook_info['step_one']['sell_amount'] += (isset($orderbook["step_one"]["bids"][$orderbook_info['step_one']['dom_position']]["1"])) ? $orderbook["step_one"]["bids"][$orderbook_info['step_one']['dom_position']]["1"] : 0; - - $orderbook_info['step_one']['dom_position']++; - - } - - //Step 2 - if ($deal_amount["step_two"] < $max_deal_amount) { - - $orderbook_info['step_two']['buy_price'] = (isset($orderbook["step_two"]["asks"][$orderbook_info['step_two']['dom_position']]["0"])) ? $orderbook["step_two"]["asks"][$orderbook_info['step_two']['dom_position']]["0"] : 0; - $orderbook_info['step_two']['sell_price'] = (isset($orderbook["step_two"]["bids"][$orderbook_info['step_two']['dom_position']]["0"])) ? $orderbook["step_two"]["bids"][$orderbook_info['step_two']['dom_position']]["0"] : 0; - - $orderbook_info['step_two']['buy_amount'] += (isset($orderbook["step_two"]["asks"][$orderbook_info['step_two']['dom_position']]["1"])) ? $orderbook["step_two"]["asks"][$orderbook_info['step_two']['dom_position']]["1"] : 0; - $orderbook_info['step_two']['sell_amount'] += (isset($orderbook["step_two"]["bids"][$orderbook_info['step_two']['dom_position']]["1"])) ? $orderbook["step_two"]["bids"][$orderbook_info['step_two']['dom_position']]["1"] : 0; - - $orderbook_info['step_two']['dom_position']++; - - } - - //Step 3 - if ($deal_amount["step_three"] < $max_deal_amount) { - - $orderbook_info['step_three']['buy_price'] = (isset($orderbook["step_three"]["asks"][$orderbook_info['step_three']['dom_position']]["0"])) ? $orderbook["step_three"]["asks"][$orderbook_info['step_three']['dom_position']]["0"] : 0; - $orderbook_info['step_three']['sell_price'] = (isset($orderbook["step_three"]["bids"][$orderbook_info['step_three']['dom_position']]["0"])) ? $orderbook["step_three"]["bids"][$orderbook_info['step_three']['dom_position']]["0"] : 0; - - $orderbook_info['step_three']['buy_amount'] += (isset($orderbook["step_three"]["asks"][$orderbook_info['step_three']['dom_position']]["1"])) ? $orderbook["step_three"]["asks"][$orderbook_info['step_three']['dom_position']]["1"] : 0; - $orderbook_info['step_three']['sell_amount'] += (isset($orderbook["step_three"]["bids"][$orderbook_info['step_three']['dom_position']]["1"])) ? $orderbook["step_three"]["bids"][$orderbook_info['step_three']['dom_position']]["1"] : 0; - - $orderbook_info['step_three']['dom_position']++; - - } - ###### - - $deal_amount = $bot->DealAmount($max_deal_amount, $combinations[$i]["step_one_amount_decimals"], $combinations[$i]["main_asset_name"], $stepOne_amountAsset, $stepOne_priceAsset, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepThree_amountAsset, $stepThree_priceAsset, $orderbook_info['step_one']['buy_price'], $orderbook_info['step_one']['sell_price'], $orderbook_info['step_one']['buy_amount'], $orderbook_info['step_one']['sell_amount'], $orderbook_info['step_two']['buy_price'], $orderbook_info['step_two']['sell_price'], $orderbook_info['step_two']['buy_amount'], $orderbook_info['step_two']['sell_amount'], $orderbook_info['step_three']['buy_price'], $orderbook_info['step_three']['sell_price'], $orderbook_info['step_three']['buy_amount'], $orderbook_info['step_three']['sell_amount']); - - $result = $bot->getResult($orderbook, $deal_amount["min"], $rater, FEE_TAKER, $combinations[$i], $stepOne_amountAsset, $stepOne_amount_decimals, $orderbook_info['step_one']['sell_price'], $stepOne_price_decimals, $orderbook_info['step_one']['buy_price'], $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $orderbook_info['step_two']['sell_price'], $stepTwo_price_decimals, $orderbook_info['step_two']['buy_price'], $stepThree_amountAsset, $orderbook_info['step_three']['sell_price'], $stepThree_price_decimals, $orderbook_info['step_three']['buy_price'], $stepThree_amount_decimals, $orderbook_info['step_one']['dom_position'], $orderbook_info['step_two']['dom_position'], $orderbook_info['step_three']['dom_position'], $orderbook_info['step_one']['sell_amount'], $orderbook_info['step_one']['buy_amount'], $orderbook_info['step_two']['sell_amount'], $orderbook_info['step_two']['buy_amount'], $orderbook_info['step_three']['sell_amount'], $orderbook_info['step_three']['buy_amount'], $max_deal_amount); - - - if ($result["status"] === true && $result["result_in_main_asset"] > MIN_PROFIT) { - $plus_results[$i] = $result; - $plus_results[$i]["info"] = $combinations[$i]; - } - -} diff --git a/test/getResult/botFromServerVersion0.php b/test/getResult/botFromServerVersion0.php deleted file mode 100644 index b021998..0000000 --- a/test/getResult/botFromServerVersion0.php +++ /dev/null @@ -1,263 +0,0 @@ - API_KEY, "secret" => API_SECRET, "timeout" => API_TIMEOUT, "enableRateLimit" => API_RATE_LIMIT]); - -$bot = new Main(); - -$db = $bot->connectToDB(MYSQL_HOST, MYSQL_PORT, MYSQL_DB, MYSQL_USER, MYSQL_PASSWORD, true); - -// Pause between attempts -$pause = BOT_SLEEP * 1000000; - -//$bot->сheckExistenceTables($db); die(); - -$date = date("d.m.y H:i:s", time()); - -// Get all markets -$markets = $bot->getMarkets($exchange, ASSETS); - -if ($markets === false) die("Failed to get markets") . PHP_EOL; - -// Get symbols array -$symbols = array_keys($markets); - -// Pause between attempts -$pause = BOT_SLEEP * 1000000; - -$best_place_step_one = $best_place_step_two = $best_place_step_three = [0, 0]; - -// Get bot array -$combinations = json_decode(file_get_contents(__DIR__ . '/cache/triangles.json'), true); -$combinations_count = count($combinations); - -// Run daemon -while (1) { - - $exchange = new $exchange_class (["apiKey" => API_KEY, "secret" => API_SECRET, "timeout" => API_TIMEOUT, "enableRateLimit" => API_RATE_LIMIT]); - - // Get rater and rater - $rater = $bot->getRaterData($db); - - // Total time countdown start - $total_time_start = microtime(true); - - // Market data fetching time countdown start - $market_data_time_start = microtime(true); - -// $markets_data = $bot->getOrderbooks($exchange, $symbols, MAX_DEPTH); - - $markets_data[$symbols["0"]] = $bot->getOrderbook($exchange, $symbols["0"], $markets, MAX_DEPTH); - $markets_data[$symbols["1"]] = $bot->getOrderbook($exchange, $symbols["1"], $markets,MAX_DEPTH); - $markets_data[$symbols["2"]] = $bot->getOrderbook($exchange, $symbols["2"], $markets,MAX_DEPTH); - - $market_data_time = round(microtime(true) - $market_data_time_start, 3); - - $operations_count = 0; - $deal_time = 0; - $result = 0; - $orderbook = []; - $plus_results = []; - - if (DEBUG_STATUS === true) $html = $bot->CalcVisualizationHeader(); - - $cycle_time_start = microtime(true); - - for ($i = 0; $i < $combinations_count; $i++) { - - if (isset($markets_data[$combinations[$i]["step_one_symbol"]])) $orderbook["step_one"] = $markets_data[$combinations[$i]["step_one_symbol"]]; - else continue; - - if (isset($markets_data[$combinations[$i]["step_two_symbol"]])) $orderbook["step_two"] = $markets_data[$combinations[$i]["step_two_symbol"]]; - else continue; - - if (isset($markets_data[$combinations[$i]["step_three_symbol"]])) $orderbook["step_three"] = $markets_data[$combinations[$i]["step_three_symbol"]]; - else continue; - - // Step 1 constants - $timestamp[0] = $orderbook["step_one"]["timestamp"]; - $stepOne_priceAsset = $orderbook["step_one"]["quote"]; - $stepOne_amountAsset = $orderbook["step_one"]["base"]; - - $stepOne_amount_decimals = $combinations[$i]["step_one_amount_decimals"]; - $stepOne_price_decimals = $combinations[$i]["step_one_price_decimals"]; - - // Step 2 constants - $timestamp[1] = $orderbook["step_two"]["timestamp"]; - $stepTwo_amountAsset = $orderbook["step_two"]["base"]; - $stepTwo_priceAsset = $orderbook["step_two"]["quote"]; - - $stepTwo_amount_decimals = $combinations[$i]["step_two_amount_decimals"]; - $stepTwo_price_decimals = $combinations[$i]["step_two_price_decimals"]; - - // Step 3 constants - $timestamp[2] = $orderbook["step_three"]["timestamp"]; - $stepThree_amountAsset = $orderbook["step_three"]["base"]; - $stepThree_priceAsset = $orderbook["step_three"]["quote"]; - - $stepThree_amount_decimals = $combinations[$i]["step_three_amount_decimals"]; - $stepThree_price_decimals = $combinations[$i]["step_three_price_decimals"]; - - $max_deal_amount = ($combinations[$i]["main_asset_name"] === MAIN_ASSET) ? DEAL_AMOUNT : round($rater[$combinations[$i]["main_asset_name"]]["rate"] * DEAL_AMOUNT, $combinations[$i]["step_one_amount_decimals"]); - - $step_one_dom_position = $step_two_dom_position = $step_three_dom_position = 0; - - $stepOne_buy_price = $stepOne_sell_price = $stepOne_buy_amount = $stepOne_sell_amount = 0; - $stepTwo_buy_price = $stepTwo_sell_price = $stepTwo_buy_amount = $stepTwo_sell_amount = 0; - $stepThree_buy_price = $stepThree_sell_price = $stepThree_buy_amount = $stepThree_sell_amount = 0; - - $deal_amount = ["min" => 0, "step_one" => 0, "step_two" => 0, "step_three" => 0]; - - $reason = ""; - - $depth = 0; - - // DOM calculation - while (1) { - - ###### - //Step 1 - if ($bot->format($deal_amount["step_one"]) < $bot->format($max_deal_amount)) { - - $stepOne_buy_price = (isset($orderbook["step_one"]["asks"][$step_one_dom_position]["0"])) ? $orderbook["step_one"]["asks"][$step_one_dom_position]["0"] : 0; - $stepOne_sell_price = (isset($orderbook["step_one"]["bids"][$step_one_dom_position]["0"])) ? $orderbook["step_one"]["bids"][$step_one_dom_position]["0"] : 0; - - $stepOne_buy_amount += (isset($orderbook["step_one"]["asks"][$step_one_dom_position]["1"])) ? $orderbook["step_one"]["asks"][$step_one_dom_position]["1"] : 0; - $stepOne_sell_amount += (isset($orderbook["step_one"]["bids"][$step_one_dom_position]["1"])) ? $orderbook["step_one"]["bids"][$step_one_dom_position]["1"] : 0; - - $step_one_dom_position++; - } - - //Step 2 - if ($bot->format($deal_amount["step_two"]) < $bot->format($max_deal_amount)) { - - $stepTwo_buy_price = (isset($orderbook["step_two"]["asks"][$step_two_dom_position]["0"])) ? $orderbook["step_two"]["asks"][$step_two_dom_position]["0"] : 0; - $stepTwo_sell_price = (isset($orderbook["step_two"]["bids"][$step_two_dom_position]["0"])) ? $orderbook["step_two"]["bids"][$step_two_dom_position]["0"] : 0; - - $stepTwo_buy_amount += (isset($orderbook["step_two"]["asks"][$step_two_dom_position]["1"])) ? $orderbook["step_two"]["asks"][$step_two_dom_position]["1"] : 0; - $stepTwo_sell_amount += (isset($orderbook["step_two"]["bids"][$step_two_dom_position]["1"])) ? $orderbook["step_two"]["bids"][$step_two_dom_position]["1"] : 0; - - $step_two_dom_position++; - } - - //Step 3 - if ($bot->format($deal_amount["step_three"]) < $bot->format($max_deal_amount)) { - - $stepThree_buy_price = (isset($orderbook["step_three"]["asks"][$step_three_dom_position]["0"])) ? $orderbook["step_three"]["asks"][$step_three_dom_position]["0"] : 0; - $stepThree_sell_price = (isset($orderbook["step_three"]["bids"][$step_three_dom_position]["0"])) ? $orderbook["step_three"]["bids"][$step_three_dom_position]["0"] : 0; - - $stepThree_buy_amount += (isset($orderbook["step_three"]["asks"][$step_three_dom_position]["1"])) ? $orderbook["step_three"]["asks"][$step_three_dom_position]["1"] : 0; - $stepThree_sell_amount += (isset($orderbook["step_three"]["bids"][$step_three_dom_position]["1"])) ? $orderbook["step_three"]["bids"][$step_three_dom_position]["1"] : 0; - - $step_three_dom_position++; - } - ###### - - $deal_amount = $bot->DealAmount($max_deal_amount, $combinations[$i]["step_one_amount_decimals"], $combinations[$i]["main_asset_name"], $stepOne_amountAsset, $stepOne_priceAsset, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepThree_amountAsset, $stepThree_priceAsset, $stepOne_buy_price, $stepOne_sell_price, $stepOne_buy_amount, $stepOne_sell_amount, $stepTwo_buy_price, $stepTwo_sell_price, $stepTwo_buy_amount, $stepTwo_sell_amount, $stepThree_buy_price, $stepThree_sell_price, $stepThree_buy_amount, $stepThree_sell_amount); - - $result = $bot->getResult($orderbook, $deal_amount["min"], $rater, FEE_TAKER, $combinations[$i], $stepOne_amountAsset, $stepOne_amount_decimals, $stepOne_sell_price, $stepOne_price_decimals, $stepOne_buy_price, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $stepTwo_sell_price, $stepTwo_price_decimals, $stepTwo_buy_price, $stepThree_amountAsset, $stepThree_sell_price, $stepThree_price_decimals, $stepThree_buy_price, $stepThree_amount_decimals, $step_one_dom_position, $step_two_dom_position, $step_three_dom_position, $stepOne_sell_amount, $stepOne_buy_amount, $stepTwo_sell_amount, $stepTwo_buy_amount, $stepThree_sell_amount, $stepThree_buy_amount, $max_deal_amount); - - if ($result["status"] === false) { - $reason = $result["reason"]; - break; - } - - $operations_count++; - - if ($result["status"] === true && $result["result_in_main_asset"] > MIN_PROFIT) { - $plus_results[$i] = $result; - $plus_results[$i]["info"] = $combinations[$i]; - } - - if (DEBUG_STATUS === true) $html .= $bot->CalcVisualizationBody($operations_count, $step_one_dom_position, $step_two_dom_position, $step_three_dom_position, $result, $max_deal_amount, $deal_amount["min"], FEE_TAKER, $combinations[$i], $stepOne_sell_amount, $stepTwo_sell_amount, $stepOne_buy_amount, $stepTwo_buy_amount, $stepThree_buy_amount, $stepThree_sell_amount, $stepOne_amountAsset, $stepOne_amount_decimals, $stepOne_sell_price, $stepOne_price_decimals, $stepOne_buy_price, $stepTwo_amountAsset, $stepTwo_priceAsset, $stepTwo_amount_decimals, $stepTwo_sell_price, $stepTwo_price_decimals, $stepTwo_buy_price, $stepThree_amountAsset, $stepThree_sell_price, $stepThree_price_decimals, $stepThree_buy_price, $stepThree_amount_decimals); - - if ($depth++ > MAX_DEPTH) { - $reason = "Maximum depth"; - break; - } elseif ($combinations[$i]["step_one_order_type"] === "sell" && !isset($orderbook["step_one"]["bids"][$step_one_dom_position]["1"])) { - $reason = "End of DOM (step 1, bids, position $step_one_dom_position). Pair: $stepOne_amountAsset/$stepOne_priceAsset"; - break; - } elseif ($combinations[$i]["step_one_order_type"] === "buy" && !isset($orderbook["step_one"]["asks"][$step_one_dom_position]["1"])) { - $reason = "End of DOM (step 1, asks, position $step_one_dom_position). Pair: $stepOne_amountAsset/$stepOne_priceAsset"; - break; - } elseif ($combinations[$i]["step_two_order_type"] === "sell" && !isset($orderbook["step_two"]["bids"][$step_two_dom_position]["1"])) { - $reason = "End of DOM (step 2, bids, position $step_two_dom_position). Pair: $stepTwo_amountAsset/$stepTwo_priceAsset, amount: $stepTwo_sell_amount, price: $stepTwo_sell_price."; - break; - } elseif ($combinations[$i]["step_two_order_type"] === "buy" && !isset($orderbook["step_two"]["asks"][$step_two_dom_position]["1"])) { - $reason = "End of DOM (step 2, asks, position $step_two_dom_position). Pair: $stepTwo_amountAsset/$stepTwo_priceAsset, amount: $stepTwo_buy_amount, price: $stepTwo_buy_price."; - break; - } elseif ($combinations[$i]["step_three_order_type"] === "sell" && !isset($orderbook["step_three"]["bids"][$step_three_dom_position]["1"])) { - $reason = "End of DOM (step 3, bids, position $step_three_dom_position). Pair: $stepThree_amountAsset/$stepThree_priceAsset"; - break; - } elseif ($combinations[$i]["step_three_order_type"] === "buy" && !isset($orderbook["step_three"]["asks"][$step_three_dom_position]["1"])) { - $reason = "End of DOM (step 3, asks, position $step_three_dom_position). Pair: $stepThree_amountAsset/$stepThree_priceAsset"; - break; - } elseif ($bot->format($deal_amount["min"]) >= $bot->format($max_deal_amount)) { - $reason = "Maximum reached"; - break; - } - - } - - if (DEBUG_STATUS === true) $html .= $bot->CalcVisualizationDelimeter($reason); - } - - $cycle_time = round(microtime(true) - $cycle_time_start, 3); - - if (count($plus_results) > 0) { - - // Choosing the best result - $best_result = $bot->getBestResult($plus_results); - - if ($best_place_step_one === [$best_result["step_one"]["amount"], $best_result["step_one"]["price"]] && ((time() - $deal_time) < 2)) { - echo "Error: duplicate best place (step 1)" . PHP_EOL; - continue; - } elseif ($best_place_step_two === [$best_result["step_two"]["amount"], $best_result["step_two"]["price"]] && ((time() - $deal_time) < 2)) { - echo "Error: duplicate best place (step 2)" . PHP_EOL; - continue; - } elseif ($best_place_step_three === [$best_result["step_three"]["amount"], $best_result["step_three"]["price"]] && ((time() - $deal_time) < 2)) { - echo "Error: duplicate best place (step 3)" . PHP_EOL; - continue; - } - - // Orders execution time countdown start - $order_execution_time_start = microtime(true); - - // Make orders - $orders = $bot->makeParallelOrders($exchange, $best_result); - - // Orders execution time - $orders_execution_time = round(microtime(true) - $order_execution_time_start, 3); - - // Add expected result to DB and get last expected ID - $last_expected_id = $bot->addExpectedResultToDB($db, $best_result, $rater); - - // Add real results to DB - $add_real_orders = $bot->addRealResultToDB($db, $best_result, $orders, $rater, $last_expected_id, $orders_execution_time); - - echo "\$MONEY!\$ Time: $orders_execution_time s. | {$best_result["main_asset_name"]} -> {$best_result["asset_one_name"]} -> {$best_result["asset_two_name"]} | Deal amount: {$best_result["deal_amount"]} | RESULT: +" . $bot->format($best_result["result_in_main_asset"]) . " {$best_result["main_asset_name"]}" . PHP_EOL; - } - - if (DEBUG_STATUS === true) $html .= $bot->CalcVisualizationFooter(); - - if (DEBUG_STATUS === true) { - $index = fopen(__DIR__ . "/cache/index.html", "w"); - fwrite($index, $html); - fclose($index); - } - - $total_time = round(microtime(true) - $total_time_start, 3); - - echo "Fetched " . count($markets_data) . " out of " . count($symbols) . " responses in $market_data_time s., $operations_count operations in $cycle_time s., total: $total_time" . PHP_EOL; - - usleep($pause); -} - -$db == null; \ No newline at end of file diff --git a/test/getResult/dealAmount.txt b/test/getResult/dealAmount.txt deleted file mode 100644 index 4380c4b..0000000 --- a/test/getResult/dealAmount.txt +++ /dev/null @@ -1,39 +0,0 @@ -$deal_amount_input = [ - 0 => 0.03, - 1 => 8, - 2 => 'BTC', - 3 => 'BTC', - 4 => 'RUB', - 5 => 'USDT', - 6 => 'RUB', - 7 => 'BTC', - 8 => 'USDT', - 9 => 3375906.99, - 10 => 3368549.0, - 11 => 0.05637178, - 12 => 0.0219, - 13 => 82.981957, - 14 => 82.76, - 15 => 4.15993078, - 16 => 1.0, - 17 => 40719.07, - 18 => 40714.88, - 19 => 0.02683653, - 20 => 0.029559, -]; - -$deal_amount_output = [ - 'min' => 0.00786741, - 'step_one' => 0.04287027, - 'step_two' => 0.00786741, - 'step_three' => 0.1539469, -]; - - -Array -( - [min] => 0.00010248 - [step_one] => 0.0219 - [step_two] => 0.00010248 - [step_three] => 0.02691938 -) diff --git a/test/getResult/findParametersGetResult.php b/test/getResult/findParametersGetResult.php deleted file mode 100644 index a2aa12a..0000000 --- a/test/getResult/findParametersGetResult.php +++ /dev/null @@ -1,166 +0,0 @@ - 'BTC', - 'main_asset_amount_precision' => 0.00000001, - 'asset_one_name' => 'ETH', - 'asset_two_name' => 'USDT', - 'step_one_symbol' => 'ETH/BTC', - 'step_two_symbol' => 'ETH/USDT', - 'step_three_symbol' => 'BTC/USDT', -]; - -$orderbook = [ - 'step_one' => [ - 'bids' => [ - [0.07431, 3.1505174], - [0.0742405, 2.22], - [0.07421204, 0.0008692], - [0.07412322, 3.00182053], - [0.07412321, 4.32], - ], - 'asks' => [ - [0.07439746, 0.00086418], - [0.07448674, 0.00086371], - [0.07449799, 1.00026367], - [0.074498, 2.99999847], - [0.07451689, 0.98161981] - ], - 'symbol' => 'ETH/BTC', - 'limits' => [ - 'amount' => [ - 'min' => 0.0005, - 'max' => 5000.0, - ], - 'price' => [ - 'min' => 1.0E-8, - 'max' => 10.0, - ], - 'cost' => [ - 'min' => 0.0002, - 'max' => 100.0, - ] - ], - 'price_increment' => 0.00000001, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'ETH', - 'priceAsset' => 'BTC', - 'exchange' => 'binance', - 'fee' => 0.1 - ], - 'step_two' => [ - 'bids' => [ - [2925.3012, 0.01883708], - [2925.3011, 5.007], - [2925.3, 0.2], - [2925.2501, 0.056], - [2924.8584, 0.05260747] - ], - 'asks' => [ - [2925.9623, 0.10254971], - [2925.9624, 0.0549], - [2926.7999, 2.98116292], - [2926.8, 0.2], - [2926.957, 0.53547509] - ], - 'symbol' => 'ETH/USDT', - 'limits' => [ - 'amount' => [ - 'min' => 0.0005, - 'max' => 5000.0, - ], - 'price' => [ - 'min' => 0.01, - 'max' => 100000.0, - ], - 'cost' => [ - 'min' => 1.0, - 'max' => 500000.0 - ], - ], - 'price_increment' => 0.0001, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'ETH', - 'priceAsset' => 'USDT', - 'exchange' => 'exmo', - 'fee' => 0.1 - ], - 'step_three' => [ - 'bids' => [ - [39319.32, 0.029533], - [39318.0, 0.00408], - [39312.52, 0.00762934], - [39312.51, 0.2], - [39312.5, 0.01924316] - ], - 'asks' => [ - [39324.35, 0.00405], - [39327.03, 0.01270578], - [39327.15, 0.00145942], - [39331.0, 0.04], - [39331.12, 0.01270686] - ], - 'symbol' => 'BTC/USDT', - 'limits' => [ - 'amount' => [ - 'min' => 2.0E-5, - 'max' => 1000.0, - ], - 'price' => [ - 'min' => 0.01, - 'max' => 150000.0, - ], - 'cost' => [ - 'min' => 1.0, - 'max' => 500000.0, - ], - ], - 'price_increment' => 0.01, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'BTC', - 'priceAsset' => 'USDT', - 'exchange' => 'kuna', - 'fee' => 0.1 - ], -]; - -$balances = [ - 'BTC' => [ - 'free' => '0.51828021', - 'used' => '0.00000000', - 'total' => '0.51828021', - 'exchange' => 'binance' - ], - 'ETH' => [ - 'free' => '0.00023513', - 'used' => '0.00000000', - 'total' => '0.00023513', - 'exchange' => 'exmo' - ], - 'USDT' => [ - 'free' => '20.76792778', - 'used' => '0.00000000', - 'total' => '20.76792778', - 'exchange' => 'kuna' - ], -]; -// обновляемые данные - -$results = $bot->getResults($min_profit, $max_deal_amount, $max_depth, $combinations, $orderbook, $balances); - -print_r($results); diff --git a/test/getResult/first_getResult_parameter.txt b/test/getResult/first_getResult_parameter.txt deleted file mode 100644 index e69de29..0000000 diff --git a/test/getResult/getResult output.txt b/test/getResult/getResult output.txt deleted file mode 100644 index 9cb7e2f..0000000 --- a/test/getResult/getResult output.txt +++ /dev/null @@ -1,63 +0,0 @@ -array ( - 'result' => -4.3E-7, - 'result_in_main_asset' => -4.3E-7, - 'status' => true, - 'reason' => '', - 'deal_amount' => 6.451E-5, - 'main_asset_name' => 'BTC', - 'asset_one_name' => 'USDT', - 'asset_two_name' => 'GBP', - 'step_one' => - array ( - 'orderType' => 'sell', - 'dom_position' => 1, - 'amountAsset' => 'BTC', - 'priceAsset' => 'USDT', - 'amountAssetName' => 'BTC', - 'priceAssetName' => 'USDT', - 'amount' => 6.451E-5, - 'price' => 39308.0, - 'result' => 2.53449120046, - ), - 'step_two' => - array ( - 'orderType' => 'sell', - 'dom_position' => 1, - 'amountAsset' => 'USDT', - 'priceAsset' => 'GBP', - 'amountAssetName' => 'USDT', - 'priceAssetName' => 'GBP', - 'amount' => 2.53449120046, - 'price' => 0.76676104, - 'result' => 1.9423774341811906, - ), - 'step_three' => - array ( - 'orderType' => 'buy', - 'dom_position' => 1, - 'amountAsset' => 'BTC', - 'priceAsset' => 'GBP', - 'amountAssetName' => 'BTC', - 'priceAssetName' => 'GBP', - 'amount' => 6.411301218739644E-5, - 'price' => 30296.15, - 'result' => 6.408095568130274E-5, - ), - 'expected_data' => - array ( - 'fee' => 0.05, - 'stepOne_sell_price' => 39308.0, - 'stepOne_sell_amount' => 0.04, - 'stepOne_buy_price' => 39315.39, - 'stepOne_buy_amount' => 0.15, - 'stepTwo_sell_price' => 0.76676104, - 'stepTwo_sell_amount' => 2.53562839, - 'stepTwo_buy_price' => 0.76868019, - 'stepTwo_buy_amount' => 2.51572153, - 'stepThree_sell_price' => 30220.48, - 'stepThree_sell_amount' => 6.413E-5, - 'stepThree_buy_price' => 30296.15, - 'stepThree_buy_amount' => 6.425E-5, - 'max_deal_amount' => 0.03, - ), -) \ No newline at end of file diff --git a/test/getResult/getResult parameters.txt b/test/getResult/getResult parameters.txt deleted file mode 100644 index 53d9121..0000000 --- a/test/getResult/getResult parameters.txt +++ /dev/null @@ -1,3249 +0,0 @@ -array ( - 0 => - array ( - 'step_one' => - array ( - 'bids' => - array ( - 0 => - array ( - 0 => 0.07431, - 1 => 3.1505174, - ), - 1 => - array ( - 0 => 0.0742405, - 1 => 2.22, - ), - 2 => - array ( - 0 => 0.07421204, - 1 => 0.0008692, - ), - 3 => - array ( - 0 => 0.07418216, - 1 => 0.00134804, - ), - 4 => - array ( - 0 => 0.07412322, - 1 => 3.00182053, - ), - 5 => - array ( - 0 => 0.07412321, - 1 => 4.32, - ), - 6 => - array ( - 0 => 0.07412316, - 1 => 0.00087017, - ), - 7 => - array ( - 0 => 0.07410777, - 1 => 0.20656524, - ), - 8 => - array ( - 0 => 0.07410776, - 1 => 1.2458841, - ), - 9 => - array ( - 0 => 0.07403398, - 1 => 0.00086705, - ), - ), - 'asks' => - array ( - 0 => - array ( - 0 => 0.07439746, - 1 => 0.00086418, - ), - 1 => - array ( - 0 => 0.07448674, - 1 => 0.00086371, - ), - 2 => - array ( - 0 => 0.07449799, - 1 => 1.00026367, - ), - 3 => - array ( - 0 => 0.074498, - 1 => 2.99999847, - ), - 4 => - array ( - 0 => 0.07451689, - 1 => 0.98161981, - ), - 5 => - array ( - 0 => 0.0745169, - 1 => 2.22, - ), - 6 => - array ( - 0 => 0.07457597, - 1 => 0.00085854, - ), - 7 => - array ( - 0 => 0.07466541, - 1 => 0.86938165, - ), - 8 => - array ( - 0 => 0.07466542, - 1 => 4.32, - ), - 9 => - array ( - 0 => 0.07466543, - 1 => 0.0008581, - ), - ), - 'timestamp' => NULL, - 'datetime' => NULL, - 'nonce' => NULL, - 'symbol' => 'ETH/BTC', - 'base' => 'ETH', - 'quote' => 'BTC', - ), - 'step_two' => - array ( - 'bids' => - array ( - 0 => - array ( - 0 => 2925.3012, - 1 => 0.01883708, - ), - 1 => - array ( - 0 => 2925.3011, - 1 => 5.007, - ), - 2 => - array ( - 0 => 2925.3, - 1 => 0.2, - ), - 3 => - array ( - 0 => 2925.2501, - 1 => 0.056, - ), - 4 => - array ( - 0 => 2924.8584, - 1 => 0.05260747, - ), - 5 => - array ( - 0 => 2924.8483, - 1 => 0.48957723, - ), - 6 => - array ( - 0 => 2924.2157, - 1 => 0.50997628, - ), - 7 => - array ( - 0 => 2923.6996, - 1 => 0.1076, - ), - 8 => - array ( - 0 => 2923.5046, - 1 => 0.48957723, - ), - 9 => - array ( - 0 => 2922.9592, - 1 => 0.00086294, - ), - ), - 'asks' => - array ( - 0 => - array ( - 0 => 2925.9623, - 1 => 0.10254971, - ), - 1 => - array ( - 0 => 2925.9624, - 1 => 0.0549, - ), - 2 => - array ( - 0 => 2926.7999, - 1 => 2.98116292, - ), - 3 => - array ( - 0 => 2926.8, - 1 => 0.2, - ), - 4 => - array ( - 0 => 2926.957, - 1 => 0.53547509, - ), - 5 => - array ( - 0 => 2927.06, - 1 => 0.89, - ), - 6 => - array ( - 0 => 2927.5436, - 1 => 0.50487652, - ), - 7 => - array ( - 0 => 2928.3899, - 1 => 0.0562, - ), - 8 => - array ( - 0 => 2928.39, - 1 => 3.65, - ), - 9 => - array ( - 0 => 2928.9431, - 1 => 5.007, - ), - ), - 'timestamp' => NULL, - 'datetime' => NULL, - 'nonce' => NULL, - 'symbol' => 'ETH/USDT', - 'base' => 'ETH', - 'quote' => 'USDT', - ), - 'step_three' => - array ( - 'bids' => - array ( - 0 => - array ( - 0 => 39319.32, - 1 => 0.029533, - ), - 1 => - array ( - 0 => 39318.0, - 1 => 0.00408, - ), - 2 => - array ( - 0 => 39312.52, - 1 => 0.00762934, - ), - 3 => - array ( - 0 => 39312.51, - 1 => 0.2, - ), - 4 => - array ( - 0 => 39312.5, - 1 => 0.01924316, - ), - 5 => - array ( - 0 => 39305.0, - 1 => 0.0001155, - ), - 6 => - array ( - 0 => 39303.24, - 1 => 0.01817409, - ), - 7 => - array ( - 0 => 39298.7, - 1 => 0.0731, - ), - 8 => - array ( - 0 => 39295.74, - 1 => 0.00803, - ), - 9 => - array ( - 0 => 39290.67, - 1 => 0.21224416, - ), - ), - 'asks' => - array ( - 0 => - array ( - 0 => 39324.35, - 1 => 0.00405, - ), - 1 => - array ( - 0 => 39327.03, - 1 => 0.01270578, - ), - 2 => - array ( - 0 => 39327.15, - 1 => 0.00145942, - ), - 3 => - array ( - 0 => 39331.0, - 1 => 0.04, - ), - 4 => - array ( - 0 => 39331.12, - 1 => 0.01270686, - ), - 5 => - array ( - 0 => 39337.01, - 1 => 0.030137, - ), - 6 => - array ( - 0 => 39339.02, - 1 => 0.01942134, - ), - 7 => - array ( - 0 => 39340.54, - 1 => 0.00768, - ), - 8 => - array ( - 0 => 39357.48, - 1 => 0.01835227, - ), - 9 => - array ( - 0 => 39360.59, - 1 => 0.15, - ), - ), - 'timestamp' => NULL, - 'datetime' => NULL, - 'nonce' => NULL, - 'symbol' => 'BTC/USDT', - 'base' => 'BTC', - 'quote' => 'USDT', - ), - ), - 1 => - array ( - 'BTC/USD' => - array ( - 'id' => 'BTC_USD', - 'symbol' => 'BTC/USD', - 'base' => 'BTC', - 'quote' => 'USD', - 'baseId' => 'BTC', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 150000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '1', - 'max_price' => '150000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BTC/EUR' => - array ( - 'id' => 'BTC_EUR', - 'symbol' => 'BTC/EUR', - 'base' => 'BTC', - 'quote' => 'EUR', - 'baseId' => 'BTC', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 150000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '1', - 'max_price' => '150000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BTC/GBP' => - array ( - 'id' => 'BTC_GBP', - 'symbol' => 'BTC/GBP', - 'base' => 'BTC', - 'quote' => 'GBP', - 'baseId' => 'BTC', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 150000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '1', - 'max_price' => '150000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BTC/UAH' => - array ( - 'id' => 'BTC_UAH', - 'symbol' => 'BTC/UAH', - 'base' => 'BTC', - 'quote' => 'UAH', - 'baseId' => 'BTC', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 20000000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '1', - 'max_price' => '20000000', - 'max_amount' => '15000000', - 'min_amount' => '10', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BTC/USDT' => - array ( - 'id' => 'BTC_USDT', - 'symbol' => 'BTC/USDT', - 'base' => 'BTC', - 'quote' => 'USDT', - 'baseId' => 'BTC', - 'quoteId' => 'USDT', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 150000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '0.01', - 'max_price' => '150000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 2, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'ETH/USD' => - array ( - 'id' => 'ETH_USD', - 'symbol' => 'ETH/USD', - 'base' => 'ETH', - 'quote' => 'USD', - 'baseId' => 'ETH', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '100000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'XRP/USD' => - array ( - 'id' => 'XRP_USD', - 'symbol' => 'XRP/USD', - 'base' => 'XRP', - 'quote' => 'USD', - 'baseId' => 'XRP', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 0.001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.001, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/USD' => - array ( - 'id' => 'BCH_USD', - 'symbol' => 'BCH/USD', - 'base' => 'BCH', - 'quote' => 'USD', - 'baseId' => 'BCH', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 30000.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.00000001', - 'max_price' => '30000', - 'max_amount' => '500000', - 'min_amount' => '0.0001', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/USD' => - array ( - 'id' => 'LTC_USD', - 'symbol' => 'LTC/USD', - 'base' => 'LTC', - 'quote' => 'USD', - 'baseId' => 'LTC', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 10000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.01', - 'max_price' => '10000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'TRX/USD' => - array ( - 'id' => 'TRX_USD', - 'symbol' => 'TRX/USD', - 'base' => 'TRX', - 'quote' => 'USD', - 'baseId' => 'TRX', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 25.0, - 'max' => 50000000.0, - ), - 'price' => - array ( - 'min' => 0.0001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '25', - 'max_quantity' => '50000000', - 'min_price' => '0.0001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.01', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/RUB' => - array ( - 'id' => 'BCH_RUB', - 'symbol' => 'BCH/RUB', - 'base' => 'BCH', - 'quote' => 'RUB', - 'baseId' => 'BCH', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 2000000.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.00000001', - 'max_price' => '2000000', - 'max_amount' => '50000000', - 'min_amount' => '0.0001', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/EUR' => - array ( - 'id' => 'BCH_EUR', - 'symbol' => 'BCH/EUR', - 'base' => 'BCH', - 'quote' => 'EUR', - 'baseId' => 'BCH', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 300000.0, - ), - 'cost' => - array ( - 'min' => 3.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '300000', - 'max_amount' => '500000', - 'min_amount' => '3', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/UAH' => - array ( - 'id' => 'BCH_UAH', - 'symbol' => 'BCH/UAH', - 'base' => 'BCH', - 'quote' => 'UAH', - 'baseId' => 'BCH', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.1, - 'max' => 1000000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.1', - 'max_price' => '1000000', - 'max_amount' => '15000000', - 'min_amount' => '10', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/GBP' => - array ( - 'id' => 'BCH_GBP', - 'symbol' => 'BCH/GBP', - 'base' => 'BCH', - 'quote' => 'GBP', - 'baseId' => 'BCH', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 50000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '50000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'BCH/BTC' => - array ( - 'id' => 'BCH_BTC', - 'symbol' => 'BCH/BTC', - 'base' => 'BCH', - 'quote' => 'BTC', - 'baseId' => 'BCH', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 5.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.00000001', - 'max_price' => '5', - 'max_amount' => '100', - 'min_amount' => '0.0001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'BCH/ETH' => - array ( - 'id' => 'BCH_ETH', - 'symbol' => 'BCH/ETH', - 'base' => 'BCH', - 'quote' => 'ETH', - 'baseId' => 'BCH', - 'quoteId' => 'ETH', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-7, - 'max' => 200.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 5000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.0000001', - 'max_price' => '200', - 'max_amount' => '5000', - 'min_amount' => '0.0001', - 'price_precision' => 6, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'BCH/USDT' => - array ( - 'id' => 'BCH_USDT', - 'symbol' => 'BCH/USDT', - 'base' => 'BCH', - 'quote' => 'USDT', - 'baseId' => 'BCH', - 'quoteId' => 'USDT', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.003, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 5000.0, - ), - 'cost' => - array ( - 'min' => 3.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.003', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '5000', - 'max_amount' => '500000', - 'min_amount' => '3', - 'price_precision' => 4, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'BTC/RUB' => - array ( - 'id' => 'BTC_RUB', - 'symbol' => 'BTC/RUB', - 'base' => 'BTC', - 'quote' => 'RUB', - 'baseId' => 'BTC', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 2.0E-5, - 'max' => 1000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 20000000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.00002', - 'max_quantity' => '1000', - 'min_price' => '1', - 'max_price' => '20000000', - 'max_amount' => '50000000', - 'min_amount' => '10', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'ETH/USDT' => - array ( - 'id' => 'ETH_USDT', - 'symbol' => 'ETH/USDT', - 'base' => 'ETH', - 'quote' => 'USDT', - 'baseId' => 'ETH', - 'quoteId' => 'USDT', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '100000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 4, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'ETH/BTC' => - array ( - 'id' => 'ETH_BTC', - 'symbol' => 'ETH/BTC', - 'base' => 'ETH', - 'quote' => 'BTC', - 'baseId' => 'ETH', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 10.0, - ), - 'cost' => - array ( - 'min' => 0.0002, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.00000001', - 'max_price' => '10', - 'max_amount' => '100', - 'min_amount' => '0.0002', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'ETH/EUR' => - array ( - 'id' => 'ETH_EUR', - 'symbol' => 'ETH/EUR', - 'base' => 'ETH', - 'quote' => 'EUR', - 'baseId' => 'ETH', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '100000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'ETH/GBP' => - array ( - 'id' => 'ETH_GBP', - 'symbol' => 'ETH/GBP', - 'base' => 'ETH', - 'quote' => 'GBP', - 'baseId' => 'ETH', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '100000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'ETH/RUB' => - array ( - 'id' => 'ETH_RUB', - 'symbol' => 'ETH/RUB', - 'base' => 'ETH', - 'quote' => 'RUB', - 'baseId' => 'ETH', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 1000000.0, - ), - 'cost' => - array ( - 'min' => 80.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 2, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '1000000', - 'max_amount' => '50000000', - 'min_amount' => '80', - 'price_precision' => 2, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'ETH/UAH' => - array ( - 'id' => 'ETH_UAH', - 'symbol' => 'ETH/UAH', - 'base' => 'ETH', - 'quote' => 'UAH', - 'baseId' => 'ETH', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 1000000.0, - ), - 'cost' => - array ( - 'min' => 30.0, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.01', - 'max_price' => '1000000', - 'max_amount' => '15000000', - 'min_amount' => '30', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'ETH/LTC' => - array ( - 'id' => 'ETH_LTC', - 'symbol' => 'ETH/LTC', - 'base' => 'ETH', - 'quote' => 'LTC', - 'baseId' => 'ETH', - 'quoteId' => 'LTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.0005, - 'max' => 5000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.0005', - 'max_quantity' => '5000', - 'min_price' => '0.00000001', - 'max_price' => '100000', - 'max_amount' => '100000', - 'min_amount' => '0.01', - 'price_precision' => 6, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'EXM/BTC' => - array ( - 'id' => 'EXM_BTC', - 'symbol' => 'EXM/BTC', - 'base' => 'EXM', - 'quote' => 'BTC', - 'baseId' => 'EXM', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 100000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 1.0E-7, - 'max' => 1.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '100000000', - 'min_price' => '0.00000001', - 'max_price' => '1', - 'max_amount' => '1', - 'min_amount' => '0.0000001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'EXM/ETH' => - array ( - 'id' => 'EXM_ETH', - 'symbol' => 'EXM/ETH', - 'base' => 'EXM', - 'quote' => 'ETH', - 'baseId' => 'EXM', - 'quoteId' => 'ETH', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 100000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 5000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '100000000', - 'min_price' => '0.00000001', - 'max_price' => '1', - 'max_amount' => '5000', - 'min_amount' => '0.0001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'EXM/USD' => - array ( - 'id' => 'EXM_USD', - 'symbol' => 'EXM/USD', - 'base' => 'EXM', - 'quote' => 'USD', - 'baseId' => 'EXM', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 100000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '100000000', - 'min_price' => '0.00000001', - 'max_price' => '1000', - 'max_amount' => '100000', - 'min_amount' => '0.01', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'EXM/USDT' => - array ( - 'id' => 'EXM_USDT', - 'symbol' => 'EXM/USDT', - 'base' => 'EXM', - 'quote' => 'USDT', - 'baseId' => 'EXM', - 'quoteId' => 'USDT', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 100000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 100000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '100000000', - 'min_price' => '0.00000001', - 'max_price' => '1000', - 'max_amount' => '100000', - 'min_amount' => '0.01', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'EXM/RUB' => - array ( - 'id' => 'EXM_RUB', - 'symbol' => 'EXM/RUB', - 'base' => 'EXM', - 'quote' => 'RUB', - 'baseId' => 'EXM', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 100000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-6, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '100000000', - 'min_price' => '0.000001', - 'max_price' => '100000', - 'max_amount' => '50000000', - 'min_amount' => '1', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/RUB' => - array ( - 'id' => 'LTC_RUB', - 'symbol' => 'LTC/RUB', - 'base' => 'LTC', - 'quote' => 'RUB', - 'baseId' => 'LTC', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 200000.0, - ), - 'cost' => - array ( - 'min' => 75.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.01', - 'max_price' => '200000', - 'max_amount' => '50000000', - 'min_amount' => '75', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/EUR' => - array ( - 'id' => 'LTC_EUR', - 'symbol' => 'LTC/EUR', - 'base' => 'LTC', - 'quote' => 'EUR', - 'baseId' => 'LTC', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 10000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.01', - 'max_price' => '10000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/UAH' => - array ( - 'id' => 'LTC_UAH', - 'symbol' => 'LTC/UAH', - 'base' => 'LTC', - 'quote' => 'UAH', - 'baseId' => 'LTC', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 300000.0, - ), - 'cost' => - array ( - 'min' => 25.0, - 'max' => 18000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 4, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.01', - 'max_price' => '300000', - 'max_amount' => '18000000', - 'min_amount' => '25', - 'price_precision' => 4, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/GBP' => - array ( - 'id' => 'LTC_GBP', - 'symbol' => 'LTC/GBP', - 'base' => 'LTC', - 'quote' => 'GBP', - 'baseId' => 'LTC', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 10000.0, - ), - 'cost' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.01', - 'max_price' => '10000', - 'max_amount' => '500000', - 'min_amount' => '1', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'LTC/BTC' => - array ( - 'id' => 'LTC_BTC', - 'symbol' => 'LTC/BTC', - 'base' => 'LTC', - 'quote' => 'BTC', - 'baseId' => 'LTC', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.005, - 'max' => 10000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.005', - 'max_quantity' => '10000', - 'min_price' => '0.00000001', - 'max_price' => '1', - 'max_amount' => '100', - 'min_amount' => '0.0001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'TRX/EUR' => - array ( - 'id' => 'TRX_EUR', - 'symbol' => 'TRX/EUR', - 'base' => 'TRX', - 'quote' => 'EUR', - 'baseId' => 'TRX', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 25.0, - 'max' => 50000000.0, - ), - 'price' => - array ( - 'min' => 0.0001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '25', - 'max_quantity' => '50000000', - 'min_price' => '0.0001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.01', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'TRX/RUB' => - array ( - 'id' => 'TRX_RUB', - 'symbol' => 'TRX/RUB', - 'base' => 'TRX', - 'quote' => 'RUB', - 'baseId' => 'TRX', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 25.0, - 'max' => 50000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-6, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 0.1, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '25', - 'max_quantity' => '50000000', - 'min_price' => '0.000001', - 'max_price' => '100000', - 'max_amount' => '50000000', - 'min_amount' => '0.1', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'TRX/UAH' => - array ( - 'id' => 'TRX_UAH', - 'symbol' => 'TRX/UAH', - 'base' => 'TRX', - 'quote' => 'UAH', - 'baseId' => 'TRX', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 25.0, - 'max' => 50000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-6, - 'max' => 100000.0, - ), - 'cost' => - array ( - 'min' => 0.1, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '25', - 'max_quantity' => '50000000', - 'min_price' => '0.000001', - 'max_price' => '100000', - 'max_amount' => '50000000', - 'min_amount' => '0.1', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'TRX/BTC' => - array ( - 'id' => 'TRX_BTC', - 'symbol' => 'TRX/BTC', - 'base' => 'TRX', - 'quote' => 'BTC', - 'baseId' => 'TRX', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 25.0, - 'max' => 50000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 0.001, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '25', - 'max_quantity' => '50000000', - 'min_price' => '0.00000001', - 'max_price' => '1', - 'max_amount' => '100', - 'min_amount' => '0.001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'USDT/USD' => - array ( - 'id' => 'USDT_USD', - 'symbol' => 'USDT/USD', - 'base' => 'USDT', - 'quote' => 'USD', - 'baseId' => 'USDT', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 1000000.0, - ), - 'price' => - array ( - 'min' => 0.5, - 'max' => 10.0, - ), - 'cost' => - array ( - 'min' => 0.1, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '1000000', - 'min_price' => '0.5', - 'max_price' => '10', - 'max_amount' => '500000', - 'min_amount' => '0.1', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'USDT/RUB' => - array ( - 'id' => 'USDT_RUB', - 'symbol' => 'USDT/RUB', - 'base' => 'USDT', - 'quote' => 'RUB', - 'baseId' => 'USDT', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '500000', - 'min_price' => '0.01', - 'max_price' => '1000', - 'max_amount' => '50000000', - 'min_amount' => '10', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'USDT/EUR' => - array ( - 'id' => 'USDT_EUR', - 'symbol' => 'USDT/EUR', - 'base' => 'USDT', - 'quote' => 'EUR', - 'baseId' => 'USDT', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 1000000.0, - ), - 'price' => - array ( - 'min' => 0.1, - 'max' => 10.0, - ), - 'cost' => - array ( - 'min' => 0.1, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '1000000', - 'min_price' => '0.1', - 'max_price' => '10', - 'max_amount' => '500000', - 'min_amount' => '0.1', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'USDT/GBP' => - array ( - 'id' => 'USDT_GBP', - 'symbol' => 'USDT/GBP', - 'base' => 'USDT', - 'quote' => 'GBP', - 'baseId' => 'USDT', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 0.5, - 'max' => 10.0, - ), - 'cost' => - array ( - 'min' => 0.1, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '500000', - 'min_price' => '0.5', - 'max_price' => '10', - 'max_amount' => '500000', - 'min_amount' => '0.1', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'USDT/UAH' => - array ( - 'id' => 'USDT_UAH', - 'symbol' => 'USDT/UAH', - 'base' => 'USDT', - 'quote' => 'UAH', - 'baseId' => 'USDT', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 3000.0, - ), - 'cost' => - array ( - 'min' => 2.0, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '500000', - 'min_price' => '1', - 'max_price' => '3000', - 'max_amount' => '15000000', - 'min_amount' => '2', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'WAVES/USD' => - array ( - 'id' => 'WAVES_USD', - 'symbol' => 'WAVES/USD', - 'base' => 'WAVES', - 'quote' => 'USD', - 'baseId' => 'WAVES', - 'quoteId' => 'USD', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.05, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 0.001, - 'max' => 10000.0, - ), - 'cost' => - array ( - 'min' => 0.5, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.05', - 'max_quantity' => '500000', - 'min_price' => '0.001', - 'max_price' => '10000', - 'max_amount' => '500000', - 'min_amount' => '0.5', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'WAVES/RUB' => - array ( - 'id' => 'WAVES_RUB', - 'symbol' => 'WAVES/RUB', - 'base' => 'WAVES', - 'quote' => 'RUB', - 'baseId' => 'WAVES', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.05, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 50000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '0.05', - 'max_quantity' => '500000', - 'min_price' => '0.01', - 'max_price' => '50000', - 'max_amount' => '50000000', - 'min_amount' => '10', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'WAVES/BTC' => - array ( - 'id' => 'WAVES_BTC', - 'symbol' => 'WAVES/BTC', - 'base' => 'WAVES', - 'quote' => 'BTC', - 'baseId' => 'WAVES', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.05, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 1.0E-6, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 0.0001, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.05', - 'max_quantity' => '500000', - 'min_price' => '0.000001', - 'max_price' => '1', - 'max_amount' => '100', - 'min_amount' => '0.0001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'WAVES/ETH' => - array ( - 'id' => 'WAVES_ETH', - 'symbol' => 'WAVES/ETH', - 'base' => 'WAVES', - 'quote' => 'ETH', - 'baseId' => 'WAVES', - 'quoteId' => 'ETH', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 0.05, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 1.0E-5, - 'max' => 30.0, - ), - 'cost' => - array ( - 'min' => 0.003, - 'max' => 3500.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '0.05', - 'max_quantity' => '500000', - 'min_price' => '0.00001', - 'max_price' => '30', - 'max_amount' => '3500', - 'min_amount' => '0.003', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'XRP/EUR' => - array ( - 'id' => 'XRP_EUR', - 'symbol' => 'XRP/EUR', - 'base' => 'XRP', - 'quote' => 'EUR', - 'baseId' => 'XRP', - 'quoteId' => 'EUR', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 0.001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.001, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'XRP/RUB' => - array ( - 'id' => 'XRP_RUB', - 'symbol' => 'XRP/RUB', - 'base' => 'XRP', - 'quote' => 'RUB', - 'baseId' => 'XRP', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-6, - 'max' => 10000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.000001', - 'max_price' => '10000', - 'max_amount' => '50000000', - 'min_amount' => '0.01', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'XRP/UAH' => - array ( - 'id' => 'XRP_UAH', - 'symbol' => 'XRP/UAH', - 'base' => 'XRP', - 'quote' => 'UAH', - 'baseId' => 'XRP', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 0.0001, - 'max' => 5000.0, - ), - 'cost' => - array ( - 'min' => 0.01, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.0001', - 'max_price' => '5000', - 'max_amount' => '15000000', - 'min_amount' => '0.01', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'XRP/GBP' => - array ( - 'id' => 'XRP_GBP', - 'symbol' => 'XRP/GBP', - 'base' => 'XRP', - 'quote' => 'GBP', - 'baseId' => 'XRP', - 'quoteId' => 'GBP', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 0.001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.001, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'XRP/BTC' => - array ( - 'id' => 'XRP_BTC', - 'symbol' => 'XRP/BTC', - 'base' => 'XRP', - 'quote' => 'BTC', - 'baseId' => 'XRP', - 'quoteId' => 'BTC', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-7, - 'max' => 1.0, - ), - 'cost' => - array ( - 'min' => 1.0E-5, - 'max' => 100.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.0000001', - 'max_price' => '1', - 'max_amount' => '100', - 'min_amount' => '0.00001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'XRP/USDT' => - array ( - 'id' => 'XRP_USDT', - 'symbol' => 'XRP/USDT', - 'base' => 'XRP', - 'quote' => 'USDT', - 'baseId' => 'XRP', - 'quoteId' => 'USDT', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 0.001, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 0.001, - 'max' => 500000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.001', - 'max_price' => '1000', - 'max_amount' => '500000', - 'min_amount' => '0.001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'XRP/ETH' => - array ( - 'id' => 'XRP_ETH', - 'symbol' => 'XRP/ETH', - 'base' => 'XRP', - 'quote' => 'ETH', - 'baseId' => 'XRP', - 'quoteId' => 'ETH', - 'active' => true, - 'taker' => 0.001, - 'maker' => 0.001, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 5000000.0, - ), - 'price' => - array ( - 'min' => 1.0E-8, - 'max' => 10.0, - ), - 'cost' => - array ( - 'min' => 1.0E-5, - 'max' => 5000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 8, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '5000000', - 'min_price' => '0.00000001', - 'max_price' => '10', - 'max_amount' => '5000', - 'min_amount' => '0.00001', - 'price_precision' => 8, - 'commission_taker_percent' => '0.1', - 'commission_maker_percent' => '0.1', - ), - ), - 'USD/RUB' => - array ( - 'id' => 'USD_RUB', - 'symbol' => 'USD/RUB', - 'base' => 'USD', - 'quote' => 'RUB', - 'baseId' => 'USD', - 'quoteId' => 'RUB', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 0.01, - 'max' => 1000.0, - ), - 'cost' => - array ( - 'min' => 10.0, - 'max' => 50000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '500000', - 'min_price' => '0.01', - 'max_price' => '1000', - 'max_amount' => '50000000', - 'min_amount' => '10', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - 'USD/UAH' => - array ( - 'id' => 'USD_UAH', - 'symbol' => 'USD/UAH', - 'base' => 'USD', - 'quote' => 'UAH', - 'baseId' => 'USD', - 'quoteId' => 'UAH', - 'active' => true, - 'taker' => 0.003, - 'maker' => 0.003, - 'limits' => - array ( - 'amount' => - array ( - 'min' => 1.0, - 'max' => 500000.0, - ), - 'price' => - array ( - 'min' => 1.0, - 'max' => 3000.0, - ), - 'cost' => - array ( - 'min' => 2.0, - 'max' => 15000000.0, - ), - ), - 'precision' => - array ( - 'amount' => 8, - 'price' => 6, - ), - 'info' => - array ( - 'min_quantity' => '1', - 'max_quantity' => '500000', - 'min_price' => '1', - 'max_price' => '3000', - 'max_amount' => '15000000', - 'min_amount' => '2', - 'price_precision' => 6, - 'commission_taker_percent' => '0.3', - 'commission_maker_percent' => '0.3', - ), - ), - ), - 2 => 6.429E-5, - 3 => - array ( - 'BCH' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'BCH', - 'free' => '3.64920143', - 'used' => '0.00000000', - 'total' => '3.64920143', - 'total_main_asset' => '0.02977230', - 'total_main_asset_free' => '0.02977230', - 'rate' => '122.57034925', - 'last_update' => '2022-04-18 17:57:19', - ), - 'BTC' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'BTC', - 'free' => '0.51828021', - 'used' => '0.00000000', - 'total' => '0.51828021', - 'total_main_asset' => '0.51828021', - 'total_main_asset_free' => '0.51828021', - 'rate' => '1.00000000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'ETH' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'ETH', - 'free' => '0.00023513', - 'used' => '0.00000000', - 'total' => '0.00023513', - 'total_main_asset' => '0.00001748', - 'total_main_asset_free' => '0.00001748', - 'rate' => '13.44850092', - 'last_update' => '2022-04-18 17:57:19', - ), - 'EUR' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'EUR', - 'free' => '1149.38733499', - 'used' => '0.00000000', - 'total' => '1149.38733499', - 'total_main_asset' => '0.03148697', - 'total_main_asset_free' => '0.03148697', - 'rate' => '36503.59000000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'EXM' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'EXM', - 'free' => '45776.33941358', - 'used' => '948.02119043', - 'total' => '46724.36060401', - 'total_main_asset' => '0.03013721', - 'total_main_asset_free' => '0.02952574', - 'rate' => '1550387.59689923', - 'last_update' => '2022-04-18 17:57:19', - ), - 'GBP' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'GBP', - 'free' => '925.65529213', - 'used' => '0.00000000', - 'total' => '925.65529213', - 'total_main_asset' => '0.03059177', - 'total_main_asset_free' => '0.03059177', - 'rate' => '30258.31500000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'LTC' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'LTC', - 'free' => '11.17788257', - 'used' => '0.00000000', - 'total' => '11.17788257', - 'total_main_asset' => '0.03054809', - 'total_main_asset_free' => '0.03054809', - 'rate' => '365.91099947', - 'last_update' => '2022-04-18 17:57:19', - ), - 'RUB' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'RUB', - 'free' => '22474.40401867', - 'used' => '0.00000000', - 'total' => '22474.40401867', - 'total_main_asset' => '0.00662507', - 'total_main_asset_free' => '0.00662507', - 'rate' => '3392324.99500000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'TRX' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'TRX', - 'free' => '19763.68331466', - 'used' => '0.00000000', - 'total' => '19763.68331466', - 'total_main_asset' => '0.03033725', - 'total_main_asset_free' => '0.03033725', - 'rate' => '651465.79804560', - 'last_update' => '2022-04-18 17:57:19', - ), - 'UAH' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'UAH', - 'free' => '29290.90596816', - 'used' => '0.00000000', - 'total' => '29290.90596816', - 'total_main_asset' => '0.02332024', - 'total_main_asset_free' => '0.02332024', - 'rate' => '1256029.31000000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'USD' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'USD', - 'free' => '1341.00222335', - 'used' => '0.00000000', - 'total' => '1341.00222335', - 'total_main_asset' => '0.03125836', - 'total_main_asset_free' => '0.03125836', - 'rate' => '42900.60000000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'USDT' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'USDT', - 'free' => '20.76792778', - 'used' => '0.00000000', - 'total' => '20.76792778', - 'total_main_asset' => '0.00052829', - 'total_main_asset_free' => '0.00052829', - 'rate' => '39311.57000000', - 'last_update' => '2022-04-18 17:57:19', - ), - 'WAVES' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'WAVES', - 'free' => '62.58124790', - 'used' => '0.00000000', - 'total' => '62.58124790', - 'total_main_asset' => '0.03088604', - 'total_main_asset_free' => '0.03088604', - 'rate' => '2026.19874984', - 'last_update' => '2022-04-18 17:57:19', - ), - 'XRP' => - array ( - 'exchange' => 'Exmo', - 'asset' => 'XRP', - 'free' => '0.88357951', - 'used' => '0.00000000', - 'total' => '0.88357951', - 'total_main_asset' => '0.00001674', - 'total_main_asset_free' => '0.00001674', - 'rate' => '52770.44854881', - 'last_update' => '2022-04-18 17:57:19', - ), - ), - 4 => 0.05, - 5 => - array ( - 'main_asset_name' => 'BTC', - 'asset_one_name' => 'ETH', - 'asset_two_name' => 'USDT', - 'step_one_symbol' => 'ETH/BTC', - 'step_two_symbol' => 'ETH/USDT', - 'step_three_symbol' => 'BTC/USDT', - 'step_one_amount_decimals' => 8, - 'step_one_price_decimals' => 8, - 'step_one_order_type' => 'buy', - 'step_two_amount_decimals' => 8, - 'step_two_price_decimals' => 4, - 'step_two_order_type' => 'sell', - 'step_three_amount_decimals' => 8, - 'step_three_price_decimals' => 2, - 'step_three_order_type' => 'buy', - ), - 6 => 'ETH', - 7 => 8, - 8 => 0.07431, - 9 => 8, - 10 => 0.07439746, - 11 => 'ETH', - 12 => 'USDT', - 13 => 8, - 14 => 2925.3012, - 15 => 4, - 16 => 2925.9623, - 17 => 'BTC', - 18 => 39319.32, - 19 => 2, - 20 => 39324.35, - 21 => 8, - 22 => 1, - 23 => 1, - 24 => 1, - 25 => 3.1505174, - 26 => 0.00086418, - 27 => 0.01883708, - 28 => 0.10254971, - 29 => 0.029533, - 30 => 0.00405, - 31 => 0.03, -) \ No newline at end of file diff --git a/test/getResult/getResult.php b/test/getResult/getResult.php deleted file mode 100644 index 182cbf9..0000000 --- a/test/getResult/getResult.php +++ /dev/null @@ -1,203 +0,0 @@ - 0, "step_one" => 0, "step_two" => 0, "step_three" => 0]; - -$orderbook_info = [ - 'step_one' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], - 'step_two' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], - 'step_three' => [ - 'sell_price' => 0, - 'buy_price' => 0, - 'sell_amount' => 0, - 'buy_amount' => 0, - 'dom_position' => 0 - ], -]; - -$combinations = [ - 'main_asset_name' => 'BTC', - 'main_asset_amount_precision' => 0.00000001, - 'asset_one_name' => 'ETH', - 'asset_two_name' => 'USDT', - 'step_one_symbol' => 'ETH/BTC', - 'step_two_symbol' => 'ETH/USDT', - 'step_three_symbol' => 'BTC/USDT', -]; - -$orderbook = [ - 'step_one' => [ - 'bids' => [ - [0.07431, 3.1505174], - [0.0742405, 2.22], - [0.07421204, 0.0008692], - [0.07412322, 3.00182053], - [0.07412321, 4.32], - ], - 'asks' => [ - [0.07439746, 0.00086418], - [0.07448674, 0.00086371], - [0.07449799, 1.00026367], - [0.074498, 2.99999847], - [0.07451689, 0.98161981] - ], - 'symbol' => 'ETH/BTC', - 'limits' => [ - 'amount' => [ - 'min' => 0.0005, - 'max' => 5000.0, - ], - 'price' => [ - 'min' => 1.0E-8, - 'max' => 10.0, - ], - 'cost' => [ - 'min' => 0.0002, - 'max' => 100.0, - ] - ], - 'price_increment' => 0.00000001, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'ETH', - 'priceAsset' => 'BTC', - 'exchange' => 'binance', - 'fee' => 0.1 - ], - 'step_two' => [ - 'bids' => [ - [2925.3012, 0.01883708], - [2925.3011, 5.007], - [2925.3, 0.2], - [2925.2501, 0.056], - [2924.8584, 0.05260747] - ], - 'asks' => [ - [2925.9623, 0.10254971], - [2925.9624, 0.0549], - [2926.7999, 2.98116292], - [2926.8, 0.2], - [2926.957, 0.53547509] - ], - 'symbol' => 'ETH/USDT', - 'limits' => [ - 'amount' => [ - 'min' => 0.0005, - 'max' => 5000.0, - ], - 'price' => [ - 'min' => 0.01, - 'max' => 100000.0, - ], - 'cost' => [ - 'min' => 1.0, - 'max' => 500000.0 - ], - ], - 'price_increment' => 0.0001, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'ETH', - 'priceAsset' => 'USDT', - 'exchange' => 'exmo', - 'fee' => 0.1 - ], - 'step_three' => [ - 'bids' => [ - [39319.32, 0.029533], - [39318.0, 0.00408], - [39312.52, 0.00762934], - [39312.51, 0.2], - [39312.5, 0.01924316] - ], - 'asks' => [ - [39324.35, 0.00405], - [39327.03, 0.01270578], - [39327.15, 0.00145942], - [39331.0, 0.04], - [39331.12, 0.01270686] - ], - 'symbol' => 'BTC/USDT', - 'limits' => [ - 'amount' => [ - 'min' => 2.0E-5, - 'max' => 1000.0, - ], - 'price' => [ - 'min' => 0.01, - 'max' => 150000.0, - ], - 'cost' => [ - 'min' => 1.0, - 'max' => 500000.0, - ], - ], - 'price_increment' => 0.01, - 'amount_increment' => 0.00000001, - 'amountAsset' => 'BTC', - 'priceAsset' => 'USDT', - 'exchange' => 'kuna', - 'fee' => 0.1 - ], -]; - -$balances = [ - 'BTC' => [ - 'free' => '0.51828021', - 'used' => '0.00000000', - 'total' => '0.51828021' - ], - 'ETH' => [ - 'free' => '0.00023513', - 'used' => '0.00000000', - 'total' => '0.00023513' - ], - 'USDT' => [ - 'free' => '20.76792778', - 'used' => '0.00000000', - 'total' => '20.76792778' - ], -]; - -$bot->getOrderbookInfo($orderbook_info, $orderbook, $deal_amount, $max_deal_amount); - -$deal_amount = $bot->DealAmount( - $orderbook, - $orderbook_info, - $combinations['main_asset_name'], - $combinations['main_asset_amount_precision'], - $max_deal_amount -); - -$result = $bot->findResult( - $orderbook, - $orderbook_info, - $balances, - $combinations, - $deal_amount['min'] * 10, // тут 10 необходимо убирать (здесь он для тестов) - $max_deal_amount -); - -print_r($result); - -/* -max_deal_amount, deal_amount, $combinations['main_asset_name'], $combinations['main_asset_amount_precision'], step_one -указываются в одной и той же валюте! -*/ diff --git a/test/getResult/index (2).html b/test/getResult/index (2).html deleted file mode 100644 index ac0fc17..0000000 --- a/test/getResult/index (2).html +++ /dev/null @@ -1,4 +0,0 @@ - - Сгенерированно в: 28.03.22 19:11:05

- -
#TriangleStep 1Step 2Step 3Result
1Waves -> Litecoin -> WETH
Deal: 2.56598319 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -2.56598319 Waves, +0.72188622 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.72188622 Litecoin, +0.00303223 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.00303223 WETH, +0.27140312 Waves
-2.32458007 Waves
2Waves -> Litecoin -> WETH
Deal: 3.42359005 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.42359005 Waves, +0.96291513 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.96291513 Litecoin, +0.00404466 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.00404466 WETH, +0.36202180 Waves
-3.09156825 Waves
3Waves -> Litecoin -> WETH
Deal: 4.28162274 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -4.28162274 Waves, +1.20371758 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -1.20371758 Litecoin, +0.00505614 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.00505614 WETH, +0.45255545 Waves
-3.85906729 Waves
4Waves -> Litecoin -> WETH
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -4.15443886 Litecoin, +0.01745047 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.01745047 WETH, +1.56192378 Waves
-13.9917368 Waves
5Waves -> Litecoin -> WETH
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -4.79437988 Litecoin, +0.02013850 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.02013850 WETH, +1.80251890 Waves
-16.19596941 Waves
6Waves -> Litecoin -> WETH
Deal: 20.79822336 Waves
Max: 25
Fee: 0.06239467
Market: Litecoin -> Waves (buy)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -20.79822336 Waves, +5.52166057 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -5.52166057 Litecoin, +0.02319340 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.02319340 WETH, +2.07595114 Waves
-18.78466689 Waves
7Waves -> Litecoin -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Litecoin -> Waves (buy)
Position: 7
Sell: 3.30000001 (14.79206201)
Buy: 4.38197828 (5.75010527)
Result: -25.00000000 Waves, +6.42856878 Litecoin
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -6.42856878 Litecoin, +0.02700281 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.02700281 WETH, +2.41691662 Waves
-22.65808338 Waves
Maximum reached
 
8Waves -> WETH -> Litecoin
Deal: 0.00000114 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.00000114 Waves, +0.00000001 WETH
Market: Litecoin -> WETH (buy)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.00000001 WETH, +0.00000022 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.00000022 Litecoin, +0.00000077 Waves
-0.03000037 Waves
9Waves -> WETH -> Litecoin
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.04312695 WETH, +0.41073302 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.41073302 Litecoin, +1.45123884 Waves
-2.46308949 Waves
10Waves -> WETH -> Litecoin
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.05391410 WETH, +0.51346778 Litecoin
Market: Litecoin -> Waves (sell)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -0.51346778 Litecoin, +1.81423053 Waves
-3.07350094 Waves
11Waves -> WETH -> Litecoin
Deal: 20.75533663 Waves
Max: 25
Fee: 0.06226601
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -20.75533663 Waves, +0.22648906 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.22648906 WETH, +2.09160611 Litecoin
Market: Litecoin -> Waves (sell)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -2.09160611 Litecoin, +7.21976856 Waves
-13.59783408 Waves
12Waves -> WETH -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.27256661 WETH, +2.34759251 Litecoin
Market: Litecoin -> Waves (sell)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -2.34759251 Litecoin, +8.07476314 Waves
-17.00023686 Waves
Maximum reached
 
13Waves -> Litecoin -> WBTC
Deal: 2.56598319 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -2.56598319 Waves, +0.72188622 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.72188622 Litecoin, +0.00199962 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00199962 WBTC, +2.50641764 Waves
-0.08956555 Waves
14Waves -> Litecoin -> WBTC
Deal: 3.42359005 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.42359005 Waves, +0.96291513 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.96291513 Litecoin, +0.00266727 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00266727 WBTC, +3.34328152 Waves
-0.11030853 Waves
15Waves -> Litecoin -> WBTC
Deal: 4.28162274 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -4.28162274 Waves, +1.20371758 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -1.20371758 Litecoin, +0.00333429 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00333429 WBTC, +4.17935572 Waves
-0.13226702 Waves
16Waves -> Litecoin -> WBTC
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -4.15443886 Litecoin, +0.01150779 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01150779 WBTC, +14.42440461 Waves
-1.12925597 Waves
17Waves -> Litecoin -> WBTC
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -4.79437988 Litecoin, +0.01328043 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01328043 WBTC, +16.64631486 Waves
-1.35217345 Waves
18Waves -> Litecoin -> WBTC
Deal: 20.79822336 Waves
Max: 25
Fee: 0.06239467
Market: Litecoin -> Waves (buy)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -20.79822336 Waves, +5.52166057 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -5.52166057 Litecoin, +0.01529499 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01529499 WBTC, +19.17145901 Waves
-1.68915902 Waves
19Waves -> Litecoin -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Litecoin -> Waves (buy)
Position: 7
Sell: 3.30000001 (14.79206201)
Buy: 4.38197828 (5.75010527)
Result: -25.00000000 Waves, +6.42856878 Litecoin
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -6.42856878 Litecoin, +0.01780713 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01780713 WBTC, +22.32029330 Waves
-2.7547067 Waves
Maximum reached
 
20Waves -> WBTC -> Litecoin
Deal: 2.56886963 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -2.56886963 Waves, +0.00202817 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00202817 WBTC, +0.72538009 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.72538009 Litecoin, +2.56297816 Waves
-0.03589147 Waves
21Waves -> WBTC -> Litecoin
Deal: 3.43245716 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -3.43245716 Waves, +0.00270999 WBTC
Market: Litecoin -> WBTC (buy)
Position: 2
Sell: 0.00276588 (44.59793862)
Buy: 0.00280103 (4.41128166)
Result: -0.00270999 WBTC, +0.96923473 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.96923473 Litecoin, +3.42371696 Waves
-0.0387402 Waves
22Waves -> WBTC -> Litecoin
Deal: 4.32370034 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -4.32370034 Waves, +0.00341364 WBTC
Market: Litecoin -> WBTC (buy)
Position: 3
Sell: 0.00276587 (48.91494556)
Buy: 0.00282124 (6.32378560)
Result: -0.00341364 WBTC, +1.22089692 Litecoin
Market: Litecoin -> Waves (sell)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -1.22089692 Litecoin, +4.30975114 Waves
-0.0439492 Waves
23Waves -> WBTC -> Litecoin
Deal: 4.49042197 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -4.49042197 Waves, +0.00354527 WBTC
Market: Litecoin -> WBTC (buy)
Position: 4
Sell: 0.00274304 (49.86165858)
Buy: 0.00283235 (8.42753994)
Result: -0.00354527 WBTC, +1.26797472 Litecoin
Market: Litecoin -> Waves (sell)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -1.26797472 Litecoin, +4.46883971 Waves
-0.05158226 Waves
24Waves -> WBTC -> Litecoin
Deal: 17.03569617 Waves
Max: 25
Fee: 0.05110709
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -17.03569617 Waves, +0.01345002 WBTC
Market: Litecoin -> WBTC (buy)
Position: 4
Sell: 0.00274304 (49.86165858)
Buy: 0.00283235 (8.42753994)
Result: -0.01345002 WBTC, +4.80532389 Litecoin
Market: Litecoin -> Waves (sell)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -4.80532389 Litecoin, +16.28358598 Waves
-0.80321728 Waves
25Waves -> WBTC -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: Litecoin -> WBTC (buy)
Position: 4
Sell: 0.00274304 (49.86165858)
Buy: 0.00283235 (8.42753994)
Result: -0.01973799 WBTC, +7.03133414 Litecoin
Market: Litecoin -> Waves (sell)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -7.03133414 Litecoin, +23.71846021 Waves
-1.35653979 Waves
Maximum reached
 
26Waves -> Litecoin -> USD-N
Deal: 2.27604075 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -2.27604075 Waves, +0.64031691 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.64031691 Litecoin, +86.10717200 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -86.10717200 USD-N, +2.27374484 Waves
-0.03229591 Waves
27Waves -> Litecoin -> USD-N
Deal: 3.03965284 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.03965284 Waves, +0.85501064 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85501064 Litecoin, +114.94924300 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -114.94924300 USD-N, +3.03534818 Waves
-0.03430466 Waves
28Waves -> Litecoin -> USD-N
Deal: 3.80593046 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -3.80593046 Waves, +1.07026463 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.07026463 Litecoin, +143.83139600 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -143.83139600 USD-N, +3.79800993 Waves
-0.03792053 Waves
29Waves -> Litecoin -> USD-N
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -4.15443886 Litecoin, +546.24815500 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -546.24815500 USD-N, +14.42422155 Waves
-1.12943903 Waves
30Waves -> Litecoin -> USD-N
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -4.79437988 Litecoin, +629.74635300 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -629.74635300 USD-N, +16.62907385 Waves
-1.36941446 Waves
31Waves -> Litecoin -> USD-N
Deal: 20.79822336 Waves
Max: 25
Fee: 0.06239467
Market: Litecoin -> Waves (buy)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -20.79822336 Waves, +5.52166057 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -5.52166057 Litecoin, +724.64045300 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -724.64045300 USD-N, +19.13484621 Waves
-1.72577182 Waves
32Waves -> Litecoin -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Litecoin -> Waves (buy)
Position: 7
Sell: 3.30000001 (14.79206201)
Buy: 4.38197828 (5.75010527)
Result: -25.00000000 Waves, +6.42856878 Litecoin
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -6.42856878 Litecoin, +842.97198600 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -842.97198600 USD-N, +22.25950710 Waves
-2.8154929 Waves
Maximum reached
 
33Waves -> USD-N -> Litecoin
Deal: 2.27696763 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -2.27696763 Waves, +86.10717400 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -86.10717400 USD-N, +0.63648649 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.63648649 Litecoin, +2.24889130 Waves
-0.05807633 Waves
34Waves -> USD-N -> Litecoin
Deal: 3.03709194 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -3.03709194 Waves, +114.85249100 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -114.85249100 USD-N, +0.84875371 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.84875371 Litecoin, +2.99845571 Waves
-0.06863623 Waves
35Waves -> USD-N -> Litecoin
Deal: 3.79759365 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -3.79759365 Waves, +143.61208000 USD-N
Market: Litecoin -> USD-N (buy)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -143.61208000 USD-N, +1.06091468 Litecoin
Market: Litecoin -> Waves (sell)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -1.06091468 Litecoin, +3.74699899 Waves
-0.08059466 Waves
36Waves -> USD-N -> Litecoin
Deal: 4.48962166 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -4.48962166 Waves, +169.78222600 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -169.78222600 USD-N, +1.25385247 Litecoin
Market: Litecoin -> Waves (sell)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -1.25385247 Litecoin, +4.42167140 Waves
-0.09795026 Waves
37Waves -> USD-N -> Litecoin
Deal: 17.50728083 Waves
Max: 25
Fee: 0.05252184
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -17.50728083 Waves, +662.06583600 USD-N
Market: Litecoin -> USD-N (buy)
Position: 5
Sell: 130.47791700 (86.82916550)
Buy: 139.41999900 (7.21043329)
Result: -662.06583600 USD-N, +4.88318301 Litecoin
Market: Litecoin -> Waves (sell)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -4.88318301 Litecoin, +16.54363544 Waves
-1.01616723 Waves
38Waves -> USD-N -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: Litecoin -> USD-N (buy)
Position: 5
Sell: 130.47791700 (86.82916550)
Buy: 139.41999900 (7.21043329)
Result: -945.41500000 USD-N, +6.95601006 Litecoin
Market: Litecoin -> Waves (sell)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -6.95601006 Litecoin, +23.46687778 Waves
-1.60812222 Waves
Maximum reached
 
39Waves -> Litecoin -> USDT
Deal: 2.56598319 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -2.56598319 Waves, +0.72188622 Litecoin
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -0.72188622 Litecoin, +94.56709400 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -94.56709400 USDT, +2.49254333 Waves
-0.10343986 Waves
40Waves -> Litecoin -> USDT
Deal: 3.42359005 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.42359005 Waves, +0.96291513 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -0.96291513 Litecoin, +126.14188200 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -126.14188200 USDT, +3.32477285 Waves
-0.1288172 Waves
41Waves -> Litecoin -> USDT
Deal: 4.28162274 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -4.28162274 Waves, +1.20371758 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -1.20371758 Litecoin, +157.68700200 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -157.68700200 USDT, +4.15622039 Waves
-0.15540235 Waves
42Waves -> Litecoin -> USDT
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -4.15443886 Litecoin, +544.23149000 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -544.23149000 USDT, +14.34453057 Waves
-1.20913001 Waves
43Waves -> Litecoin -> USDT
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -4.79437988 Litecoin, +627.64934500 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -627.64934500 USDT, +16.54320888 Waves
-1.45527943 Waves
44Waves -> Litecoin -> USDT
Deal: 20.79822336 Waves
Max: 25
Fee: 0.06239467
Market: Litecoin -> Waves (buy)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -20.79822336 Waves, +5.52166057 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -5.52166057 Litecoin, +722.33038200 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -722.33038200 USDT, +19.03875545 Waves
-1.82186258 Waves
45Waves -> Litecoin -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Litecoin -> Waves (buy)
Position: 7
Sell: 3.30000001 (14.79206201)
Buy: 4.38197828 (5.75010527)
Result: -25.00000000 Waves, +6.42856878 Litecoin
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.42856878 Litecoin, +840.39622700 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -840.39622700 USDT, +22.15066491 Waves
-2.92433509 Waves
Maximum reached
 
46Waves -> USDT -> Litecoin
Deal: 2.94459634 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -2.94459634 Waves, +97.20112200 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -97.20112200 USDT, +0.72538150 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.72538150 Litecoin, +2.56298314 Waves
-0.4116132 Waves
47Waves -> USDT -> Litecoin
Deal: 3.95675135 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -3.95675135 Waves, +130.61235800 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -130.61235800 USDT, +0.97471908 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.97471908 Litecoin, +3.44305588 Waves
-0.54369547 Waves
48Waves -> USDT -> Litecoin
Deal: 4.94842449 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -4.94842449 Waves, +163.34748700 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -163.34748700 USDT, +1.21738879 Litecoin
Market: Litecoin -> Waves (sell)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -1.21738879 Litecoin, +4.29782349 Waves
-0.680601 Waves
49Waves -> USDT -> Litecoin
Deal: 5.11907660 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -5.11907660 Waves, +168.98071300 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -168.98071300 USDT, +1.25911639 Litecoin
Market: Litecoin -> Waves (sell)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -1.25911639 Litecoin, +4.43925288 Waves
-0.70982372 Waves
50Waves -> USDT -> Litecoin
Deal: 19.42067677 Waves
Max: 25
Fee: 0.05826203
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -19.42067677 Waves, +641.07651999 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -641.07651999 USDT, +4.75612237 Litecoin
Market: Litecoin -> Waves (sell)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -4.75612237 Litecoin, +16.11925290 Waves
-3.3596859 Waves
51Waves -> USDT -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -825.24997500 USDT, +6.12037018 Litecoin
Market: Litecoin -> Waves (sell)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -6.12037018 Litecoin, +20.67584058 Waves
-4.39915942 Waves
Maximum reached
 
52Waves -> Litecoin -> Waves.Exchange
Deal: 1.39800587 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -1.39800587 Waves, +0.39329999 Litecoin
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.39329999 Litecoin, +22.99999941 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -22.99999941 Waves.Exchange, +0.83076043 Waves
-0.59724544 Waves
53Waves -> Litecoin -> Waves.Exchange
Deal: 3.42359005 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.42359005 Waves, +0.96291513 Litecoin
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -0.96291513 Litecoin, +34.39254056 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -34.39254056 Waves.Exchange, +1.24225925 Waves
-2.2113308 Waves
54Waves -> Litecoin -> Waves.Exchange
Deal: 4.28162274 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -4.28162274 Waves, +1.20371758 Litecoin
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -1.20371758 Litecoin, +39.20868973 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -39.20868973 Waves.Exchange, +1.41621865 Waves
-2.89540409 Waves
55Waves -> Litecoin -> Waves.Exchange
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.15443886 Litecoin, +86.73008425 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -86.73008425 Waves.Exchange, +3.13269226 Waves
-12.42096832 Waves
56Waves -> Litecoin -> Waves.Exchange
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -4.79437988 Litecoin, +88.00996629 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -88.00996629 Waves.Exchange, +3.17892160 Waves
-14.81956671 Waves
End of DOM (step 2, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk, amount: 135.45302864, price: 0.5.
 
57Waves -> Waves.Exchange -> Litecoin
Deal: 23.16101416 Waves
Max: 25
Fee: 0.06948304
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -23.16101416 Waves, +467.78285000 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -467.78285000 Waves.Exchange, +0.72538150 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.72538150 Litecoin, +2.56298314 Waves
-20.66751406 Waves
58Waves -> Waves.Exchange -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -504.92483486 Waves.Exchange, +0.78297684 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.78297684 Litecoin, +2.76628007 Waves
-22.30871993 Waves
Maximum reached
 
59Waves -> Litecoin -> NSBT
Deal: 0.34834623 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.34834623 Waves, +0.09799999 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.09799999 Litecoin, +0.19999900 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -0.19999900 NSBT, +0.18399908 Waves
-0.19434715 Waves
60Waves -> Litecoin -> NSBT
Deal: 3.42359005 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -3.42359005 Waves, +0.96291513 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -0.96291513 Litecoin, +1.96513200 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -1.96513200 NSBT, +1.80792147 Waves
-1.64566858 Waves
61Waves -> Litecoin -> NSBT
Deal: 4.28162274 Waves
Max: 25
Fee: 0.03000000
Market: Litecoin -> Waves (buy)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -4.28162274 Waves, +1.20371758 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -1.20371758 Litecoin, +2.45656600 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -2.45656600 NSBT, +2.26004076 Waves
-2.05158198 Waves
62Waves -> Litecoin -> NSBT
Deal: 15.50713916 Waves
Max: 25
Fee: 0.04652142
Market: Litecoin -> Waves (buy)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -15.50713916 Waves, +4.15443886 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -4.15443886 Litecoin, +8.47844600 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -8.47844600 NSBT, +7.80017048 Waves
-7.7534901 Waves
63Waves -> Litecoin -> NSBT
Deal: 17.94465435 Waves
Max: 25
Fee: 0.05383396
Market: Litecoin -> Waves (buy)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -17.94465435 Waves, +4.79437988 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -4.79437988 Litecoin, +9.78444799 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -9.78444799 NSBT, +9.00169234 Waves
-8.99679597 Waves
64Waves -> Litecoin -> NSBT
Deal: 20.79822336 Waves
Max: 25
Fee: 0.06239467
Market: Litecoin -> Waves (buy)
Position: 6
Sell: 3.34000000 (11.68434371)
Buy: 3.84264541 (5.41247530)
Result: -20.79822336 Waves, +5.52166057 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -5.52166057 Litecoin, +11.26869500 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -11.26869500 NSBT, +10.36719961 Waves
-10.49341842 Waves
65Waves -> Litecoin -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Litecoin -> Waves (buy)
Position: 7
Sell: 3.30000001 (14.79206201)
Buy: 4.38197828 (5.75010527)
Result: -25.00000000 Waves, +6.42856878 Litecoin
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -6.42856878 Litecoin, +13.11952800 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -13.11952800 NSBT, +12.06996602 Waves
-13.00503398 Waves
Maximum reached
 
66Waves -> NSBT -> Litecoin
Deal: 10.81854523 Waves
Max: 25
Fee: 0.03245564
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -10.81854523 Waves, +10.36259100 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -10.36259100 NSBT, +0.72538147 Litecoin
Market: Litecoin -> Waves (sell)
Position: 1
Sell: 3.53328993 (0.72538151)
Buy: 3.55455346 (0.72188623)
Result: -0.72538147 Litecoin, +2.56298304 Waves
-8.28801783 Waves
67Waves -> NSBT -> Litecoin
Deal: 14.42955343 Waves
Max: 25
Fee: 0.04328866
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -14.42955343 Waves, +13.82141100 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -13.82141100 NSBT, +0.96749890 Litecoin
Market: Litecoin -> Waves (sell)
Position: 2
Sell: 3.52974601 (0.96749895)
Buy: 3.55809738 (0.96219684)
Result: -0.96749890 Litecoin, +3.41759607 Waves
-11.05524602 Waves
68Waves -> NSBT -> Litecoin
Deal: 18.04600523 Waves
Max: 25
Fee: 0.05413802
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -18.04600523 Waves, +17.28544600 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -17.28544600 NSBT, +1.20998139 Litecoin
Market: Litecoin -> Waves (sell)
Position: 3
Sell: 3.52620209 (1.20998139)
Buy: 3.56164130 (1.20214878)
Result: -1.20998139 Litecoin, +4.27263833 Waves
-13.82750492 Waves
69Waves -> NSBT -> Litecoin
Deal: 18.66834248 Waves
Max: 25
Fee: 0.05600503
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -18.66834248 Waves, +17.88155400 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -17.88155400 NSBT, +1.25170895 Litecoin
Market: Litecoin -> Waves (sell)
Position: 4
Sell: 3.40000000 (1.25170899)
Buy: 3.80432964 (4.07618178)
Result: -1.25170895 Litecoin, +4.41451204 Waves
-14.30983547 Waves
70Waves -> NSBT -> Litecoin
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -23.94636000 NSBT, +1.67624543 Litecoin
Market: Litecoin -> Waves (sell)
Position: 5
Sell: 3.34000001 (4.74871497)
Buy: 3.80432965 (4.71690311)
Result: -1.67624543 Litecoin, +5.83246389 Waves
-19.24253611 Waves
Maximum reached
 
71Waves -> WETH -> WBTC
Deal: 2.91140758 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -2.91140758 Waves, +0.03233288 WETH
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.03233288 WETH, +0.00227567 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00227567 WBTC, +2.85243168 Waves
-0.0889759 Waves
72Waves -> WETH -> WBTC
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.04312695 WETH, +0.00303539 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00303539 WBTC, +3.80470042 Waves
-0.10962791 Waves
73Waves -> WETH -> WBTC
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.05391410 WETH, +0.00379462 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00379462 WBTC, +4.75635497 Waves
-0.1313765 Waves
74Waves -> WETH -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27256661 WETH, +0.01918395 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01918395 WBTC, +24.04606417 Waves
-1.02893583 Waves
Maximum reached
 
75Waves -> WBTC -> WETH
Deal: 2.93599506 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -2.93599506 Waves, +0.00231802 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00231802 WBTC, +0.03249386 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.03249386 WETH, +2.90839919 Waves
-0.05759587 Waves
76Waves -> WBTC -> WETH
Deal: 6.85012024 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -6.85012024 Waves, +0.00540830 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00540830 WBTC, +0.07581322 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.07581322 WETH, +6.78548191 Waves
-0.09463833 Waves
77Waves -> WBTC -> WETH
Deal: 7.83023095 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -7.83023095 Waves, +0.00618212 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00618212 WBTC, +0.08666058 WETH
Market: WETH -> Waves (sell)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -0.08666058 WETH, +7.75541315 Waves
-0.1048178 Waves
78Waves -> WBTC -> WETH
Deal: 8.81181896 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -8.81181896 Waves, +0.00695710 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00695710 WBTC, +0.09752420 WETH
Market: WETH -> Waves (sell)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -0.09752420 WETH, +8.72582300 Waves
-0.11599596 Waves
79Waves -> WBTC -> WETH
Deal: 24.76220689 Waves
Max: 25
Fee: 0.07428662
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -24.76220689 Waves, +0.01955025 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.01955025 WBTC, +0.27405422 WETH
Market: WETH -> Waves (sell)
Position: 5
Sell: 89.07508167 (0.27405433)
Buy: 92.12000000 (1.28702155)
Result: -0.27405422 WETH, +24.45024898 Waves
-0.38624453 Waves
80Waves -> WBTC -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.01973799 WBTC, +0.27668595 WETH
Market: WETH -> Waves (sell)
Position: 6
Sell: 89.00000000 (2.24325433)
Buy: 92.52000000 (2.28502155)
Result: -0.27668595 WETH, +24.68447296 Waves
-0.39052704 Waves
Maximum reached
 
81Waves -> WETH -> USD-N
Deal: 2.91140758 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -2.91140758 Waves, +0.03233288 WETH
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.03233288 WETH, +110.61484000 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -110.61484000 USD-N, +2.92089400 Waves
-0.02051358 Waves
82Waves -> WETH -> USD-N
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.04312695 WETH, +147.54270800 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -147.54270800 USD-N, +3.89601079 Waves
-0.01831754 Waves
83Waves -> WETH -> USD-N
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.05391410 WETH, +184.44690200 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -184.44690200 USD-N, +4.87050245 Waves
-0.01722902 Waves
84Waves -> WETH -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.27256661 WETH, +932.41871200 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -932.41871200 USD-N, +24.62143616 Waves
-0.45356384 Waves
Maximum reached
 
85Waves -> USD-N -> WETH
Deal: 2.94549147 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -2.94549147 Waves, +111.38847200 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -111.38847200 USD-N, +0.03249395 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.03249395 WETH, +2.90840724 Waves
-0.06708423 Waves
86Waves -> USD-N -> WETH
Deal: 6.87914912 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -6.87914912 Waves, +260.14603000 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -260.14603000 USD-N, +0.07588913 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.07588913 WETH, +6.79226951 Waves
-0.11687961 Waves
87Waves -> USD-N -> WETH
Deal: 7.86341326 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -7.86341326 Waves, +297.36755300 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -297.36755300 USD-N, +0.08674730 WETH
Market: WETH -> Waves (sell)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -0.08674730 WETH, +7.76315955 Waves
-0.13025371 Waves
88Waves -> USD-N -> WETH
Deal: 8.84916096 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -8.84916096 Waves, +334.64518000 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -334.64518000 USD-N, +0.09762183 WETH
Market: WETH -> Waves (sell)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -0.09762183 WETH, +8.73451943 Waves
-0.14464153 Waves
89Waves -> USD-N -> WETH
Deal: 24.86714215 Waves
Max: 25
Fee: 0.07460143
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -24.86714215 Waves, +940.39076700 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -940.39076700 USD-N, +0.27430686 WETH
Market: WETH -> Waves (sell)
Position: 5
Sell: 89.07508167 (0.27405433)
Buy: 92.12000000 (1.28702155)
Result: -0.27430686 WETH, +24.47273395 Waves
-0.46900963 Waves
90Waves -> USD-N -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -945.41500000 USD-N, +0.27577107 WETH
Market: WETH -> Waves (sell)
Position: 6
Sell: 89.00000000 (2.24325433)
Buy: 92.52000000 (2.28502155)
Result: -0.27577107 WETH, +24.60304864 Waves
-0.47195136 Waves
Maximum reached
 
91Waves -> WETH -> USDT
Deal: 2.91140758 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -2.91140758 Waves, +0.03233288 WETH
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.03233288 WETH, +107.64908000 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -107.64908000 USDT, +2.83735055 Waves
-0.10405703 Waves
92Waves -> WETH -> USDT
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.04312695 WETH, +143.58685399 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -143.58685399 USDT, +3.78457706 Waves
-0.12975127 Waves
93Waves -> WETH -> USDT
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.05391410 WETH, +179.50158800 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -179.50158800 USDT, +4.73119629 Waves
-0.15653518 Waves
94Waves -> WETH -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.27256661 WETH, +902.31179300 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -902.31179300 USDT, +23.78259865 Waves
-1.29240135 Waves
Maximum reached
 
95Waves -> USDT -> WETH
Deal: 3.44430080 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -3.44430080 Waves, +113.69636500 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -113.69636500 USDT, +0.03249395 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.03249395 WETH, +2.90840724 Waves
-0.56589356 Waves
96Waves -> USDT -> WETH
Deal: 8.03607436 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -8.03607436 Waves, +265.27080600 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -265.27080600 USDT, +0.07581330 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.07581330 WETH, +6.78548907 Waves
-1.28058529 Waves
97Waves -> USDT -> WETH
Deal: 9.18587060 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -9.18587060 Waves, +303.22557900 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -303.22557900 USDT, +0.08666063 WETH
Market: WETH -> Waves (sell)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -0.08666063 WETH, +7.75541762 Waves
-1.46045298 Waves
98Waves -> USDT -> WETH
Deal: 10.33739990 Waves
Max: 25
Fee: 0.03101220
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -10.33739990 Waves, +341.23755999 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -341.23755999 USDT, +0.09752430 WETH
Market: WETH -> Waves (sell)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -0.09752430 WETH, +8.72583194 Waves
-1.64258016 Waves
99Waves -> USDT -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -825.24997500 USDT, +0.23585309 WETH
Market: WETH -> Waves (sell)
Position: 5
Sell: 89.07508167 (0.27405433)
Buy: 92.12000000 (1.28702155)
Result: -0.23585309 WETH, +21.04748021 Waves
-4.02751979 Waves
Maximum reached
 
100Waves -> WETH -> Waves.Exchange
Deal: 2.91140758 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -2.91140758 Waves, +0.03233288 WETH
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.03233288 WETH, +32.33288000 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -32.33288000 Waves.Exchange, +1.16786427 Waves
-1.77354331 Waves
101Waves -> WETH -> Waves.Exchange
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.04312695 WETH, +43.12694999 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -43.12694999 Waves.Exchange, +1.55774629 Waves
-2.35658204 Waves
102Waves -> WETH -> Waves.Exchange
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.05391410 WETH, +50.55917391 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -50.55917391 Waves.Exchange, +1.82619837 Waves
-3.0615331 Waves
103Waves -> WETH -> Waves.Exchange
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.27256661 WETH, +81.79615274 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -81.79615274 Waves.Exchange, +2.95447866 Waves
-22.12052134 Waves
Maximum reached
 
104Waves -> Waves.Exchange -> WETH
Deal: 0.04951232 Waves
Max: 25
Fee: 0.03000000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -0.04951232 Waves, +1.00000000 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -1.00000000 Waves.Exchange, +0.00050000 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.00050000 WETH, +0.04475305 Waves
-0.03475927 Waves
105Waves -> Waves.Exchange -> WETH
Deal: 24.80567232 Waves
Max: 25
Fee: 0.07441702
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -24.80567232 Waves, +501.00000000 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -501.00000000 Waves.Exchange, +0.05588000 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.05588000 WETH, +5.00145871 Waves
-19.87863063 Waves
106Waves -> Waves.Exchange -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 3
Sell: 0.00011075 (551.00000000)
Buy: 0.00699980 (360.00000000)
Result: -504.92483486 Waves.Exchange, +0.05631467 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.05631467 WETH, +5.04036168 Waves
-20.03463832 Waves
End of DOM (step 2, bids, position 3). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu, amount: 551, price: 0.00011075.
 
107Waves -> WETH -> NSBT
Deal: 1.35067062 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -1.35067062 Waves, +0.01499998 WETH
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.01499998 WETH, +0.99999900 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -0.99999900 NSBT, +0.91999909 Waves
-0.46067153 Waves
108Waves -> WETH -> NSBT
Deal: 3.88432833 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -3.88432833 Waves, +0.04312695 WETH
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.04312695 WETH, +2.87513000 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -2.87513000 NSBT, +2.64511964 Waves
-1.26920869 Waves
109Waves -> WETH -> NSBT
Deal: 4.85773147 Waves
Max: 25
Fee: 0.03000000
Market: WETH -> Waves (buy)
Position: 3
Sell: 89.41634019 (0.08666064)
Buy: 90.22431916 (0.05384060)
Result: -4.85773147 Waves, +0.05391410 WETH
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.05391410 WETH, +3.59427300 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -3.59427300 NSBT, +3.30673123 Waves
-1.58100024 Waves
110Waves -> WETH -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: WETH -> Waves (buy)
Position: 4
Sell: 89.32656474 (0.09752431)
Buy: 92.11999999 (0.28902155)
Result: -25.00000000 Waves, +0.27256661 WETH
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.27256661 WETH, +18.17110700 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -18.17110700 NSBT, +16.71741880 Waves
-8.3575812 Waves
Maximum reached
 
111Waves -> NSBT -> WETH
Deal: 11.30789775 Waves
Max: 25
Fee: 0.03392369
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -11.30789775 Waves, +10.83131900 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -10.83131900 NSBT, +0.03249395 WETH
Market: WETH -> Waves (sell)
Position: 1
Sell: 89.50611563 (0.03249396)
Buy: 90.04476828 (0.03233289)
Result: -0.03249395 WETH, +2.90840724 Waves
-8.4334142 Waves
112Waves -> NSBT -> WETH
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -23.94636000 NSBT, +0.07183908 WETH
Market: WETH -> Waves (sell)
Position: 2
Sell: 89.50000000 (0.07581332)
Buy: 90.13454372 (0.04309478)
Result: -0.07183908 WETH, +6.42979638 Waves
-18.64520362 Waves
Maximum reached
 
113Waves -> WBTC -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01973799 WBTC, +941.46639700 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -941.46639700 USD-N, +24.86034921 Waves
-0.21465079 Waves
Maximum reached
 
114Waves -> USD-N -> WBTC
Deal: 9.33052608 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -9.33052608 Waves, +352.84877200 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -352.84877200 USD-N, +0.00738339 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00738339 WBTC, +9.25468789 Waves
-0.10583819 Waves
115Waves -> USD-N -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -945.41500000 USD-N, +0.01978291 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01978291 WBTC, +24.79682877 Waves
-0.27817123 Waves
Maximum reached
 
116Waves -> WBTC -> USDT
Deal: 4.17525838 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -4.17525838 Waves, +0.00329644 WBTC
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00329644 WBTC, +156.58090000 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -156.58090000 USDT, +4.12706642 Waves
-0.07819196 Waves
117Waves -> WBTC -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01973799 WBTC, +935.61442300 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -935.61442300 USDT, +24.66036960 Waves
-0.4146304 Waves
Maximum reached
 
118Waves -> USDT -> WBTC
Deal: 7.32129326 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -7.32129326 Waves, +241.67588300 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -241.67588300 USDT, +0.00508063 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00508063 WBTC, +6.36830032 Waves
-0.98299294 Waves
119Waves -> USDT -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -825.24997500 USDT, +0.01734613 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01734613 WBTC, +21.74245424 Waves
-3.33254576 Waves
Maximum reached
 
120Waves -> WBTC -> Waves.Exchange
Deal: 3.33935307 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -3.33935307 Waves, +0.00263648 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00263648 WBTC, +75.32800000 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -75.32800000 Waves.Exchange, +2.72084886 Waves
-0.64850421 Waves
121Waves -> WBTC -> Waves.Exchange
Deal: 6.35374483 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -6.35374483 Waves, +0.00501640 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501640 WBTC, +111.62731210 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -111.62731210 Waves.Exchange, +4.03198013 Waves
-2.3517647 Waves
122Waves -> WBTC -> Waves.Exchange
Deal: 19.04045147 Waves
Max: 25
Fee: 0.05712135
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -19.04045147 Waves, +0.01503281 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503281 WBTC, +191.30366556 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -191.30366556 Waves.Exchange, +6.90989002 Waves
-12.1876828 Waves
123Waves -> WBTC -> Waves.Exchange
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01973799 WBTC, +222.67153222 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -222.67153222 Waves.Exchange, +8.04289736 Waves
-17.03210264 Waves
Maximum reached
 
124Waves -> Waves.Exchange -> WBTC
Deal: 1.48536959 Waves
Max: 25
Fee: 0.03000000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -1.48536959 Waves, +29.99999979 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -29.99999979 Waves.Exchange, +0.00071549 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00071549 WBTC, +0.89682877 Waves
-0.61854082 Waves
125Waves -> Waves.Exchange -> WBTC
Deal: 11.38783360 Waves
Max: 25
Fee: 0.03416350
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -11.38783360 Waves, +230.00000000 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -230.00000000 Waves.Exchange, +0.00231750 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00231750 WBTC, +2.90486337 Waves
-8.51713373 Waves
126Waves -> Waves.Exchange -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -504.92483486 Waves.Exchange, +0.00451689 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.00451689 WBTC, +5.66168212 Waves
-19.41331788 Waves
Maximum reached
 
127Waves -> WBTC -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> WBTC (sell)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -25.00000000 Waves, +0.01973799 WBTC
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01973799 WBTC, +19.73799000 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -19.73799000 NSBT, +18.15895119 Waves
-6.91604881 Waves
Maximum reached
 
128Waves -> NSBT -> WBTC
Deal: 23.12326092 Waves
Max: 25
Fee: 0.06936978
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -23.12326092 Waves, +22.14871700 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -22.14871700 NSBT, +0.01328923 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01328923 WBTC, +16.65734519 Waves
-6.53528551 Waves
129Waves -> NSBT -> WBTC
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -23.94636000 NSBT, +0.01436781 WBTC
Market: Waves -> WBTC (buy)
Position: 1
Sell: 0.00078952 (141.38117184)
Buy: 0.00079780 (29.67592480)
Result: -0.01436781 WBTC, +18.00928804 Waves
-7.06571196 Waves
Maximum reached
 
130Waves -> USD-N -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -945.41500000 USD-N, +942.58723800 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -942.58723800 USDT, +24.84415492 Waves
-0.23084508 Waves
Maximum reached
 
131Waves -> USDT -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -825.24997500 USDT, +826.48784900 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -826.48784900 USD-N, +21.82422720 Waves
-3.2507728 Waves
Maximum reached
 
132Waves -> USD-N -> Waves.Exchange
Deal: 2.97472452 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -2.97472452 Waves, +112.49396700 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -112.49396700 USD-N, +81.21135359 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -81.21135359 Waves.Exchange, +2.93335571 Waves
-0.07136881 Waves
133Waves -> USD-N -> Waves.Exchange
Deal: 20.20456194 Waves
Max: 25
Fee: 0.06061369
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -20.20456194 Waves, +764.06783700 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -764.06783700 USD-N, +551.59387597 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -551.59387597 Waves.Exchange, +19.92357242 Waves
-0.34160321 Waves
134Waves -> USD-N -> Waves.Exchange
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -945.41500000 USD-N, +682.51155067 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -682.51155067 Waves.Exchange, +24.64970048 Waves
-0.42529952 Waves
Maximum reached
 
135Waves -> Waves.Exchange -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -504.92483486 Waves.Exchange, +698.46252400 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -698.46252400 USD-N, +18.44359216 Waves
-6.63140784 Waves
Maximum reached
 
136Waves -> USD-N -> NSBT
Deal: 9.51698460 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -9.51698460 Waves, +359.89999900 USD-N
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -359.89999900 USD-N, +9.99999900 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -9.99999900 NSBT, +9.19999926 Waves
-0.34698534 Waves
137Waves -> USD-N -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USD-N (sell)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -25.00000000 Waves, +945.41500000 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -945.41500000 USD-N, +26.26430500 NSBT
Market: NSBT -> Waves (sell)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -26.26430500 NSBT, +24.13026604 Waves
-0.94473396 Waves
Maximum reached
 
138Waves -> NSBT -> USD-N
Deal: 23.12326092 Waves
Max: 25
Fee: 0.06936978
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -23.12326092 Waves, +22.14871700 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -22.14871700 NSBT, +755.27127100 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -755.27127100 USD-N, +19.94368318 Waves
-3.24894752 Waves
139Waves -> NSBT -> USD-N
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -23.94636000 NSBT, +816.57089900 USD-N
Market: Waves -> USD-N (buy)
Position: 1
Sell: 37.81660000 (83.73555844)
Buy: 37.87020000 (136.74804046)
Result: -816.57089900 USD-N, +21.56236035 Waves
-3.51263965 Waves
Maximum reached
 
140Waves -> USDT -> Waves.Exchange
Deal: 0.97546201 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -0.97546201 Waves, +32.19999900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -32.19999900 USDT, +22.99999928 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -22.99999928 Waves.Exchange, +0.83076043 Waves
-0.17470158 Waves
141Waves -> USDT -> Waves.Exchange
Deal: 9.65468784 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -9.65468784 Waves, +318.70123500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -318.70123500 USDT, +224.76271164 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -224.76271164 Waves.Exchange, +8.11843076 Waves
-1.56625708 Waves
142Waves -> USDT -> Waves.Exchange
Deal: 10.79841480 Waves
Max: 25
Fee: 0.03239524
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -10.79841480 Waves, +356.45566100 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -356.45566100 USDT, +251.35048515 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -251.35048515 Waves.Exchange, +9.07878114 Waves
-1.7520289 Waves
143Waves -> USDT -> Waves.Exchange
Deal: 12.44561732 Waves
Max: 25
Fee: 0.03733685
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -12.44561732 Waves, +410.82981500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 4
Sell: 1.30800000 (2051.47494685)
Buy: 1.41999300 (289.31819760)
Result: -410.82981500 USDT, +289.64233075 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -289.64233075 Waves.Exchange, +10.46188261 Waves
-2.02107156 Waves
144Waves -> USDT -> Waves.Exchange
Deal: 12.96424921 Waves
Max: 25
Fee: 0.03889275
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -12.96424921 Waves, +427.94985300 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 5
Sell: 1.28400000 (2151.47494685)
Buy: 1.41999700 (301.37377301)
Result: -427.94985300 USDT, +301.69872077 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -301.69872077 Waves.Exchange, +10.89735941 Waves
-2.10578255 Waves
145Waves -> USDT -> Waves.Exchange
Deal: 13.44367769 Waves
Max: 25
Fee: 0.04033103
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -13.44367769 Waves, +443.77578700 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 6
Sell: 1.26008900 (2183.21873637)
Buy: 1.41999800 (312.51860013)
Result: -443.77578700 USDT, +312.84375996 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -312.84375996 Waves.Exchange, +11.29991823 Waves
-2.18409049 Waves
146Waves -> USDT -> Waves.Exchange
Deal: 17.17051871 Waves
Max: 25
Fee: 0.05151156
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -17.17051871 Waves, +566.79880500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 7
Sell: 1.25100000 (2283.21873637)
Buy: 1.42000000 (399.15408837)
Result: -566.79880500 USDT, +399.47836931 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -399.47836931 Waves.Exchange, +14.42916032 Waves
-2.79286995 Waves
147Waves -> USDT -> Waves.Exchange
Deal: 17.33998366 Waves
Max: 25
Fee: 0.05201995
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -17.33998366 Waves, +572.39284300 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 8
Sell: 1.25000000 (2363.21873637)
Buy: 1.42577500 (401.46085007)
Result: -572.39284300 USDT, +403.40157127 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -403.40157127 Waves.Exchange, +14.57086637 Waves
-2.82113724 Waves
148Waves -> USDT -> Waves.Exchange
Deal: 23.75288317 Waves
Max: 25
Fee: 0.07125865
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -23.75288317 Waves, +784.08264900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 9
Sell: 1.24100000 (2463.21873637)
Buy: 1.42599900 (549.84796609)
Result: -784.08264900 USDT, +551.85174830 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -551.85174830 Waves.Exchange, +19.93288161 Waves
-3.89126021 Waves
149Waves -> USDT -> Waves.Exchange
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 10
Sell: 1.24022000 (2713.34611135)
Buy: 1.42600000 (607.84796609)
Result: -825.24997500 USDT, +580.72084086 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 3
Sell: 0.03610000 (3321.67697855)
Buy: 0.04953000 (589.73285384)
Result: -580.72084086 Waves.Exchange, +20.97505585 Waves
-4.09994415 Waves
Maximum depth
 
150Waves -> Waves.Exchange -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -504.92483486 Waves.Exchange, +693.41327500 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -693.41327500 USDT, +18.27657551 Waves
-6.79842449 Waves
Maximum reached
 
151Waves -> USDT -> NSBT
Deal: 0.60587631 Waves
Max: 25
Fee: 0.03000000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -0.60587631 Waves, +19.99997600 USDT
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99997600 USDT, +0.49999900 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -0.49999900 NSBT, +0.45999908 Waves
-0.17587723 Waves
152Waves -> USDT -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves -> USDT (sell)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -25.00000000 Waves, +825.24997500 USDT
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -825.24997500 USDT, +20.63127300 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -20.63127300 NSBT, +18.98077157 Waves
-6.09422843 Waves
Maximum reached
 
153Waves -> NSBT -> USDT
Deal: 5.21999985 Waves
Max: 25
Fee: 0.03000000
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -5.21999985 Waves, +5.00000000 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -5.00000000 NSBT, +140.00000499 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -140.00000499 USDT, +3.69003703 Waves
-1.55996282 Waves
154Waves -> NSBT -> USDT
Deal: 14.14383715 Waves
Max: 25
Fee: 0.04243151
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -14.14383715 Waves, +13.54773700 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -13.54773700 NSBT, +336.59795600 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -336.59795600 USDT, +8.87184912 Waves
-5.31441954 Waves
155Waves -> NSBT -> USDT
Deal: 24.58383695 Waves
Max: 25
Fee: 0.07375151
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -24.58383695 Waves, +23.54773700 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -23.54773700 NSBT, +556.61796600 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -556.61796600 USDT, +14.67100595 Waves
-9.98658251 Waves
156Waves -> NSBT -> USDT
Deal: 24.72618739 Waves
Max: 25
Fee: 0.07417856
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -24.72618739 Waves, +23.68408800 NSBT
Market: NSBT -> USDT (sell)
Position: 4
Sell: 22.00200000 (23.68408800)
Buy: 999.99999700 (32.40402200)
Result: -23.68408800 NSBT, +559.61796000 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -559.61796000 USDT, +14.75007801 Waves
-10.05028794 Waves
157Waves -> NSBT -> USDT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: NSBT -> USDT (sell)
Position: 5
Sell: 1.00001100 (83.68408800)
Buy: 0.00000000 (32.40402200)
Result: -23.94636000 NSBT, +559.88023500 USDT
Market: Waves -> USDT (buy)
Position: 1
Sell: 33.00999900 (38.36889836)
Buy: 37.94000000 (111.65706836)
Result: -559.88023500 USDT, +14.75699090 Waves
-10.3180091 Waves
Maximum reached
 
158Waves -> Waves.Exchange -> NSBT
Deal: 1.18829568 Waves
Max: 25
Fee: 0.03000000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -1.18829568 Waves, +24.00000000 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -24.00000000 Waves.Exchange, +0.50402400 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -0.50402400 NSBT, +0.46370209 Waves
-0.75459359 Waves
159Waves -> Waves.Exchange -> NSBT
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: Waves.Exchange -> Waves (buy)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -25.00000000 Waves, +504.92483486 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -504.92483486 Waves.Exchange, +10.60344500 NSBT
Market: NSBT -> Waves (sell)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -10.60344500 NSBT, +9.75516960 Waves
-15.3198304 Waves
Maximum reached
 
160Waves -> NSBT -> Waves.Exchange
Deal: 4.17597900 Waves
Max: 25
Fee: 0.03000000
Market: NSBT -> Waves (buy)
Position: 1
Sell: 0.92000002 (22.97480400)
Buy: 1.04399997 (22.14871800)
Result: -4.17597900 Waves, +3.99997900 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -3.99997900 NSBT, +19.99999499 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 1
Sell: 0.03612002 (81.21135398)
Buy: 0.04951232 (578.92104110)
Result: -19.99999499 Waves.Exchange, +0.72240021 Waves
-3.48357879 Waves
161Waves -> NSBT -> Waves.Exchange
Deal: 25.00000000 Waves
Max: 25
Fee: 0.07500000
Market: NSBT -> Waves (buy)
Position: 2
Sell: 0.91000000 (510.34973800)
Buy: 1.04399998 (207.09432700)
Result: -25.00000000 Waves, +23.94636000 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -23.94636000 NSBT, +119.73190000 Waves.Exchange
Market: Waves.Exchange -> Waves (sell)
Position: 2
Sell: 0.03612000 (551.59387606)
Buy: 0.04951233 (580.52104110)
Result: -119.73190000 Waves.Exchange, +4.32471785 Waves
-20.75028215 Waves
Maximum reached
 
162Litecoin -> WETH -> WBTC
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -7.07555850 Litecoin, +0.02972045 WETH
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.02972045 WETH, +0.00209180 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00209180 WBTC, +0.74813752 Litecoin
-6.34864766 Litecoin
Maximum reached
 
Market calculation error (step 1, bids)
 
163Litecoin -> WETH -> USD-N
Deal: 5.99205161 Litecoin
Max: 7.0755585
Fee: 0.01797615
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -5.99205161 Litecoin, +0.02516925 WETH
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.02516925 WETH, +86.10716200 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -86.10716200 USD-N, +0.63648640 Litecoin
-5.37354136 Litecoin
164Litecoin -> WETH -> USD-N
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -7.07555850 Litecoin, +0.02972045 WETH
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.02972045 WETH, +101.67738900 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -101.67738900 USD-N, +0.75146369 Litecoin
-6.34532149 Litecoin
Maximum reached
 
165Litecoin -> USD-N -> WETH
Deal: 0.00000032 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.00000032 Litecoin, +0.00004300 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.00004300 USD-N, +0.00000001 WETH
Market: Litecoin -> WETH (buy)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.00000001 WETH, +0.00000022 Litecoin
-0.00843296 Litecoin
166Litecoin -> USD-N -> WETH
Deal: 0.85429164 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85429164 Litecoin, +114.85274900 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -114.85274900 USD-N, +0.03350454 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.03350454 WETH, +0.31909102 Litecoin
-0.54363348 Litecoin
167Litecoin -> USD-N -> WETH
Deal: 1.06858893 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.06858893 Litecoin, +143.61275500 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -143.61275500 USD-N, +0.04189434 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.04189434 WETH, +0.39899388 Litecoin
-0.67802791 Litecoin
168Litecoin -> USD-N -> WETH
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -7.07555850 Litecoin, +927.38988400 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -927.38988400 USD-N, +0.27051808 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.27051808 WETH, +2.33621179 Litecoin
-4.76057339 Litecoin
Maximum reached
 
169Litecoin -> WETH -> USDT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -7.07555850 Litecoin, +0.02972045 WETH
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.02972045 WETH, +98.95125700 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -98.95125700 USDT, +0.73844221 Litecoin
-6.35834297 Litecoin
Maximum reached
 
170Litecoin -> USDT -> WETH
Deal: 0.00000034 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -0.00000034 Litecoin, +0.00004400 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.00004400 USDT, +0.00000001 WETH
Market: Litecoin -> WETH (buy)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.00000001 WETH, +0.00000022 Litecoin
-0.00843298 Litecoin
171Litecoin -> USDT -> WETH
Deal: 5.64419945 Litecoin
Max: 7.0755585
Fee: 0.01693260
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -5.64419945 Litecoin, +738.28310600 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -738.28310600 USDT, +0.21099831 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.21099831 WETH, +2.00554638 Litecoin
-3.65558567 Litecoin
172Litecoin -> USDT -> WETH
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -7.07555850 Litecoin, +924.62458400 USDT
Market: WETH -> USDT (buy)
Position: 3
Sell: 3203.00000000 (1.91779408)
Buy: 3749.00000000 (0.33933223)
Result: -924.62458400 USDT, +0.26392432 WETH
Market: Litecoin -> WETH (buy)
Position: 3
Sell: 0.00420000 (63.00000000)
Buy: 0.17999999 (10.92000029)
Result: -0.26392432 WETH, +2.29957979 Litecoin
-4.79720539 Litecoin
Maximum reached
 
173Litecoin -> WETH -> Waves.Exchange
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -7.07555850 Litecoin, +0.02972045 WETH
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.02972045 WETH, +29.72045000 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -29.72045000 Waves.Exchange, +0.04608690 Litecoin
-7.05069828 Litecoin
Maximum reached
 
174Litecoin -> Waves.Exchange -> WETH
Deal: 0.00000043 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.00000043 Litecoin, +0.00002514 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.00002514 Waves.Exchange, +0.00000001 WETH
Market: Litecoin -> WETH (buy)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.00000001 WETH, +0.00000022 Litecoin
-0.00843307 Litecoin
175Litecoin -> Waves.Exchange -> WETH
Deal: 1.39997060 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -1.39997060 Litecoin, +43.13383023 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -43.13383023 Waves.Exchange, +0.00516674 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.00516674 WETH, +0.04920721 Litecoin
-1.35919625 Litecoin
176Litecoin -> Waves.Exchange -> WETH
Deal: 2.14995528 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -2.14995528 Litecoin, +58.13366182 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -58.13366182 Waves.Exchange, +0.00682812 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.00682812 WETH, +0.06502988 Litecoin
-2.09335826 Litecoin
177Litecoin -> Waves.Exchange -> WETH
Deal: 4.27261212 Litecoin
Max: 7.0755585
Fee: 0.01281784
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.27261212 Litecoin, +86.96643077 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -86.96643077 Waves.Exchange, +0.01002164 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.01002164 WETH, +0.09544435 Litecoin
-4.18998561 Litecoin
178Litecoin -> Waves.Exchange -> WETH
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -7.07555850 Litecoin, +92.57232353 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -92.57232353 Waves.Exchange, +0.01064255 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.01064255 WETH, +0.10135778 Litecoin
-6.9954274 Litecoin
End of DOM (step 1, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
 
179Litecoin -> WETH -> NSBT
Deal: 3.57105208 Litecoin
Max: 7.0755585
Fee: 0.01071316
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -3.57105208 Litecoin, +0.01499998 WETH
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.01499998 WETH, +0.99999900 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.99999900 NSBT, +0.06999993 Litecoin
-3.51176531 Litecoin
180Litecoin -> WETH -> NSBT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WETH (sell)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -7.07555850 Litecoin, +0.02972045 WETH
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.02972045 WETH, +1.98136300 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -1.98136300 NSBT, +0.13869542 Litecoin
-6.95808976 Litecoin
Maximum reached
 
181Litecoin -> NSBT -> WETH
Deal: 0.00000208 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.00000208 Litecoin, +0.00000400 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.00000400 NSBT, +0.00000001 WETH
Market: Litecoin -> WETH (buy)
Position: 1
Sell: 0.00420044 (10.00000000)
Buy: 0.04398740 (0.00000029)
Result: -0.00000001 WETH, +0.00000022 Litecoin
-0.00843472 Litecoin
182Litecoin -> NSBT -> WETH
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -7.07555850 Litecoin, +14.43991500 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -14.43991500 NSBT, +0.04331974 WETH
Market: Litecoin -> WETH (buy)
Position: 2
Sell: 0.00420043 (60.00000000)
Buy: 0.10500000 (2.00000029)
Result: -0.04331974 WETH, +0.41256912 Litecoin
-6.68421606 Litecoin
Maximum reached
 
183Litecoin -> WBTC -> USD-N
Deal: 0.65171492 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.65171492 Litecoin, +0.00180525 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00180525 WBTC, +86.10715700 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -86.10715700 USD-N, +0.63648638 Litecoin
-0.0236614 Litecoin
184Litecoin -> WBTC -> USD-N
Deal: 0.86927812 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.86927812 Litecoin, +0.00240790 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00240790 WBTC, +114.85247100 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -114.85247100 USD-N, +0.84875356 Litecoin
-0.02895742 Litecoin
185Litecoin -> WBTC -> USD-N
Deal: 1.08694934 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -1.08694934 Litecoin, +0.00301084 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00301084 WBTC, +143.61161800 USD-N
Market: Litecoin -> USD-N (buy)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -143.61161800 USD-N, +1.06091128 Litecoin
-0.03447092 Litecoin
186Litecoin -> WBTC -> USD-N
Deal: 6.54624348 Litecoin
Max: 7.0755585
Fee: 0.01963873
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -6.54624348 Litecoin, +0.01813309 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01813309 WBTC, +864.91557200 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -864.91557200 USD-N, +6.37862210 Litecoin
-0.18726011 Litecoin
187Litecoin -> WBTC -> USD-N
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -7.07555850 Litecoin, +0.01959928 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01959928 WBTC, +934.85018100 USD-N
Market: Litecoin -> USD-N (buy)
Position: 5
Sell: 130.47791700 (86.82916550)
Buy: 139.41999900 (7.21043329)
Result: -934.85018100 USD-N, +6.88023313 Litecoin
-0.21655205 Litecoin
Maximum reached
 
188Litecoin -> USD-N -> WBTC
Deal: 0.64031693 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.64031693 Litecoin, +86.10717500 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -86.10717500 USD-N, +0.00180180 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00180180 WBTC, +0.64441828 Litecoin
-0.00433151 Litecoin
189Litecoin -> USD-N -> WBTC
Deal: 0.85429164 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85429164 Litecoin, +114.85274900 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -114.85274900 USD-N, +0.00240330 WBTC
Market: Litecoin -> WBTC (buy)
Position: 2
Sell: 0.00276588 (44.59793862)
Buy: 0.00280103 (4.41128166)
Result: -0.00240330 WBTC, +0.85954628 Litecoin
-0.00317822 Litecoin
190Litecoin -> USD-N -> WBTC
Deal: 1.06858893 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.06858893 Litecoin, +143.61275500 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -143.61275500 USD-N, +0.00300511 WBTC
Market: Litecoin -> WBTC (buy)
Position: 3
Sell: 0.00276587 (48.91494556)
Buy: 0.00282124 (6.32378560)
Result: -0.00300511 WBTC, +1.07478513 Litecoin
-0.00223666 Litecoin
191Litecoin -> USD-N -> WBTC
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -7.07555850 Litecoin, +927.38988400 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -927.38988400 USD-N, +0.01940573 WBTC
Market: Litecoin -> WBTC (buy)
Position: 4
Sell: 0.00274304 (49.86165858)
Buy: 0.00283235 (8.42753994)
Result: -0.01940573 WBTC, +6.91402519 Litecoin
-0.18275999 Litecoin
Maximum reached
 
192Litecoin -> WBTC -> USDT
Deal: 1.01843055 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -1.01843055 Litecoin, +0.00282105 WBTC
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00282105 WBTC, +133.99987500 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -133.99987500 USDT, +0.99999906 Litecoin
-0.02686435 Litecoin
193Litecoin -> WBTC -> USDT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -7.07555850 Litecoin, +0.01959928 WBTC
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01959928 WBTC, +929.04206600 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -929.04206600 USDT, +6.88920048 Litecoin
-0.2075847 Litecoin
Maximum reached
 
194Litecoin -> USDT -> WBTC
Deal: 1.84485407 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -1.84485407 Litecoin, +241.67588300 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -241.67588300 USDT, +0.00508063 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00508063 WBTC, +1.81710008 Litecoin
-0.03618685 Litecoin
195Litecoin -> USDT -> WBTC
Deal: 4.51577554 Litecoin
Max: 7.0755585
Fee: 0.01354733
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -4.51577554 Litecoin, +591.37923900 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -591.37923900 USDT, +0.01243066 WBTC
Market: Litecoin -> WBTC (buy)
Position: 2
Sell: 0.00276588 (44.59793862)
Buy: 0.00280103 (4.41128166)
Result: -0.01243066 WBTC, +4.44400759 Litecoin
-0.08531528 Litecoin
196Litecoin -> USDT -> WBTC
Deal: 6.52029084 Litecoin
Max: 7.0755585
Fee: 0.01956087
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.52029084 Litecoin, +852.33706400 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -852.33706400 USDT, +0.01791545 WBTC
Market: Litecoin -> WBTC (buy)
Position: 3
Sell: 0.00276587 (48.91494556)
Buy: 0.00282124 (6.32378560)
Result: -0.01791545 WBTC, +6.38786140 Litecoin
-0.15199031 Litecoin
197Litecoin -> USDT -> WBTC
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -7.07555850 Litecoin, +924.62458400 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -924.62458400 USDT, +0.01943477 WBTC
Market: Litecoin -> WBTC (buy)
Position: 4
Sell: 0.00274304 (49.86165858)
Buy: 0.00283235 (8.42753994)
Result: -0.01943477 WBTC, +6.92427816 Litecoin
-0.17250702 Litecoin
Maximum reached
 
198Litecoin -> WBTC -> Waves.Exchange
Deal: 0.95180001 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.95180001 Litecoin, +0.00263648 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00263648 WBTC, +75.32800000 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -75.32800000 Waves.Exchange, +0.11680962 Litecoin
-0.84342325 Litecoin
199Litecoin -> WBTC -> Waves.Exchange
Deal: 1.81097784 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -1.81097784 Litecoin, +0.00501640 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501640 WBTC, +111.62731210 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -111.62731210 Waves.Exchange, +0.17309824 Litecoin
-1.64631246 Litecoin
200Litecoin -> WBTC -> Waves.Exchange
Deal: 5.42700983 Litecoin
Max: 7.0755585
Fee: 0.01628103
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -5.42700983 Litecoin, +0.01503281 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503281 WBTC, +191.30366556 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -191.30366556 Waves.Exchange, +0.29665076 Litecoin
-5.1466401 Litecoin
201Litecoin -> WBTC -> Waves.Exchange
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -7.07555850 Litecoin, +0.01959928 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01959928 WBTC, +221.74679889 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -221.74679889 Waves.Exchange, +0.34385832 Litecoin
-6.75292686 Litecoin
Maximum reached
 
202Litecoin -> Waves.Exchange -> WBTC
Deal: 0.39330000 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.39330000 Litecoin, +22.99999999 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -22.99999999 Waves.Exchange, +0.00054854 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00054854 WBTC, +0.19618670 Litecoin
-0.20554616 Litecoin
203Litecoin -> Waves.Exchange -> WBTC
Deal: 1.39997060 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -1.39997060 Litecoin, +43.13383023 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -43.13383023 Waves.Exchange, +0.00082070 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00082070 WBTC, +0.29352541 Litecoin
-1.11487805 Litecoin
204Litecoin -> Waves.Exchange -> WBTC
Deal: 2.14995528 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -2.14995528 Litecoin, +58.13366182 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -58.13366182 Waves.Exchange, +0.00094085 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00094085 WBTC, +0.33649736 Litecoin
-1.82189078 Litecoin
205Litecoin -> Waves.Exchange -> WBTC
Deal: 4.27261212 Litecoin
Max: 7.0755585
Fee: 0.01281784
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.27261212 Litecoin, +86.96643077 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -86.96643077 Waves.Exchange, +0.00117180 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00117180 WBTC, +0.41909721 Litecoin
-3.86633275 Litecoin
206Litecoin -> Waves.Exchange -> WBTC
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -7.07555850 Litecoin, +92.57232353 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -92.57232353 Waves.Exchange, +0.00121670 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00121670 WBTC, +0.43515581 Litecoin
-6.66162937 Litecoin
End of DOM (step 1, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
 
207Litecoin -> WBTC -> NSBT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> WBTC (sell)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -7.07555850 Litecoin, +0.01959928 WBTC
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01959928 WBTC, +19.59928000 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -19.59928000 NSBT, +1.37194979 Litecoin
-5.72483539 Litecoin
Maximum reached
 
208Litecoin -> NSBT -> WBTC
Deal: 0.09799999 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.09799999 Litecoin, +0.19999900 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.19999900 NSBT, +0.00011999 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00011999 WBTC, +0.04291472 Litecoin
-0.06351813 Litecoin
209Litecoin -> NSBT -> WBTC
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -7.07555850 Litecoin, +14.43991500 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -14.43991500 NSBT, +0.00866394 WBTC
Market: Litecoin -> WBTC (buy)
Position: 1
Sell: 0.00277000 (40.59793862)
Buy: 0.00279601 (3.54581583)
Result: -0.00866394 WBTC, +3.09867990 Litecoin
-3.99810528 Litecoin
Maximum reached
 
210Litecoin -> USD-N -> USDT
Deal: 0.64031693 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.64031693 Litecoin, +86.10717500 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -86.10717500 USD-N, +85.84962600 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -85.84962600 USDT, +0.64066884 Litecoin
-0.00808095 Litecoin
211Litecoin -> USD-N -> USDT
Deal: 0.85429164 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85429164 Litecoin, +114.85274900 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -114.85274900 USD-N, +114.50922100 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -114.50922100 USDT, +0.85454642 Litecoin
-0.00817808 Litecoin
212Litecoin -> USD-N -> USDT
Deal: 1.06858893 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.06858893 Litecoin, +143.61275500 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -143.61275500 USD-N, +143.18320499 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -143.18320499 USDT, +1.06802374 Litecoin
-0.00899805 Litecoin
213Litecoin -> USD-N -> USDT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -7.07555850 Litecoin, +927.38988400 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -927.38988400 USD-N, +924.61603500 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -924.61603500 USDT, +6.85641507 Litecoin
-0.24037011 Litecoin
Maximum reached
 
214Litecoin -> USDT -> USD-N
Deal: 0.65632219 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -0.65632219 Litecoin, +85.97820600 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -85.97820600 USDT, +86.10717300 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -86.10717300 USD-N, +0.63648649 Litecoin
-0.02826856 Litecoin
215Litecoin -> USDT -> USD-N
Deal: 0.88090387 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -0.88090387 Litecoin, +115.39840600 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -115.39840600 USDT, +115.57150300 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -115.57150300 USD-N, +0.85405792 Litecoin
-0.03527881 Litecoin
216Litecoin -> USDT -> USD-N
Deal: 1.10148622 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -1.10148622 Litecoin, +144.29469400 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -144.29469400 USDT, +144.51113600 USD-N
Market: Litecoin -> USD-N (buy)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -144.51113600 USD-N, +1.06754292 Litecoin
-0.04237616 Litecoin
217Litecoin -> USDT -> USD-N
Deal: 6.63379309 Litecoin
Max: 7.0755585
Fee: 0.01990138
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.63379309 Litecoin, +867.11335400 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -867.11335400 USDT, +868.41402400 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -868.41402400 USD-N, +6.40371500 Litecoin
-0.24997947 Litecoin
218Litecoin -> USDT -> USD-N
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -7.07555850 Litecoin, +924.62458400 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -924.62458400 USDT, +926.01152000 USD-N
Market: Litecoin -> USD-N (buy)
Position: 5
Sell: 130.47791700 (86.82916550)
Buy: 139.41999900 (7.21043329)
Result: -926.01152000 USD-N, +6.81683720 Litecoin
-0.27994798 Litecoin
Maximum reached
 
219Litecoin -> USD-N -> Waves.Exchange
Deal: 0.64031693 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.64031693 Litecoin, +86.10717500 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -86.10717500 USD-N, +62.16226898 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -62.16226898 Waves.Exchange, +0.09639378 Litecoin
-0.55235601 Litecoin
220Litecoin -> USD-N -> Waves.Exchange
Deal: 0.85429164 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85429164 Litecoin, +114.85274900 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -114.85274900 USD-N, +82.91419938 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -82.91419938 Waves.Exchange, +0.12857339 Litecoin
-0.73415111 Litecoin
221Litecoin -> USD-N -> Waves.Exchange
Deal: 1.06858893 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.06858893 Litecoin, +143.61275500 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -143.61275500 USD-N, +103.67654851 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -103.67654851 Waves.Exchange, +0.16076915 Litecoin
-0.91625264 Litecoin
222Litecoin -> USD-N -> Waves.Exchange
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -7.07555850 Litecoin, +927.38988400 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -927.38988400 USD-N, +669.49890557 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -669.49890557 Waves.Exchange, +1.03817856 Litecoin
-6.05860662 Litecoin
Maximum reached
 
223Litecoin -> Waves.Exchange -> USD-N
Deal: 0.39330000 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.39330000 Litecoin, +22.99999999 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -22.99999999 Waves.Exchange, +31.81589900 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -31.81589900 USD-N, +0.23517657 Litecoin
-0.16655629 Litecoin
224Litecoin -> Waves.Exchange -> USD-N
Deal: 1.39997060 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -1.39997060 Litecoin, +43.13383023 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -43.13383023 Waves.Exchange, +59.66702700 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -59.66702700 USD-N, +0.44104638 Litecoin
-0.96735708 Litecoin
225Litecoin -> Waves.Exchange -> USD-N
Deal: 2.14995528 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -2.14995528 Litecoin, +58.13366182 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -58.13366182 Waves.Exchange, +80.41629399 USD-N
Market: Litecoin -> USD-N (buy)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -80.41629399 USD-N, +0.59442069 Litecoin
-1.56396745 Litecoin
226Litecoin -> Waves.Exchange -> USD-N
Deal: 4.27261212 Litecoin
Max: 7.0755585
Fee: 0.01281784
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.27261212 Litecoin, +86.96643077 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -86.96643077 Waves.Exchange, +120.30066300 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -120.30066300 USD-N, +0.88894533 Litecoin
-3.39648463 Litecoin
227Litecoin -> Waves.Exchange -> USD-N
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -7.07555850 Litecoin, +92.57232353 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -92.57232353 Waves.Exchange, +128.05529500 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -128.05529500 USD-N, +0.94615190 Litecoin
-6.15063328 Litecoin
End of DOM (step 1, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
 
228Litecoin -> USD-N -> NSBT
Deal: 0.64031693 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -0.64031693 Litecoin, +86.10717500 USD-N
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -86.10717500 USD-N, +2.39252999 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -2.39252999 NSBT, +0.16747712 Litecoin
-0.48127267 Litecoin
229Litecoin -> USD-N -> NSBT
Deal: 0.85429164 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -0.85429164 Litecoin, +114.85274900 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -114.85274900 USD-N, +3.19124000 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -3.19124000 NSBT, +0.22338683 Litecoin
-0.63933767 Litecoin
230Litecoin -> USD-N -> NSBT
Deal: 1.06858893 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USD-N (sell)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -1.06858893 Litecoin, +143.61275500 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -143.61275500 USD-N, +3.99035100 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -3.99035100 NSBT, +0.27932459 Litecoin
-0.7976972 Litecoin
231Litecoin -> USD-N -> NSBT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USD-N (sell)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -7.07555850 Litecoin, +927.38988400 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -927.38988400 USD-N, +25.76360700 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -25.76360700 NSBT, +1.80345274 Litecoin
-5.29333244 Litecoin
Maximum reached
 
232Litecoin -> NSBT -> USD-N
Deal: 0.09799999 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.09799999 Litecoin, +0.19999900 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -0.19999900 NSBT, +6.81996600 USD-N
Market: Litecoin -> USD-N (buy)
Position: 1
Sell: 134.47586900 (0.64031693)
Buy: 135.28515200 (0.63648651)
Result: -6.81996600 USD-N, +0.05041178 Litecoin
-0.05602107 Litecoin
233Litecoin -> NSBT -> USD-N
Deal: 1.65037299 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -1.65037299 Litecoin, +3.36810800 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -3.36810800 NSBT, +114.85248600 USD-N
Market: Litecoin -> USD-N (buy)
Position: 2
Sell: 134.34098900 (0.85429164)
Buy: 135.42003300 (0.84812039)
Result: -114.85248600 USD-N, +0.84875367 Litecoin
-0.81005218 Litecoin
234Litecoin -> NSBT -> USD-N
Deal: 2.06363393 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -2.06363393 Litecoin, +4.21149699 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -4.21149699 NSBT, +143.61205100 USD-N
Market: Litecoin -> USD-N (buy)
Position: 3
Sell: 134.20610800 (1.06858893)
Buy: 135.55491300 (1.05943840)
Result: -143.61205100 USD-N, +1.06091447 Litecoin
-1.01115232 Litecoin
235Litecoin -> NSBT -> USD-N
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -7.07555850 Litecoin, +14.43991500 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -14.43991500 NSBT, +492.40111500 USD-N
Market: Litecoin -> USD-N (buy)
Position: 4
Sell: 130.47795900 (86.05558621)
Buy: 135.64033500 (6.37653825)
Result: -492.40111500 USD-N, +3.63234032 Litecoin
-3.46444486 Litecoin
Maximum reached
 
236Litecoin -> USDT -> Waves.Exchange
Deal: 0.24580152 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -0.24580152 Litecoin, +32.19999900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -32.19999900 USDT, +22.99999928 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -22.99999928 Waves.Exchange, +0.03566562 Litecoin
-0.21856876 Litecoin
237Litecoin -> USDT -> Waves.Exchange
Deal: 2.44806418 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -2.44806418 Litecoin, +320.69640700 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -320.69640700 USDT, +226.16777026 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -226.16777026 Waves.Exchange, +0.35071383 Litecoin
-2.10578321 Litecoin
238Litecoin -> USDT -> Waves.Exchange
Deal: 2.73807014 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -2.73807014 Litecoin, +358.68718800 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -358.68718800 USDT, +252.92199078 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -252.92199078 Waves.Exchange, +0.39220107 Litecoin
-2.35430193 Litecoin
239Litecoin -> USDT -> Waves.Exchange
Deal: 3.15573849 Litecoin
Max: 7.0755585
Fee: 0.00946722
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -3.15573849 Litecoin, +413.40174200 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 4
Sell: 1.30800000 (2051.47494685)
Buy: 1.41999300 (289.31819760)
Result: -413.40174200 USDT, +291.45355077 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -291.45355077 Waves.Exchange, +0.45195119 Litecoin
-2.71325452 Litecoin
240Litecoin -> USDT -> Waves.Exchange
Deal: 3.28724394 Litecoin
Max: 7.0755585
Fee: 0.00986173
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -3.28724394 Litecoin, +430.62895600 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 5
Sell: 1.28400000 (2151.47494685)
Buy: 1.41999700 (301.37377301)
Result: -430.62895600 USDT, +303.58541569 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -303.58541569 Waves.Exchange, +0.47076383 Litecoin
-2.82634184 Litecoin
241Litecoin -> USDT -> Waves.Exchange
Deal: 3.40880890 Litecoin
Max: 7.0755585
Fee: 0.01022643
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -3.40880890 Litecoin, +446.55396500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 6
Sell: 1.26008900 (2183.21873637)
Buy: 1.41999800 (312.51860013)
Result: -446.55396500 USDT, +314.80022334 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -314.80022334 Waves.Exchange, +0.48815441 Litecoin
-2.93088092 Litecoin
242Litecoin -> USDT -> Waves.Exchange
Deal: 4.35379502 Litecoin
Max: 7.0755585
Fee: 0.01306139
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -4.35379502 Litecoin, +570.29180499 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 7
Sell: 1.25100000 (2283.21873637)
Buy: 1.42000000 (399.15408837)
Result: -570.29180499 USDT, +401.92819155 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -401.92819155 Waves.Exchange, +0.62326200 Litecoin
-3.74359441 Litecoin
243Litecoin -> USDT -> Waves.Exchange
Deal: 4.39676493 Litecoin
Max: 7.0755585
Fee: 0.01319029
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -4.39676493 Litecoin, +575.88584300 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 8
Sell: 1.25000000 (2363.21873637)
Buy: 1.42577500 (401.46085007)
Result: -575.88584300 USDT, +405.85108211 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -405.85108211 Waves.Exchange, +0.62934515 Litecoin
-3.78061007 Litecoin
244Litecoin -> USDT -> Waves.Exchange
Deal: 6.02283404 Litecoin
Max: 7.0755585
Fee: 0.01806850
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.02283404 Litecoin, +787.57565000 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 9
Sell: 1.24100000 (2463.21873637)
Buy: 1.42599900 (549.84796609)
Result: -787.57565000 USDT, +554.30125812 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -554.30125812 Waves.Exchange, +0.85954387 Litecoin
-5.18135867 Litecoin
245Litecoin -> USDT -> Waves.Exchange
Deal: 6.65814955 Litecoin
Max: 7.0755585
Fee: 0.01997445
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.65814955 Litecoin, +870.28420000 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 10
Sell: 1.24022000 (2713.34611135)
Buy: 1.42600000 (607.84796609)
Result: -870.28420000 USDT, +612.30164382 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -612.30164382 Waves.Exchange, +0.94948391 Litecoin
-5.72864009 Litecoin
Maximum depth
 
246Litecoin -> Waves.Exchange -> USDT
Deal: 0.39330000 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.39330000 Litecoin, +22.99999999 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -22.99999999 Waves.Exchange, +31.58589900 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -31.58589900 USDT, +0.23571566 Litecoin
-0.1660172 Litecoin
247Litecoin -> Waves.Exchange -> USDT
Deal: 1.39997060 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -1.39997060 Litecoin, +43.13383023 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -43.13383023 Waves.Exchange, +59.23568900 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -59.23568900 USDT, +0.44205738 Litecoin
-0.96634608 Litecoin
248Litecoin -> Waves.Exchange -> USDT
Deal: 2.14995528 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -2.14995528 Litecoin, +58.13366182 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -58.13366182 Waves.Exchange, +79.83495700 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -79.83495700 USDT, +0.59578326 Litecoin
-1.56260488 Litecoin
249Litecoin -> Waves.Exchange -> USDT
Deal: 4.27261212 Litecoin
Max: 7.0755585
Fee: 0.01281784
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.27261212 Litecoin, +86.96643077 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -86.96643077 Waves.Exchange, +119.43099900 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -119.43099900 USDT, +0.89127611 Litecoin
-3.39415385 Litecoin
250Litecoin -> Waves.Exchange -> USDT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -7.07555850 Litecoin, +92.57232353 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -92.57232353 Waves.Exchange, +127.12957100 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -127.12957100 USDT, +0.94872814 Litecoin
-6.14805704 Litecoin
End of DOM (step 1, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
 
251Litecoin -> USDT -> NSBT
Deal: 0.15267157 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Litecoin -> USDT (sell)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -0.15267157 Litecoin, +19.99997500 USDT
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99997500 USDT, +0.49999900 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.49999900 NSBT, +0.03499993 Litecoin
-0.1261045 Litecoin
252Litecoin -> USDT -> NSBT
Deal: 6.34680224 Litecoin
Max: 7.0755585
Fee: 0.01904041
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -6.34680224 Litecoin, +829.75145000 USDT
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -829.75145000 USDT, +20.74381000 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -20.74381000 NSBT, +1.45206690 Litecoin
-4.91377575 Litecoin
253Litecoin -> USDT -> NSBT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Litecoin -> USDT (sell)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -7.07555850 Litecoin, +924.62458400 USDT
Market: NSBT -> USDT (buy)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -924.62458400 USDT, +23.11564100 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -23.11564100 NSBT, +1.61809510 Litecoin
-5.47869008 Litecoin
Maximum reached
 
254Litecoin -> NSBT -> USDT
Deal: 0.09799999 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.09799999 Litecoin, +0.19999900 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -0.19999900 NSBT, +5.59997200 USDT
Market: Litecoin -> USDT (buy)
Position: 1
Sell: 131.00000000 (4.28589094)
Buy: 134.00000000 (1.00000000)
Result: -5.59997200 USDT, +0.04179083 Litecoin
-0.06464202 Litecoin
255Litecoin -> NSBT -> USDT
Deal: 6.63839113 Litecoin
Max: 7.0755585
Fee: 0.01991517
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -6.63839113 Litecoin, +13.54773700 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -13.54773700 NSBT, +336.59795600 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -336.59795600 USDT, +2.50072560 Litecoin
-4.1575807 Litecoin
256Litecoin -> NSBT -> USDT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -7.07555850 Litecoin, +14.43991500 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -14.43991500 NSBT, +356.22765700 USDT
Market: Litecoin -> USDT (buy)
Position: 2
Sell: 130.18500000 (8.53359608)
Buy: 135.00000000 (8.40740740)
Result: -356.22765700 USDT, +2.64613079 Litecoin
-4.45065439 Litecoin
Maximum reached
 
257Litecoin -> Waves.Exchange -> NSBT
Deal: 0.39330000 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -0.39330000 Litecoin, +22.99999999 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -22.99999999 Waves.Exchange, +0.48302200 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.48302200 NSBT, +0.03381154 Litecoin
-0.36792132 Litecoin
258Litecoin -> Waves.Exchange -> NSBT
Deal: 1.39997060 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 2
Sell: 0.00155067 (1005.42731851)
Buy: 0.04999895 (28.00000000)
Result: -1.39997060 Litecoin, +43.13383023 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -43.13383023 Waves.Exchange, +0.90583400 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.90583400 NSBT, +0.06340838 Litecoin
-1.34499508 Litecoin
259Litecoin -> Waves.Exchange -> NSBT
Deal: 2.14995528 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: Waves.Exchange -> Litecoin (buy)
Position: 3
Sell: 0.00155020 (1062.15810434)
Buy: 0.04999896 (43.00000000)
Result: -2.14995528 Litecoin, +58.13366182 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -58.13366182 Waves.Exchange, +1.22083000 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -1.22083000 NSBT, +0.08545811 Litecoin
-2.07293003 Litecoin
260Litecoin -> Waves.Exchange -> NSBT
Deal: 4.27261212 Litecoin
Max: 7.0755585
Fee: 0.01281784
Market: Waves.Exchange -> Litecoin (buy)
Position: 4
Sell: 0.00155007 (1141.96578399)
Buy: 0.04999954 (85.45302864)
Result: -4.27261212 Litecoin, +86.96643077 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -86.96643077 Waves.Exchange, +1.82631900 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -1.82631900 NSBT, +0.12784234 Litecoin
-4.15758762 Litecoin
261Litecoin -> Waves.Exchange -> NSBT
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: Waves.Exchange -> Litecoin (buy)
Position: 5
Sell: 0.00155000 (1151.96578399)
Buy: 0.50000000 (135.45302864)
Result: -7.07555850 Litecoin, +92.57232353 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -92.57232353 Waves.Exchange, +1.94404200 NSBT
Market: NSBT -> Litecoin (sell)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -1.94404200 NSBT, +0.13608295 Litecoin
-6.96070223 Litecoin
End of DOM (step 1, asks, position 5). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
 
262Litecoin -> NSBT -> Waves.Exchange
Deal: 0.09799999 Litecoin
Max: 7.0755585
Fee: 0.00843286
Market: NSBT -> Litecoin (buy)
Position: 1
Sell: 0.07000001 (30.00000000)
Buy: 0.48999999 (0.20000000)
Result: -0.09799999 Litecoin, +0.19999900 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -0.19999900 NSBT, +1.00000000 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -1.00000000 Waves.Exchange, +0.00155068 Litecoin
-0.10488217 Litecoin
263Litecoin -> NSBT -> Waves.Exchange
Deal: 7.07555850 Litecoin
Max: 7.0755585
Fee: 0.02122668
Market: NSBT -> Litecoin (buy)
Position: 2
Sell: 0.07000000 (45.00000000)
Buy: 0.49000000 (25.20000000)
Result: -7.07555850 Litecoin, +14.43991500 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -14.43991500 NSBT, +72.19967499 Waves.Exchange
Market: Waves.Exchange -> Litecoin (sell)
Position: 1
Sell: 0.00155068 (1000.00000000)
Buy: 0.01710000 (23.00000000)
Result: -72.19967499 Waves.Exchange, +0.11195859 Litecoin
-6.98482659 Litecoin
Maximum reached
 
264WETH -> WBTC -> USD-N
Deal: 0.18950355 WETH
Max: 0.2793105
Fee: 0.00056851
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.18950355 WETH, +0.01333777 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01333777 WBTC, +636.18748700 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -636.18748700 USD-N, +0.18558698 WETH
-0.00448508 WETH
265WETH -> WBTC -> USD-N
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27931050 WETH, +0.01965859 WBTC
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01965859 WBTC, +937.67916000 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -937.67916000 USD-N, +0.27351663 WETH
-0.0066318 WETH
Maximum reached
 
266WETH -> USD-N -> WBTC
Deal: 0.10313821 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.10313821 WETH, +352.84876000 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -352.84876000 USD-N, +0.00738339 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00738339 WBTC, +0.10349991 WETH
0.00002794 WETH
267WETH -> USD-N -> WBTC
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.27931050 WETH, +955.46733300 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -955.46733300 USD-N, +0.01999325 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.01999325 WBTC, +0.28026416 WETH
0.00011573 WETH
Maximum reached
 
268WETH -> WBTC -> USDT
Deal: 0.04683605 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.04683605 WETH, +0.00329644 WBTC
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00329644 WBTC, +156.58090000 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -156.58090000 USDT, +0.04475018 WETH
-0.00241963 WETH
269WETH -> WBTC -> USDT
Deal: 0.27207413 WETH
Max: 0.2793105
Fee: 0.00081622
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27207413 WETH, +0.01914929 WBTC
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01914929 WBTC, +907.72063900 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -907.72063900 USDT, +0.25941540 WETH
-0.01347495 WETH
270WETH -> WBTC -> USDT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27931050 WETH, +0.01965859 WBTC
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01965859 WBTC, +931.85229200 USDT
Market: WETH -> USDT (buy)
Position: 3
Sell: 3203.00000000 (1.91779408)
Buy: 3749.00000000 (0.33933223)
Result: -931.85229200 USDT, +0.26585223 WETH
-0.0142962 WETH
Maximum reached
 
271WETH -> USDT -> WBTC
Deal: 0.07258842 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.07258842 WETH, +241.67586300 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -241.67586300 USDT, +0.00508063 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00508063 WBTC, +0.07121996 WETH
-0.00170222 WETH
272WETH -> USDT -> WBTC
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.27931050 WETH, +924.43735200 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -924.43735200 USDT, +0.01943085 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.01943085 WBTC, +0.27238047 WETH
-0.00776796 WETH
Maximum reached
 
273WETH -> WBTC -> Waves.Exchange
Deal: 0.00049728 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00049728 WETH, +0.00003499 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00003499 WBTC, +0.99971428 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.99971428 Waves.Exchange, +0.00049985 WETH
-0.00033119 WETH
274WETH -> WBTC -> Waves.Exchange
Deal: 0.07127362 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.07127362 WETH, +0.00501642 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501642 WBTC, +111.62751210 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -111.62751210 Waves.Exchange, +0.01275310 WETH
-0.05885428 WETH
275WETH -> WBTC -> Waves.Exchange
Deal: 0.21358773 WETH
Max: 0.2793105
Fee: 0.00064076
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.21358773 WETH, +0.01503288 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503288 WBTC, +191.30413222 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -191.30413222 Waves.Exchange, +0.02157808 WETH
-0.19265041 WETH
276WETH -> WBTC -> Waves.Exchange
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27931050 WETH, +0.01965859 WBTC
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01965859 WBTC, +222.14219889 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -222.14219889 Waves.Exchange, +0.02499370 WETH
-0.25515473 WETH
Maximum reached
 
277WETH -> Waves.Exchange -> WBTC
Deal: 0.03000000 WETH
Max: 0.2793105
Fee: 0.00033376
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.03000000 WETH, +30.00000000 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -30.00000000 Waves.Exchange, +0.00071550 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00071550 WBTC, +0.01002983 WETH
-0.02030393 WETH
278WETH -> Waves.Exchange -> WBTC
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.27931050 WETH, +82.75959313 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -82.75959313 Waves.Exchange, +0.00113810 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00113810 WBTC, +0.01595380 WETH
-0.26419463 WETH
Maximum reached
 
279WETH -> WBTC -> NSBT
Deal: 0.18950355 WETH
Max: 0.2793105
Fee: 0.00056851
Market: WETH -> WBTC (sell)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.18950355 WETH, +0.01333777 WBTC
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01333777 WBTC, +13.33777000 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -13.33777000 NSBT, +0.04001331 WETH
-0.15005875 WETH
280WETH -> WBTC -> NSBT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> WBTC (sell)
Position: 2
Sell: 0.07038240 (0.37319738)
Buy: 0.07154948 (0.59764385)
Result: -0.27931050 WETH, +0.01965859 WBTC
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01965859 WBTC, +19.65859000 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -19.65859000 NSBT, +0.05897577 WETH
-0.22117266 WETH
Maximum reached
 
281WETH -> NSBT -> WBTC
Deal: 0.01499999 WETH
Max: 0.2793105
Fee: 0.00033376
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.01499999 WETH, +1.00000000 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -1.00000000 NSBT, +0.00059999 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.00059999 WBTC, +0.00841062 WETH
-0.00692313 WETH
282WETH -> NSBT -> WBTC
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.27931050 WETH, +18.62070000 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -18.62070000 NSBT, +0.01117242 WBTC
Market: WETH -> WBTC (buy)
Position: 1
Sell: 0.07038274 (0.18950355)
Buy: 0.07133716 (0.29806304)
Result: -0.01117242 WBTC, +0.15661430 WETH
-0.12353413 WETH
Maximum reached
 
283WETH -> USD-N -> USDT
Deal: 0.09010217 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.09010217 WETH, +308.25083100 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -308.25083100 USD-N, +307.32884400 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -307.32884400 USDT, +0.08783333 WETH
-0.0026026 WETH
284WETH -> USD-N -> USDT
Deal: 0.26627547 WETH
Max: 0.2793105
Fee: 0.00079883
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.26627547 WETH, +910.91745500 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -910.91745500 USD-N, +908.19287600 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -908.19287600 USDT, +0.25954137 WETH
-0.00753293 WETH
285WETH -> USD-N -> USDT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.27931050 WETH, +955.46733300 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -955.46733300 USD-N, +952.60950400 USDT
Market: WETH -> USDT (buy)
Position: 3
Sell: 3203.00000000 (1.91779408)
Buy: 3749.00000000 (0.33933223)
Result: -952.60950400 USDT, +0.27138896 WETH
-0.00875947 WETH
Maximum reached
 
286WETH -> USDT -> USD-N
Deal: 0.16609225 WETH
Max: 0.2793105
Fee: 0.00049828
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.16609225 WETH, +552.98748700 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -552.98748700 USDT, +553.81696800 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -553.81696800 USD-N, +0.16155806 WETH
-0.00503247 WETH
287WETH -> USDT -> USD-N
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.27931050 WETH, +924.43735200 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -924.43735200 USDT, +925.82400800 USD-N
Market: WETH -> USD-N (buy)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -925.82400800 USD-N, +0.27006174 WETH
-0.01008669 WETH
Maximum reached
 
288WETH -> USD-N -> Waves.Exchange
Deal: 0.00040489 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.00040489 WETH, +1.38517900 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -1.38517900 USD-N, +0.99998483 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.99998483 Waves.Exchange, +0.00049998 WETH
-0.00023867 WETH
289WETH -> USD-N -> Waves.Exchange
Deal: 0.20305595 WETH
Max: 0.2793105
Fee: 0.00060917
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.20305595 WETH, +694.67988800 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -694.67988800 USD-N, +501.50150736 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -501.50150736 Waves.Exchange, +0.05593554 WETH
-0.14772958 WETH
290WETH -> USD-N -> Waves.Exchange
Deal: 0.22332101 WETH
Max: 0.2793105
Fee: 0.00066996
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.22332101 WETH, +764.00920100 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -764.00920100 USD-N, +551.55154561 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 3
Sell: 0.00011075 (551.00000000)
Buy: 0.00699980 (360.00000000)
Result: -551.55154561 Waves.Exchange, +0.06147858 WETH
-0.16251239 WETH
End of DOM (step 3, bids, position 3). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu
 
291WETH -> Waves.Exchange -> USD-N
Deal: 0.05000000 WETH
Max: 0.2793105
Fee: 0.00033376
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.05000000 WETH, +50.00000000 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -50.00000000 Waves.Exchange, +69.16499899 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -69.16499899 USD-N, +0.02017663 WETH
-0.03015713 WETH
292WETH -> Waves.Exchange -> USD-N
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.27931050 WETH, +82.75959313 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -82.75959313 Waves.Exchange, +114.48134500 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -114.48134500 USD-N, +0.03339620 WETH
-0.24675223 WETH
Maximum reached
 
293WETH -> USD-N -> NSBT
Deal: 0.10519929 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USD-N (sell)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -0.10519929 WETH, +359.89997300 USD-N
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -359.89997300 USD-N, +9.99999900 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -9.99999900 NSBT, +0.02999999 WETH
-0.07553306 WETH
294WETH -> USD-N -> NSBT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USD-N (sell)
Position: 2
Sell: 3417.70430000 (0.50675258)
Buy: 3431.40270000 (0.50547649)
Result: -0.27931050 WETH, +955.46733300 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -955.46733300 USD-N, +26.54353700 NSBT
Market: NSBT -> WETH (sell)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -26.54353700 NSBT, +0.07808706 WETH
-0.20206137 WETH
Maximum reached
 
295WETH -> NSBT -> USD-N
Deal: 0.01499999 WETH
Max: 0.2793105
Fee: 0.00033376
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.01499999 WETH, +1.00000000 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -1.00000000 NSBT, +34.10000100 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -34.10000100 USD-N, +0.00994755 WETH
-0.0053862 WETH
296WETH -> NSBT -> USD-N
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.27931050 WETH, +18.62070000 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -18.62070000 NSBT, +634.96588799 USD-N
Market: WETH -> USD-N (buy)
Position: 1
Sell: 3421.12550000 (0.25331377)
Buy: 3427.97470000 (0.25280050)
Result: -634.96588799 USD-N, +0.18523062 WETH
-0.09491781 WETH
Maximum reached
 
297WETH -> USDT -> Waves.Exchange
Deal: 0.00042049 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.00042049 WETH, +1.39997900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -1.39997900 USDT, +0.99998500 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.99998500 Waves.Exchange, +0.00049998 WETH
-0.00025427 WETH
298WETH -> USDT -> Waves.Exchange
Deal: 0.09714042 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.09714042 WETH, +323.41928500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -323.41928500 USDT, +228.08530078 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -228.08530078 Waves.Exchange, +0.02565196 WETH
-0.07182222 WETH
299WETH -> USDT -> Waves.Exchange
Deal: 0.10864800 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.10864800 WETH, +361.73261800 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -361.73261800 USDT, +255.06667037 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 3
Sell: 0.00011075 (551.00000000)
Buy: 0.00699980 (360.00000000)
Result: -255.06667037 Waves.Exchange, +0.02864042 WETH
-0.08034134 WETH
End of DOM (step 3, bids, position 3). Pair: Atqv59EYzjFGuitKVnMRk6H8FukjoV3ktPorbEys25on/474jTeYx2r2Va35794tCScAXWJG9hU2HcgxzMowaZUnu
 
300WETH -> Waves.Exchange -> USDT
Deal: 0.05000000 WETH
Max: 0.2793105
Fee: 0.00033376
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.05000000 WETH, +50.00000000 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -50.00000000 Waves.Exchange, +68.66499899 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -68.66499899 USDT, +0.01962417 WETH
-0.03070959 WETH
301WETH -> Waves.Exchange -> USDT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.27931050 WETH, +82.75959313 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -82.75959313 Waves.Exchange, +113.65374900 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -113.65374900 USDT, +0.03248178 WETH
-0.24766665 WETH
Maximum reached
 
302WETH -> USDT -> NSBT
Deal: 0.00600708 WETH
Max: 0.2793105
Fee: 0.00033376
Market: WETH -> USDT (sell)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -0.00600708 WETH, +19.99997000 USDT
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99997000 USDT, +0.49999900 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.49999900 NSBT, +0.00149999 WETH
-0.00484085 WETH
303WETH -> USDT -> NSBT
Deal: 0.25184431 WETH
Max: 0.2793105
Fee: 0.00075553
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.25184431 WETH, +834.32544400 USDT
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -834.32544400 USDT, +20.85816000 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -20.85816000 NSBT, +0.06257448 WETH
-0.19002536 WETH
304WETH -> USDT -> NSBT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: WETH -> USDT (sell)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -0.27931050 WETH, +924.43735200 USDT
Market: NSBT -> USDT (buy)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -924.43735200 USDT, +23.11096000 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -23.11096000 NSBT, +0.06933288 WETH
-0.21081555 WETH
Maximum reached
 
305WETH -> NSBT -> USDT
Deal: 0.01499999 WETH
Max: 0.2793105
Fee: 0.00033376
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.01499999 WETH, +1.00000000 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -1.00000000 NSBT, +28.00000100 USDT
Market: WETH -> USDT (buy)
Position: 1
Sell: 3329.39970000 (0.16609225)
Buy: 3498.99999900 (0.08783334)
Result: -28.00000100 USDT, +0.00800228 WETH
-0.00733147 WETH
306WETH -> NSBT -> USDT
Deal: 0.20321605 WETH
Max: 0.2793105
Fee: 0.00060965
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.20321605 WETH, +13.54773700 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -13.54773700 NSBT, +336.59795600 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -336.59795600 USDT, +0.09619832 WETH
-0.10762738 WETH
307WETH -> NSBT -> USDT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.27931050 WETH, +18.62070000 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -18.62070000 NSBT, +448.21329200 USDT
Market: WETH -> USDT (buy)
Position: 2
Sell: 3280.83030000 (1.91154994)
Buy: 3499.00000000 (0.25931090)
Result: -448.21329200 USDT, +0.12809752 WETH
-0.15205091 WETH
Maximum reached
 
308WETH -> Waves.Exchange -> NSBT
Deal: 0.02400000 WETH
Max: 0.2793105
Fee: 0.00033376
Market: Waves.Exchange -> WETH (buy)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.02400000 WETH, +24.00000000 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -24.00000000 Waves.Exchange, +0.50402400 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.50402400 NSBT, +0.00151207 WETH
-0.02282169 WETH
309WETH -> Waves.Exchange -> NSBT
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: Waves.Exchange -> WETH (buy)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -0.27931050 WETH, +82.75959313 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -82.75959313 Waves.Exchange, +1.73797500 NSBT
Market: NSBT -> WETH (sell)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -1.73797500 NSBT, +0.00521392 WETH
-0.27493451 WETH
Maximum reached
 
310WETH -> NSBT -> Waves.Exchange
Deal: 0.00299998 WETH
Max: 0.2793105
Fee: 0.00033376
Market: NSBT -> WETH (buy)
Position: 1
Sell: 0.00300000 (25.00000000)
Buy: 0.01499999 (1.00000000)
Result: -0.00299998 WETH, +0.19999800 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -0.19999800 NSBT, +0.99999499 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 1
Sell: 0.00050000 (1.00000000)
Buy: 0.00100000 (50.00000000)
Result: -0.99999499 Waves.Exchange, +0.00049998 WETH
-0.00283376 WETH
311WETH -> NSBT -> Waves.Exchange
Deal: 0.27931050 WETH
Max: 0.2793105
Fee: 0.00083793
Market: NSBT -> WETH (buy)
Position: 2
Sell: 0.00200000 (50.00000000)
Buy: 0.01500000 (26.00000000)
Result: -0.27931050 WETH, +18.62070000 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -18.62070000 NSBT, +93.10360000 Waves.Exchange
Market: Waves.Exchange -> WETH (sell)
Position: 2
Sell: 0.00011076 (501.00000000)
Buy: 0.00699979 (60.00000000)
Result: -93.10360000 Waves.Exchange, +0.01070139 WETH
-0.26944704 WETH
Maximum reached
 
312WBTC -> USD-N -> USDT
Deal: 0.00508197 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00508197 WBTC, +242.40077000 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -242.40077000 USD-N, +241.67574200 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -241.67574200 USDT, +0.00508063 WBTC
-2.532E-5 WBTC
313WBTC -> USD-N -> USDT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01996249 WBTC, +952.17464000 USD-N
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -952.17464000 USD-N, +949.32666000 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -949.32666000 USDT, +0.01995397 WBTC
-6.841E-5 WBTC
Maximum reached
 
314WBTC -> USDT -> USD-N
Deal: 0.00329645 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00329645 WBTC, +156.58137400 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -156.58137400 USDT, +156.81624600 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -156.81624600 USD-N, +0.00328139 WBTC
-3.904E-5 WBTC
315WBTC -> USDT -> USD-N
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01996249 WBTC, +946.25168200 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -946.25168200 USDT, +947.67105900 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -947.67105900 USD-N, +0.01983012 WBTC
-0.00019226 WBTC
Maximum reached
 
316WBTC -> USD-N -> Waves.Exchange
Deal: 0.00087122 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00087122 WBTC, +41.55561700 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -41.55561700 USD-N, +29.99972350 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -29.99972350 Waves.Exchange, +0.00071549 WBTC
-0.00017971 WBTC
317WBTC -> USD-N -> Waves.Exchange
Deal: 0.00667941 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00667941 WBTC, +318.59576700 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -318.59576700 USD-N, +229.99983179 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -229.99983179 Waves.Exchange, +0.00231749 WBTC
-0.0043859 WBTC
318WBTC -> USD-N -> Waves.Exchange
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01996249 WBTC, +952.17464000 USD-N
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -952.17464000 USD-N, +687.39145249 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -687.39145249 Waves.Exchange, +0.00597663 WBTC
-0.01404575 WBTC
Maximum reached
 
319WBTC -> Waves.Exchange -> USD-N
Deal: 0.00263648 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00263648 WBTC, +75.32800000 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -75.32800000 Waves.Exchange, +104.20122200 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -104.20122200 USD-N, +0.00218042 WBTC
-0.00048004 WBTC
320WBTC -> Waves.Exchange -> USD-N
Deal: 0.00501640 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501640 WBTC, +111.62731210 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -111.62731210 Waves.Exchange, +154.41406000 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -154.41406000 USD-N, +0.00323113 WBTC
-0.00180925 WBTC
321WBTC -> Waves.Exchange -> USD-N
Deal: 0.01503281 WBTC
Max: 0.01996249
Fee: 0.00004510
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503281 WBTC, +191.30366556 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -191.30366556 Waves.Exchange, +264.63036000 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -264.63036000 USD-N, +0.00553741 WBTC
-0.0095405 WBTC
322WBTC -> Waves.Exchange -> USD-N
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01996249 WBTC, +224.16819889 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -224.16819889 Waves.Exchange, +310.09186899 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -310.09186899 USD-N, +0.00648870 WBTC
-0.01353368 WBTC
Maximum reached
 
323WBTC -> USD-N -> NSBT
Deal: 0.00754535 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.00754535 WBTC, +359.89953700 USD-N
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -359.89953700 USD-N, +9.99998700 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -9.99998700 NSBT, +0.00599999 WBTC
-0.00156934 WBTC
324WBTC -> USD-N -> NSBT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: WBTC -> USD-N (sell)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -0.01996249 WBTC, +952.17464000 USD-N
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -952.17464000 USD-N, +26.45207300 NSBT
Market: NSBT -> WBTC (sell)
Position: 2
Sell: 0.00031000 (41.01035000)
Buy: 0.00120000 (50.00000000)
Result: -26.45207300 NSBT, +0.01574314 WBTC
-0.00427924 WBTC
Maximum reached
 
325WBTC -> NSBT -> USD-N
Deal: 0.01034747 WBTC
Max: 0.01996249
Fee: 0.00003104
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01034747 WBTC, +10.34747000 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -10.34747000 NSBT, +352.84873700 USD-N
Market: WBTC -> USD-N (buy)
Position: 1
Sell: 47698.19000000 (0.03224803)
Buy: 47789.47000000 (0.00738340)
Result: -352.84873700 USD-N, +0.00738339 WBTC
-0.00299512 WBTC
326WBTC -> NSBT -> USD-N
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01996249 WBTC, +19.96249000 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -19.96249000 NSBT, +680.72092799 USD-N
Market: WBTC -> USD-N (buy)
Position: 2
Sell: 47650.49000000 (0.06451217)
Buy: 47789.48000000 (0.05087216)
Result: -680.72092799 USD-N, +0.01424416 WBTC
-0.00577822 WBTC
Maximum reached
 
327WBTC -> USDT -> Waves.Exchange
Deal: 0.00067789 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00067789 WBTC, +32.19977500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -32.19977500 USDT, +22.99983928 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -22.99983928 Waves.Exchange, +0.00054854 WBTC
-0.00015333 WBTC
328WBTC -> USDT -> Waves.Exchange
Deal: 0.00672620 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.00672620 WBTC, +319.08978900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -319.08978900 USDT, +225.03634276 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -225.03634276 Waves.Exchange, +0.00227774 WBTC
-0.00447244 WBTC
329WBTC -> USDT -> Waves.Exchange
Deal: 0.00752301 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.00752301 WBTC, +356.84424000 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -356.84424000 USDT, +251.62413368 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -251.62413368 Waves.Exchange, +0.00249049 WBTC
-0.0050565 WBTC
330WBTC -> USDT -> Waves.Exchange
Deal: 0.00867058 WBTC
Max: 0.01996249
Fee: 0.00002601
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.00867058 WBTC, +411.21840200 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 4
Sell: 1.30800000 (2051.47494685)
Buy: 1.41999300 (289.31819760)
Result: -411.21840200 USDT, +289.91598413 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -289.91598413 Waves.Exchange, +0.00279682 WBTC
-0.00589977 WBTC
331WBTC -> USDT -> Waves.Exchange
Deal: 0.00903190 WBTC
Max: 0.01996249
Fee: 0.00002710
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.00903190 WBTC, +428.33846600 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 5
Sell: 1.28400000 (2151.47494685)
Buy: 1.41999700 (301.37377301)
Result: -428.33846600 USDT, +301.97239229 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -301.97239229 Waves.Exchange, +0.00289327 WBTC
-0.00616573 WBTC
332WBTC -> USDT -> Waves.Exchange
Deal: 0.00936591 WBTC
Max: 0.01996249
Fee: 0.00002810
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.00936591 WBTC, +444.16452800 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 6
Sell: 1.26008900 (2183.21873637)
Buy: 1.41999800 (312.51860013)
Result: -444.16452800 USDT, +313.11752123 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -313.11752123 Waves.Exchange, +0.00298244 WBTC
-0.00641157 WBTC
333WBTC -> USDT -> Waves.Exchange
Deal: 0.01196232 WBTC
Max: 0.01996249
Fee: 0.00003589
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01196232 WBTC, +567.18762700 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 7
Sell: 1.25100000 (2283.21873637)
Buy: 1.42000000 (399.15408837)
Result: -567.18762700 USDT, +399.75107854 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -399.75107854 Waves.Exchange, +0.00367550 WBTC
-0.00832271 WBTC
334WBTC -> USDT -> Waves.Exchange
Deal: 0.01208038 WBTC
Max: 0.01996249
Fee: 0.00003624
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01208038 WBTC, +572.78154600 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 8
Sell: 1.25000000 (2363.21873637)
Buy: 1.42577500 (401.46085007)
Result: -572.78154600 USDT, +403.67415421 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -403.67415421 Waves.Exchange, +0.00370689 WBTC
-0.00840973 WBTC
335WBTC -> USDT -> Waves.Exchange
Deal: 0.01654811 WBTC
Max: 0.01996249
Fee: 0.00004964
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01654811 WBTC, +784.47152900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 9
Sell: 1.24100000 (2463.21873637)
Buy: 1.42599900 (549.84796609)
Result: -784.47152900 USDT, +552.12445518 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -552.12445518 Waves.Exchange, +0.00489448 WBTC
-0.01170327 WBTC
336WBTC -> USDT -> Waves.Exchange
Deal: 0.01829368 WBTC
Max: 0.01996249
Fee: 0.00005488
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01829368 WBTC, +867.18012600 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 10
Sell: 1.24022000 (2713.34611135)
Buy: 1.42600000 (607.84796609)
Result: -867.18012600 USDT, +610.12487382 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -610.12487382 Waves.Exchange, +0.00535849 WBTC
-0.01299007 WBTC
Maximum depth
 
337WBTC -> Waves.Exchange -> USDT
Deal: 0.00263648 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00263648 WBTC, +75.32800000 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -75.32800000 Waves.Exchange, +103.44794200 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -103.44794200 USDT, +0.00217473 WBTC
-0.00048573 WBTC
338WBTC -> Waves.Exchange -> USDT
Deal: 0.00501640 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501640 WBTC, +111.62731210 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -111.62731210 Waves.Exchange, +153.29778700 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -153.29778700 USDT, +0.00322270 WBTC
-0.00181768 WBTC
339WBTC -> Waves.Exchange -> USDT
Deal: 0.01503281 WBTC
Max: 0.01996249
Fee: 0.00004510
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503281 WBTC, +191.30366556 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -191.30366556 Waves.Exchange, +262.71732300 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -262.71732300 USDT, +0.00552288 WBTC
-0.00955503 WBTC
340WBTC -> Waves.Exchange -> USDT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01996249 WBTC, +224.16819889 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -224.16819889 Waves.Exchange, +307.85018700 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -307.85018700 USDT, +0.00647148 WBTC
-0.0135509 WBTC
Maximum reached
 
341WBTC -> USDT -> NSBT
Deal: 0.00042105 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: WBTC -> USDT (sell)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -0.00042105 WBTC, +19.99987500 USDT
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99987500 USDT, +0.49999700 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.49999700 NSBT, +0.00029998 WBTC
-0.00014505 WBTC
342WBTC -> USDT -> NSBT
Deal: 0.01743823 WBTC
Max: 0.01996249
Fee: 0.00005231
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01743823 WBTC, +826.64719400 USDT
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -826.64719400 USDT, +20.66620300 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -20.66620300 NSBT, +0.01239972 WBTC
-0.00509082 WBTC
343WBTC -> USDT -> NSBT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: WBTC -> USDT (sell)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -0.01996249 WBTC, +946.25168200 USDT
Market: NSBT -> USDT (buy)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -946.25168200 USDT, +23.65631900 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -23.65631900 NSBT, +0.01419379 WBTC
-0.00582859 WBTC
Maximum reached
 
344WBTC -> NSBT -> USDT
Deal: 0.00500000 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.00500000 WBTC, +5.00000000 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -5.00000000 NSBT, +140.00000499 USDT
Market: WBTC -> USDT (buy)
Position: 1
Sell: 47500.00000000 (0.00329645)
Buy: 47568.00000000 (0.00508064)
Result: -140.00000499 USDT, +0.00294315 WBTC
-0.00208083 WBTC
345WBTC -> NSBT -> USDT
Deal: 0.01354773 WBTC
Max: 0.01996249
Fee: 0.00004064
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01354773 WBTC, +13.54773000 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -13.54773000 NSBT, +336.59779500 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -336.59779500 USDT, +0.00707569 WBTC
-0.00651268 WBTC
346WBTC -> NSBT -> USDT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01996249 WBTC, +19.96249000 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -19.96249000 NSBT, +477.73535700 USDT
Market: WBTC -> USDT (buy)
Position: 2
Sell: 47382.00000000 (0.16325516)
Buy: 47578.50000000 (0.16503935)
Result: -477.73535700 USDT, +0.01004211 WBTC
-0.00998027 WBTC
Maximum reached
 
347WBTC -> Waves.Exchange -> NSBT
Deal: 0.00083999 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -0.00083999 WBTC, +23.99971428 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -23.99971428 Waves.Exchange, +0.50401700 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.50401700 NSBT, +0.00030241 WBTC
-0.00056156 WBTC
348WBTC -> Waves.Exchange -> NSBT
Deal: 0.00501640 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: Waves.Exchange -> WBTC (buy)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -0.00501640 WBTC, +111.62731210 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -111.62731210 Waves.Exchange, +2.34419700 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -2.34419700 NSBT, +0.00140651 WBTC
-0.00363387 WBTC
349WBTC -> Waves.Exchange -> NSBT
Deal: 0.01503281 WBTC
Max: 0.01996249
Fee: 0.00004510
Market: Waves.Exchange -> WBTC (buy)
Position: 3
Sell: 0.00000800 (950.00000000)
Buy: 0.00010000 (150.32817247)
Result: -0.01503281 WBTC, +191.30366556 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -191.30366556 Waves.Exchange, +4.01740000 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -4.01740000 NSBT, +0.00241043 WBTC
-0.01266748 WBTC
350WBTC -> Waves.Exchange -> NSBT
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: Waves.Exchange -> WBTC (buy)
Position: 4
Sell: 0.00000711 (971.28129395)
Buy: 0.00015000 (250.32817247)
Result: -0.01996249 WBTC, +224.16819889 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -224.16819889 Waves.Exchange, +4.70755600 NSBT
Market: NSBT -> WBTC (sell)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -4.70755600 NSBT, +0.00282453 WBTC
-0.01719785 WBTC
Maximum reached
 
351WBTC -> NSBT -> Waves.Exchange
Deal: 0.00399998 WBTC
Max: 0.01996249
Fee: 0.00002398
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.00399998 WBTC, +3.99998000 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -3.99998000 NSBT, +20.00000000 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 1
Sell: 0.00002385 (30.00000000)
Buy: 0.00003500 (75.32817247)
Result: -20.00000000 Waves.Exchange, +0.00047700 WBTC
-0.00354696 WBTC
352WBTC -> NSBT -> Waves.Exchange
Deal: 0.01996249 WBTC
Max: 0.01996249
Fee: 0.00005989
Market: NSBT -> WBTC (buy)
Position: 1
Sell: 0.00060000 (26.01035000)
Buy: 0.00100000 (25.00000000)
Result: -0.01996249 WBTC, +19.96249000 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -19.96249000 NSBT, +99.81254999 Waves.Exchange
Market: Waves.Exchange -> WBTC (sell)
Position: 2
Sell: 0.00000801 (230.00000000)
Buy: 0.00005000 (100.32817247)
Result: -99.81254999 Waves.Exchange, +0.00127469 WBTC
-0.01874769 WBTC
Maximum reached
 
353USD-N -> USDT -> Waves.Exchange
Deal: 32.29659900 USD-N
Max: 946.754999
Fee: 1.13859840
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -32.29659900 USD-N, +32.19999900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -32.19999900 USDT, +22.99999928 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -22.99999928 Waves.Exchange, +31.81589900 USD-N
-1.6192984 USD-N
354USD-N -> USDT -> Waves.Exchange
Deal: 319.65733900 USD-N
Max: 946.754999
Fee: 1.13859840
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -319.65733900 USD-N, +318.70123500 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -318.70123500 USDT, +224.76271164 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -224.76271164 Waves.Exchange, +310.91425900 USD-N
-9.8816784 USD-N
355USD-N -> USDT -> Waves.Exchange
Deal: 357.52502900 USD-N
Max: 946.754999
Fee: 1.13859840
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -357.52502900 USD-N, +356.45566200 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -356.45566200 USDT, +251.35048585 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -251.35048585 Waves.Exchange, +347.69312700 USD-N
-10.9705004 USD-N
356USD-N -> USDT -> Waves.Exchange
Deal: 412.06230400 USD-N
Max: 946.754999
Fee: 1.23618691
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -412.06230400 USD-N, +410.82981400 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 4
Sell: 1.30800000 (2051.47494685)
Buy: 1.41999300 (289.31819760)
Result: -410.82981400 USDT, +289.64233004 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -289.64233004 Waves.Exchange, +400.66223500 USD-N
-12.63625591 USD-N
357USD-N -> USDT -> Waves.Exchange
Deal: 429.23370300 USD-N
Max: 946.754999
Fee: 1.28770111
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -429.23370300 USD-N, +427.94985300 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 5
Sell: 1.28400000 (2151.47494685)
Buy: 1.41999700 (301.37377301)
Result: -427.94985300 USDT, +301.69872077 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -301.69872077 Waves.Exchange, +417.33984000 USD-N
-13.18156411 USD-N
358USD-N -> USDT -> Waves.Exchange
Deal: 445.10711400 USD-N
Max: 946.754999
Fee: 1.33532134
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -445.10711400 USD-N, +443.77578600 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 6
Sell: 1.26008900 (2183.21873637)
Buy: 1.41999800 (312.51860013)
Result: -443.77578600 USDT, +312.84375926 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -312.84375926 Waves.Exchange, +432.75677200 USD-N
-13.68566334 USD-N
359USD-N -> USDT -> Waves.Exchange
Deal: 568.49920100 USD-N
Max: 946.754999
Fee: 1.70549760
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -568.49920100 USD-N, +566.79880400 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 7
Sell: 1.25100000 (2283.21873637)
Buy: 1.42000000 (399.15408837)
Result: -566.79880400 USDT, +399.47836861 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -399.47836861 Waves.Exchange, +552.59842700 USD-N
-17.6062716 USD-N
360USD-N -> USDT -> Waves.Exchange
Deal: 574.11002200 USD-N
Max: 946.754999
Fee: 1.72233007
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -574.11002200 USD-N, +572.39284300 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 8
Sell: 1.25000000 (2363.21873637)
Buy: 1.42577500 (401.46085007)
Result: -572.39284300 USDT, +403.40157127 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -403.40157127 Waves.Exchange, +558.02539300 USD-N
-17.80695907 USD-N
361USD-N -> USDT -> Waves.Exchange
Deal: 786.43489700 USD-N
Max: 946.754999
Fee: 2.35930469
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -786.43489700 USD-N, +784.08264900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 9
Sell: 1.24100000 (2463.21873637)
Buy: 1.42599900 (549.84796609)
Result: -784.08264900 USDT, +551.85174830 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -551.85174830 Waves.Exchange, +763.37652300 USD-N
-25.41767869 USD-N
362USD-N -> USDT -> Waves.Exchange
Deal: 869.39157300 USD-N
Max: 946.754999
Fee: 2.60817472
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -869.39157300 USD-N, +866.79119900 USDT
Market: Waves.Exchange -> USDT (buy)
Position: 10
Sell: 1.24022000 (2713.34611135)
Buy: 1.42600000 (607.84796609)
Result: -866.79119900 USDT, +609.85213400 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -609.85213400 Waves.Exchange, +843.60845600 USD-N
-28.39129172 USD-N
Maximum depth
 
363USD-N -> Waves.Exchange -> USDT
Deal: 946.75499900 USD-N
Max: 946.754999
Fee: 2.84026500
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -946.75499900 USD-N, +683.47891928 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -683.47891928 Waves.Exchange, +938.62159900 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -938.62159900 USDT, +940.02953100 USD-N
-9.565733 USD-N
Maximum reached
 
364USD-N -> USDT -> NSBT
Deal: 20.05997600 USD-N
Max: 946.754999
Fee: 1.13859840
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -20.05997600 USD-N, +19.99997600 USDT
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99997600 USDT, +0.49999900 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -0.49999900 NSBT, +17.04996600 USD-N
-4.1486084 USD-N
365USD-N -> USDT -> NSBT
Deal: 828.73722500 USD-N
Max: 946.754999
Fee: 2.48621168
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -828.73722500 USD-N, +826.25844900 USDT
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -826.25844900 USDT, +20.65648400 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -20.65648400 NSBT, +704.38612500 USD-N
-126.83731168 USD-N
366USD-N -> USDT -> NSBT
Deal: 946.75499900 USD-N
Max: 946.754999
Fee: 2.84026500
Market: USDT -> USD-N (buy)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -946.75499900 USD-N, +943.92322900 USDT
Market: NSBT -> USDT (buy)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -943.92322900 USDT, +23.59810700 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -23.59810700 NSBT, +804.69547200 USD-N
-144.899792 USD-N
Maximum reached
 
367USD-N -> NSBT -> USDT
Deal: 179.95000000 USD-N
Max: 946.754999
Fee: 1.13859840
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -179.95000000 USD-N, +4.99999900 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -4.99999900 NSBT, +139.99997600 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -139.99997600 USDT, +140.20997499 USD-N
-40.87862341 USD-N
368USD-N -> NSBT -> USDT
Deal: 487.71853200 USD-N
Max: 946.754999
Fee: 1.46315560
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -487.71853200 USD-N, +13.55051400 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -13.55051400 NSBT, +336.65905500 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -336.65905500 USDT, +337.16404300 USD-N
-152.0176446 USD-N
369USD-N -> NSBT -> USDT
Deal: 847.71853100 USD-N
Max: 946.754999
Fee: 2.54315559
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -847.71853100 USD-N, +23.55051400 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -23.55051400 NSBT, +556.67906500 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -556.67906500 USDT, +557.51408300 USD-N
-292.74760359 USD-N
370USD-N -> NSBT -> USDT
Deal: 852.62716800 USD-N
Max: 946.754999
Fee: 2.55788150
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -852.62716800 USD-N, +23.68686500 NSBT
Market: NSBT -> USDT (sell)
Position: 4
Sell: 22.00200000 (23.68408800)
Buy: 999.99999700 (32.40402200)
Result: -23.68686500 NSBT, +559.62073700 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -559.62073700 USDT, +560.46016799 USD-N
-294.72488151 USD-N
371USD-N -> NSBT -> USDT
Deal: 946.75499900 USD-N
Max: 946.754999
Fee: 2.84026500
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -946.75499900 USD-N, +26.30152700 NSBT
Market: NSBT -> USDT (sell)
Position: 5
Sell: 1.00001100 (83.68408800)
Buy: 0.00000000 (32.40402200)
Result: -26.30152700 NSBT, +562.23542799 USDT
Market: USDT -> USD-N (sell)
Position: 1
Sell: 1.00150000 (51173.74445400)
Buy: 1.00300000 (20000.00000000)
Result: -562.23542799 USDT, +563.07878100 USD-N
-386.516483 USD-N
Maximum reached
 
372USD-N -> Waves.Exchange -> NSBT
Deal: 33.24479900 USD-N
Max: 946.754999
Fee: 1.13859840
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -33.24479900 USD-N, +23.99999927 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -23.99999927 Waves.Exchange, +0.50402300 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -0.50402300 NSBT, +17.18718399 USD-N
-17.19621341 USD-N
373USD-N -> Waves.Exchange -> NSBT
Deal: 946.75499900 USD-N
Max: 946.754999
Fee: 2.84026500
Market: Waves.Exchange -> USD-N (buy)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -946.75499900 USD-N, +683.47891928 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -683.47891928 Waves.Exchange, +14.35308100 NSBT
Market: NSBT -> USD-N (sell)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -14.35308100 NSBT, +489.44007600 USD-N
-460.155188 USD-N
Maximum reached
 
374USD-N -> NSBT -> Waves.Exchange
Deal: 143.95928000 USD-N
Max: 946.754999
Fee: 1.13859840
Market: NSBT -> USD-N (buy)
Position: 1
Sell: 34.10000100 (152.95002400)
Buy: 35.99000000 (10.00000000)
Result: -143.95928000 USD-N, +3.99997900 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -3.99997900 NSBT, +19.99999499 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -19.99999499 Waves.Exchange, +27.66599300 USD-N
-117.4318854 USD-N
375USD-N -> NSBT -> Waves.Exchange
Deal: 864.00000000 USD-N
Max: 946.754999
Fee: 2.59200000
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -864.00000000 USD-N, +24.00277700 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -24.00277700 NSBT, +120.00932333 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -120.00932333 Waves.Exchange, +166.00889600 USD-N
-700.583104 USD-N
376USD-N -> NSBT -> Waves.Exchange
Deal: 946.75499900 USD-N
Max: 946.754999
Fee: 2.84026500
Market: NSBT -> USD-N (buy)
Position: 2
Sell: 34.10000000 (172.11708100)
Buy: 36.00000000 (163.72535600)
Result: -946.75499900 USD-N, +26.30152700 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 3
Sell: 0.01600000 (2776.97619047)
Buy: 0.30000000 (220.00000000)
Result: -26.30152700 NSBT, +127.67182333 Waves.Exchange
Market: Waves.Exchange -> USD-N (sell)
Position: 1
Sell: 1.38330000 (1656.68146976)
Buy: 1.38520000 (1853.43169126)
Result: -127.67182333 Waves.Exchange, +176.60843300 USD-N
-772.986831 USD-N
Maximum reached
 
377USDT -> Waves.Exchange -> NSBT
Deal: 32.19999900 USDT
Max: 948.5
Fee: 1.13429532
Market: Waves.Exchange -> USDT (buy)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -32.19999900 USDT, +22.99999928 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -22.99999928 Waves.Exchange, +0.48302200 NSBT
Market: NSBT -> USDT (sell)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -0.48302200 NSBT, +13.52461600 USDT
-19.80967832 USDT
378USDT -> Waves.Exchange -> NSBT
Deal: 318.70123600 USDT
Max: 948.5
Fee: 1.13429532
Market: Waves.Exchange -> USDT (buy)
Position: 2
Sell: 1.36500800 (1689.40528152)
Buy: 1.41999100 (224.43891268)
Result: -318.70123600 USDT, +224.76271235 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -224.76271235 Waves.Exchange, +4.72004000 NSBT
Market: NSBT -> USDT (sell)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -4.72004000 NSBT, +132.16112400 USDT
-187.67440732 USDT
379USDT -> Waves.Exchange -> NSBT
Deal: 356.45566200 USDT
Max: 948.5
Fee: 1.13429532
Market: Waves.Exchange -> USDT (buy)
Position: 3
Sell: 1.35008900 (1951.47494685)
Buy: 1.41999200 (251.02652835)
Result: -356.45566200 USDT, +251.35048585 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -251.35048585 Waves.Exchange, +5.27838400 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -5.27838400 NSBT, +146.40283700 USDT
-211.18712032 USDT
380USDT -> Waves.Exchange -> NSBT
Deal: 410.82981500 USDT
Max: 948.5
Fee: 1.23248945
Market: Waves.Exchange -> USDT (buy)
Position: 4
Sell: 1.30800000 (2051.47494685)
Buy: 1.41999300 (289.31819760)
Result: -410.82981500 USDT, +289.64233075 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -289.64233075 Waves.Exchange, +6.08251200 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -6.08251200 NSBT, +164.89778100 USDT
-247.16452345 USDT
381USDT -> Waves.Exchange -> NSBT
Deal: 427.94985300 USDT
Max: 948.5
Fee: 1.28384956
Market: Waves.Exchange -> USDT (buy)
Position: 5
Sell: 1.28400000 (2151.47494685)
Buy: 1.41999700 (301.37377301)
Result: -427.94985300 USDT, +301.69872077 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -301.69872077 Waves.Exchange, +6.33569700 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -6.33569700 NSBT, +170.72103600 USDT
-258.51266656 USDT
382USDT -> Waves.Exchange -> NSBT
Deal: 443.77578700 USDT
Max: 948.5
Fee: 1.33132736
Market: Waves.Exchange -> USDT (buy)
Position: 6
Sell: 1.26008900 (2183.21873637)
Buy: 1.41999800 (312.51860013)
Result: -443.77578700 USDT, +312.84375996 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -312.84375996 Waves.Exchange, +6.56974200 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -6.56974200 NSBT, +176.10407100 USDT
-269.00304336 USDT
383USDT -> Waves.Exchange -> NSBT
Deal: 566.79880500 USDT
Max: 948.5
Fee: 1.70039642
Market: Waves.Exchange -> USDT (buy)
Position: 7
Sell: 1.25100000 (2283.21873637)
Buy: 1.42000000 (399.15408837)
Result: -566.79880500 USDT, +399.47836931 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -399.47836931 Waves.Exchange, +8.38906899 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -8.38906899 NSBT, +217.94859100 USDT
-350.55061042 USDT
384USDT -> Waves.Exchange -> NSBT
Deal: 572.39284300 USDT
Max: 948.5
Fee: 1.71717853
Market: Waves.Exchange -> USDT (buy)
Position: 8
Sell: 1.25000000 (2363.21873637)
Buy: 1.42577500 (401.46085007)
Result: -572.39284300 USDT, +403.40157127 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -403.40157127 Waves.Exchange, +8.47145600 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -8.47145600 NSBT, +219.84349300 USDT
-354.26652853 USDT
385USDT -> Waves.Exchange -> NSBT
Deal: 784.08264900 USDT
Max: 948.5
Fee: 2.35224795
Market: Waves.Exchange -> USDT (buy)
Position: 9
Sell: 1.24100000 (2463.21873637)
Buy: 1.42599900 (549.84796609)
Result: -784.08264900 USDT, +551.85174830 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -551.85174830 Waves.Exchange, +11.58891000 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -11.58891000 NSBT, +291.54493500 USDT
-494.88996195 USDT
386USDT -> Waves.Exchange -> NSBT
Deal: 866.79119900 USDT
Max: 948.5
Fee: 2.60037360
Market: Waves.Exchange -> USDT (buy)
Position: 10
Sell: 1.24022000 (2713.34611135)
Buy: 1.42600000 (607.84796609)
Result: -866.79119900 USDT, +609.85213400 Waves.Exchange
Market: Waves.Exchange -> NSBT (sell)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -609.85213400 Waves.Exchange, +12.80691800 NSBT
Market: NSBT -> USDT (sell)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -12.80691800 NSBT, +319.55911900 USDT
-549.8324536 USDT
Maximum depth
 
387USDT -> NSBT -> Waves.Exchange
Deal: 19.99997600 USDT
Max: 948.5
Fee: 1.13429532
Market: NSBT -> USDT (buy)
Position: 1
Sell: 28.00000100 (5.00000000)
Buy: 39.99995300 (0.50000000)
Result: -19.99997600 USDT, +0.49999900 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 1
Sell: 0.02100100 (24.00000000)
Buy: 0.19999900 (20.00000000)
Result: -0.49999900 NSBT, +2.50000750 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -2.50000750 Waves.Exchange, +3.43326000 USDT
-17.70101132 USDT
388USDT -> NSBT -> Waves.Exchange
Deal: 826.25844900 USDT
Max: 948.5
Fee: 2.47877535
Market: NSBT -> USDT (buy)
Position: 2
Sell: 23.00000000 (13.54773700)
Buy: 39.99995400 (20.65648500)
Result: -826.25844900 USDT, +20.65648400 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -20.65648400 NSBT, +103.28252000 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -103.28252000 Waves.Exchange, +141.83788400 USDT
-686.89934035 USDT
389USDT -> NSBT -> Waves.Exchange
Deal: 948.50000000 USDT
Max: 948.5
Fee: 2.84550000
Market: NSBT -> USDT (buy)
Position: 3
Sell: 22.00200100 (23.54773700)
Buy: 39.99995500 (31.65648500)
Result: -948.50000000 USDT, +23.71252700 NSBT
Market: Waves.Exchange -> NSBT (buy)
Position: 2
Sell: 0.02100000 (1214.47619047)
Buy: 0.20000000 (120.00000000)
Result: -23.71252700 NSBT, +118.56273500 Waves.Exchange
Market: Waves.Exchange -> USDT (sell)
Position: 1
Sell: 1.37330000 (1000.00000000)
Buy: 1.40000000 (23.00000000)
Result: -118.56273500 Waves.Exchange, +162.82220300 USDT
-788.523297 USDT
Maximum reached
 
\ No newline at end of file diff --git a/test/receive_data.php b/test/receive_data.php index 8d04115..d66cbc7 100644 --- a/test/receive_data.php +++ b/test/receive_data.php @@ -2,7 +2,6 @@ use Src\Aeron; use Src\Test\TestAeronFormatData; -use Src\Test\TestAgentFormatData; require dirname(__DIR__) . '/index.php'; @@ -154,8 +153,7 @@ 'used' => 0, 'total' => 0.15, ] - ]), - (new TestAgentFormatData('binance'))->configAndMarketInfoFromAgent() + ]) ]; while(true) {