RoboTradeCode / gate-ftx

0 stars 0 forks source link

Разбор ситуации #19

Open idvlab opened 2 years ago

idvlab commented 2 years ago

Вопрос лишь частично про гейт ftx, но все же решил здесь опубликовать. Произошла ситуация 03.06 в 18:34 мск:

  1. Ядро по каким-то причинам выставило сразу очень много ордеров на okx и ftx (93), хотя, вроде бы, такого не должно быть (@kleninmaxim)
  2. В логи попали 63 ордера на okx, которые почему-то дублировались каждый по 2 раза (от ядра был 31 запрос на okx) (@nomnoms12)
  3. От ftx вообще не пришли логи по ордерам, в логах гейта ftx я видел ошибку "Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms", но и видел сообщения об успешном выставлении ордера (@ckatpskov)

Много вопросов, если мысли у кого какие есть - делитесь.

Список команд от ядра к гейтам id exchange node event action instance algo message data created 617 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 616 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 615 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 614 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 613 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 612 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 611 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 610 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 609 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 608 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 607 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 606 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 605 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 604 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 603 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 602 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 601 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 600 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:30 599 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:30 598 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:30 597 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 596 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 595 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 594 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 593 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 592 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 591 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 590 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 589 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 588 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 587 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 586 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 585 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 584 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 583 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 582 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 581 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 580 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 579 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 578 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 577 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 576 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 575 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 574 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 573 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 572 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:29 571 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:29 570 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:29 569 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 568 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 567 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 566 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 565 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 564 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 563 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 562 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 561 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 560 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 559 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 558 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 557 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 556 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 555 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 554 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 553 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 552 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 551 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 550 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 549 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 548 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050109, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 547 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29550, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 546 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 545 ftx core command create_order 1 multi_3t_php Create order step_three [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.04, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 544 okx core command create_order 1 multi_3t_php Create order step_two [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.049997, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 543 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 29548, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:28 542 ftx core command create_order 1 multi_3t_php Create order step_three [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.04, "symbol": "LTC/BTC"}] 2022-06-03 18:34:28 541 okx core command create_order 1 multi_3t_php Create order step_two [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.049997, "symbol": "LTC/USDT"}] 2022-06-03 18:34:28 540 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 29548, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:27 539 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:27 538 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:27 537 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:27 536 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050104, "symbol": "LTC/USDT"}] 2022-06-03 18:34:27 535 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29547, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:27 534 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:27 533 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050114, "symbol": "LTC/USDT"}] 2022-06-03 18:34:26 532 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29553, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:26 531 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:26 530 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.03, "amount": 0.050114, "symbol": "LTC/USDT"}] 2022-06-03 18:34:26 529 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29553, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:26 528 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:26 527 okx core command create_order 1 multi_3t_php Create order step_three [{"side": "buy", "type": "market", "price": 62.06, "amount": 0.05009, "symbol": "LTC/USDT"}] 2022-06-03 18:34:25 526 ftx core command create_order 1 multi_3t_php Create order step_two [{"side": "sell", "type": "market", "price": 29553, "amount": 0.0001, "symbol": "BTC/USDT"}] 2022-06-03 18:34:25 525 ftx core command create_order 1 multi_3t_php Create order step_one [{"side": "sell", "type": "market", "price": 0.00210375, "amount": 0.05, "symbol": "LTC/BTC"}] 2022-06-03 18:34:25
Логи гейта FTX в 18:34 (как смог скопировал) [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29553 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":63.41148411,"free":63.41148411,"availableForWithdrawal":63.41148411,"availableWithoutBorrow":63.41148411,"usdValue":63> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0013388,"total":0.0013388,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":63.41148411,"free":63.41148411,"availableForWithdrawal":63.41148411,"availableWithoutBorrow":63.41148411,"usdValue":63> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0013388,"total":0.0013388,"used":0.0},"ETH":{"> [general] [info] (order_result_handler) Результат выставления ордера: {"success":true,"result":{"id":151732316102,"clientId":null,"market":"BTC/USDT","type> [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732316102,"clientId":null,"market":"BTC/USDT","type> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732316102 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":66.36351624,"free":66.36351624,"availableForWithdrawal":66.36351624,"availableWithoutBorrow":66.36351624,"usdValue":66> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012388,"total":0.0012388,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29553 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":66.36351624,"free":66.36351624,"availableForWithdrawal":66.36351624,"availableWithoutBorrow":66.36351624,"usdValue":66> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012388,"total":0.0012388,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":66.36351624,"free":66.36351624,"availableForWithdrawal":66.36351624,"availableWithoutBorrow":66.36351624,"usdValue":66> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012388,"total":0.0012388,"used":0.0},"ETH":{"> [general] [info] (order_result_handler) Результат выставления ордера: {"success":true,"result":{"id":151732317508,"clientId":null,"market":"BTC/USDT","type [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732317508,"clientId":null,"market":"BTC/USDT","type> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732317508 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":69.31554837,"free":69.31554837,"availableForWithdrawal":69.31554837,"availableWithoutBorrow":69.31554837,"usdValue":69> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012437,"total":0.0012437,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29553 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":69.31554837,"free":69.31554837,"availableForWithdrawal":69.31554837,"availableWithoutBorrow":69.31554837,"usdValue":69> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012437,"total":0.0012437,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":69.31554837,"free":69.31554837,"availableForWithdrawal":69.31554837,"availableWithoutBorrow":69.31554837,"usdValue":69> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012437,"total":0.0012437,"used":0.0},"ETH":{"> [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732318155,"clientId":null,"market":"LTC/BTC","type"> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732318155 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":69.31554837,"free":69.31554837,"availableForWithdrawal":69.31554837,"availableWithoutBorrow":69.31554837,"usdValue":69> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0012437,"total":0.0012437,"used":0.0},"ETH":{"> [general] [info] (order_result_handler) Результат выставления ордера: {"success":true,"result":{"id":151732318155,"clientId":null,"market":"LTC/BTC","type"> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0011437,"total":0.0011437,"used":0.0},"ETH":{"> [general] [info] *************************************** [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29548 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.04 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> lines 362-404 [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29548 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.04 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00124859,"total":0.00124859,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29550 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 lines 404-446 [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732319447,"clientId":null,"market":"BTC/USDT","type> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732319447 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> lines 449-491 [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу LTC/BTC с ценой: 0.00210375 и объёмом 0.05 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"create_order","message":"Create order ste> [general] [info] *************************************** [general] [info] Ядром выставлен market ордер на продажу BTC/USDT с ценой: 29547 и объёмом 0.0001 [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** [general] [info] (message from core): {"event":"command","exchange":"ftx","node":"core","instance": "1","action":"get_balances","message":"","algo":"multi_> [general] [info] *************************************** true,"result":[{"coin":"USDT","total":72.2675805,"free":72.2675805,"availableForWithdrawal":72.2675805,"availableWithoutBorrow":72.2675805,"usdValue":72.202> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.00135348,"total":0.00135348,"used":0.0},"ETH":> [general] [info] *************************************** lines 492-534 [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732340945,"clientId":null,"market":"LTC/BTC","type"> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732340945 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":75.21831354,"free":75.21831354,"availableForWithdrawal":75.21831354,"availableWithoutBorrow":75.21831354,"usdValue":75> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0018403,"total":0.0018403,"used":0.0},"ETH":{"> [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732340946,"clientId":null,"market":"LTC/BTC","type"> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732340946 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":75.21831354,"free":75.21831354,"availableForWithdrawal":75.21831354,"availableWithoutBorrow":75.21831354,"usdValue":75> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0018403,"total":0.0018403,"used":0.0},"ETH":{"> [general] [info] (order_result_handler) Результат выставления ордера: {"success":true,"result":{"id":151732341853,"clientId":null,"market":"LTC/BTC","type"> [general] [info] (order_result_handler) Результат выставления ордера: {"success":true,"result":{"id":151732340943,"clientId":null,"market":"LTC/BTC","type"> [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732341853,"clientId":null,"market":"LTC/BTC","type"> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732341853 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":75.21831354,"free":75.21831354,"availableForWithdrawal":75.21831354,"availableWithoutBorrow":75.21831354,"usdValue":75> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0018403,"total":0.0018403,"used":0.0},"ETH":{"> [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [error] (place_order_result_handler) Ошибка выставления ордера. Причина: Do not send more than 7 orders per 200ms). [general] [info] (message from private_ws_handler): {"channel":"orders","type":"update","data":{"id":151732340123,"clientId":null,"market":"BTC/USDT","type> [general] [info] (ws private) произошли изменения в ордерах: Продажа выполнена. object_id = 0x55f3fe747520 id: 151732340123 side: sell status: closed fil> true,"result":[{"coin":"USDT","total":75.21831354,"free":75.21831354,"availableForWithdrawal":75.21831354,"availableWithoutBorrow":75.21831354,"usdValue":75> [general] [info] send info about balance: {"action":"balances","algo":"cross_3t_php","data":{"BTC":{"free":0.0018403,"total":0.0018403,"used":0.0},"ETH":{"> ive (ms): age=1654272011559 > timeout=10000 : int aeron::ClientConductor::onHeartbeatCheckTimeouts() : aeron-client/src/main/cpp/ClientConductor.h : 456
Лог ордеров от гейта OKX id exchange algo expected_id dom_position step order_id symbol base_asset quote_asset side amount btc_amount usd_amount filled price status execution_time created 63 okx multi_3t_php 0 0 0 452978427728130071 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:08 62 okx multi_3t_php 0 0 0 452978427728130071 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:08 61 okx multi_3t_php 0 0 0 452978426872492033 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:06 60 okx multi_3t_php 0 0 0 452978426872492033 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:05 59 okx multi_3t_php 0 0 0 452978426113323017 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:03 58 okx multi_3t_php 0 0 0 452978426113323017 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:02 57 okx multi_3t_php 0 0 0 452978425136050184 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:35:00 56 okx multi_3t_php 0 0 0 452978424288800778 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:59 55 okx multi_3t_php 0 0 0 452978424288800778 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:58 54 okx multi_3t_php 0 0 0 452978423420579842 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:57 53 okx multi_3t_php 0 0 0 452978423420579842 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:56 52 okx multi_3t_php 0 0 0 452978422531387392 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:55 51 okx multi_3t_php 0 0 0 452978421671555073 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:54 50 okx multi_3t_php 0 0 0 452978421671555073 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.04 closed 0 2022-06-03 18:34:53 49 okx multi_3t_php 0 0 0 452978420799139845 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03141605 closed 0 2022-06-03 18:34:52 48 okx multi_3t_php 0 0 0 452978420799139845 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03141605 closed 0 2022-06-03 18:34:51 47 okx multi_3t_php 0 0 0 452978419926724609 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03251118 closed 0 2022-06-03 18:34:50 46 okx multi_3t_php 0 0 0 452978419926724609 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03251118 closed 0 2022-06-03 18:34:49 45 okx multi_3t_php 0 0 0 452978419926724609 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03251118 closed 0 2022-06-03 18:34:49 44 okx multi_3t_php 0 0 0 452978419058503683 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:48 43 okx multi_3t_php 0 0 0 452978419058503683 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:47 42 okx multi_3t_php 0 0 0 452978418211254274 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:46 41 okx multi_3t_php 0 0 0 452978418211254274 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:46 40 okx multi_3t_php 0 0 0 452978417338839040 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:44 39 okx multi_3t_php 0 0 0 452978416470618115 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:44 38 okx multi_3t_php 0 0 0 452978416470618115 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:43 37 okx multi_3t_php 0 0 0 452978414843228160 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:42 36 okx multi_3t_php 0 0 0 452978414843228160 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:42 35 okx multi_3t_php 0 0 0 452978414759342083 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:41 34 okx multi_3t_php 0 0 0 452978414759342083 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:40 33 okx multi_3t_php 0 0 0 452978413861761024 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:40 32 okx multi_3t_php 0 0 0 452978413861761024 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:39 31 okx multi_3t_php 0 0 0 452978412989345793 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:38 30 okx multi_3t_php 0 0 0 452978412989345793 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:38 29 okx multi_3t_php 0 0 0 452978412150484994 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:37 28 okx multi_3t_php 0 0 0 452978412150484994 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:37 27 okx multi_3t_php 0 0 0 452978410422431745 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:36 26 okx multi_3t_php 0 0 0 452978410422431745 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:36 25 okx multi_3t_php 0 0 0 452978410405654539 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:35 24 okx multi_3t_php 0 0 0 452978410422431745 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:35 23 okx multi_3t_php 0 0 0 452978410422431745 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:35 22 okx multi_3t_php 0 0 0 452978410405654539 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:35 21 okx multi_3t_php 0 0 0 452978410405654539 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:35 20 okx multi_3t_php 0 0 0 452978409512267784 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:34 19 okx multi_3t_php 0 0 0 452978409512267784 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:34 18 okx multi_3t_php 0 0 0 452978408665018375 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:33 17 okx multi_3t_php 0 0 0 452978408665018375 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:33 16 okx multi_3t_php 0 0 0 452978407792603138 LTC/USDT LTC USDT buy 0.050109 0 0 0.050109 62.03 closed 0 2022-06-03 18:34:32 15 okx multi_3t_php 0 0 0 452978407792603138 LTC/USDT LTC USDT buy 0.050109 0 0 0.050109 62.03 closed 0 2022-06-03 18:34:32 14 okx multi_3t_php 0 0 0 452978406957936640 LTC/USDT LTC USDT buy 0.049997 0 0 0.049997 62.03 closed 0 2022-06-03 18:34:31 13 okx multi_3t_php 0 0 0 452978406957936640 LTC/USDT LTC USDT buy 0.049997 0 0 0.049997 62.03 closed 0 2022-06-03 18:34:31 12 okx multi_3t_php 0 0 0 452978406077132812 LTC/USDT LTC USDT buy 0.049997 0 0 0.049997 62.03 closed 0 2022-06-03 18:34:31 11 okx multi_3t_php 0 0 0 452978406077132812 LTC/USDT LTC USDT buy 0.049997 0 0 0.049997 62.03 closed 0 2022-06-03 18:34:30 10 okx multi_3t_php 0 0 0 452978405213106178 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:29 9 okx multi_3t_php 0 0 0 452978405213106178 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:29 8 okx multi_3t_php 0 0 0 452978404340690952 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:28 7 okx multi_3t_php 0 0 0 452978404340690952 LTC/USDT LTC USDT buy 0.050104 0 0 0.050104 62.03 closed 0 2022-06-03 18:34:27 6 okx multi_3t_php 0 0 0 452978402910433280 LTC/USDT LTC USDT buy 0.050114 0 0 0.050114 62.03 closed 0 2022-06-03 18:34:27 5 okx multi_3t_php 0 0 0 452978402910433280 LTC/USDT LTC USDT buy 0.050114 0 0 0.050114 62.03 closed 0 2022-06-03 18:34:27 4 okx multi_3t_php 0 0 0 452978401576644617 LTC/USDT LTC USDT buy 0.050114 0 0 0.050114 62.03 closed 0 2022-06-03 18:34:27 3 okx multi_3t_php 0 0 0 452978401576644617 LTC/USDT LTC USDT buy 0.050114 0 0 0.050114 62.03 closed 0 2022-06-03 18:34:27 2 okx multi_3t_php 0 0 0 452978400033140745 LTC/USDT LTC USDT buy 0.05009 0 0 0.05009 62.03 closed 0 2022-06-03 18:34:26 1 okx multi_3t_php 0 0 0 452978400033140745 LTC/USDT LTC USDT buy 0.05009 0 0 0.05009 62.03 closed 0 2022-06-03 18:34:26
nomnoms12 commented 2 years ago

Почему сообщения продублировались, точно сказать не могу. Возможно, что их дублировала сама биржа, дополняя какой-то информацией о причине отмены (в логе нет успешно открытых ордеров)

nomnoms12 commented 2 years ago

Чтобы в будущем было проще отлаживать, добавлю в гейт локальное логирование всех возвращённых ответов за 2 последних дня (без конвертации в наш формат обмена)

ckatpskov commented 2 years ago

Анализ логов показал: balances.log Отправка балансов с 18:34:26.163 по 18:34:33.844 произошла 75 раз, что свидетельствует о том что ордера в этот промежуток времени выставлялись в большом количестве (баланс отправляется по запросу ядра или при изменении статусов ордеров (создан или отменен) в приватном канале)

errors.log с 18:34:26.468 по 18:34:33.739 (13 сообщений) Ошибки отправки информации о статусе ордера в ядро Offer failed because publisher is not connected to a core

logs.log с 18:34:26.164 по 18:34:33.844 отправлено 75 сообщений о балансе и 13 сообщений об исполненных ордерах (поле action для таких сообщений было пустое (это я исправил), может быть поэтому сложилось впечатление, что гейт не отправлял логи (данные могли не попадать в выборку)).

В главном файле лога (general.log) видно, что ордера создавались, но биржа не возвращала результаты выставления ордеров. В определенный момент времени (начиная с 18:34:32.982 до 18:34:33.137) биржа сразу последовательно вернула результаты выставления 8 ордеров, после чего появились ошибки "Do not send more than 7 orders per 200ms".

Предполагаю, что что-то было сетью или с самой биржей ftx.

Итог: сделал отдельный лог для фиксирования команд от ядра (что бы легче было анализировать) и добавлю отправку на лог сервер сообщений об ошибках при создании или отмене ордеров.