Advertisement
Illuvitar

Total size reached in stage order_cancelled. Should be impossible, investigate!

May 27th, 2021
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.88 KB | None | 0 0
  1. ravi@svelte:~/code/bitserver-elixir (telegram-bot*$% u=)% iex -S mix phx.server 115ms | 21-05-27 15:29:03
  2. Erlang/OTP 23 [erts-11.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
  3.  
  4. Compiling 5 files (.ex)
  5. warning: unused alias Cache
  6. lib/app_web/live/dashboard_live.ex:4
  7.  
  8. warning: App.Telegram.Utils.null/0 is undefined (module App.Telegram.Utils is not available or is yet to be defined)
  9. lib/app/telegram/telegram.ex:138: App.Telegram.broadcast/1
  10.  
  11. warning: App.Telegram.Utils.send_notification/2 is undefined (module App.Telegram.Utils is not available or is yet to be defined)
  12. lib/app/telegram/telegram.ex:35: App.Telegram.send_notification/2
  13.  
  14. [info] Running AppWeb.Endpoint with cowboy 2.8.0 at 0.0.0.0:4000 (http)
  15. [info] Access AppWeb.Endpoint at http://localhost:4000
  16. [info] Started Telegram bot named "BitServer", username: "BitServer_robot", id: 1755655190
  17.  
  18. webpack is watching the files…
  19.  
  20. [info] Connected
  21. [info] Authenicating Okex WS...
  22. [info] CONNECTED TO Phoenix.LiveView.Socket in 47µs
  23. Transport: :websocket
  24. Serializer: Phoenix.Socket.V2.JSONSerializer
  25. Parameters: %{"_csrf_token" => "MjBjK3AKHSciMyg0c0odSS0NPhtyJiYzaB9xGUDFzPen28ddgnw_AIAc", "_mounts" => "0", "vsn" => "2.0.0"}
  26. [info] Assigned dashboard ID user:1:trade-dashboard
  27. [info] Connected
  28. [info] Authenicating WS...
  29. [debug] Auth req: {:text, "{\"jsonrpc\":\"2.0\",\"method\":\"public/auth\",\"params\":{\"client_id\":\"htI9XyBJ\",\"data\":\"\",\"grant_type\":\"client_signature\",\"nonce\":\"84f5e712b6\",\"signature\":\"D583C0B351357888473A67174FA291B3872933444AB3979E27642396E46112B6\",\"timestamp\":\"1622125746000\"}}"}
  30. Interactive Elixir (1.11.3) - press Ctrl+C to exit (type h() ENTER for help)
  31. [info] OKEX WS auth successful
  32. [info] Ready!
  33. [debug] Handling OKEx [{:ws_reply, {:text, "{\"args\":[],\"op\":\"subscribe\"}"}}, %{first_conn: false, heartbeat: 0, require_auth: true, subscriptions: #MapSet<[]>}]
  34. 🧪 iex> [info] auth successful
  35. [debug] [jsonrpc: "2.0", result: %{access_token: "1653661746762.1BN1LMUH.XwKFD_qBURG-iJ4oE8VnPCjAIOWoyhK4YS809LPrmGCW7NeN_X4A1qCJxpP7NXNA6_vrgoBQYQr8Wz63-b-0JYUqso464eojqhlb9vtGRmZ2k87zfxJKjk4MXSU0zWj81QedlCvAD4voyM-t_bV5qgNxSIdBpkN_N74tdY-4nFWadeLBgOoMwiBVSfoxJey8LxSETkKZJ7ZkT0U9f6XPCjQynDOvHKJEVeZdHX9LCZfhvj1AIU0j4u7K2aJPdhZhBto", expires_in: 31536000, refresh_token: "1653661746762.1Ip4Q9h_.yjXTu19UBtGicCr_9ssYlGx62jML_Iq8Q3jf7zof5yerHXzxw5BdP6JzKo_G280W2Wm9pMUBSzxCcyt5-SIusrqu-hcWxOdbIqbR6JDuC2TWd60lxNf94tqYfCubrSXeKHXkUm-BxfvzDBkfCQMg6gwbUx_btMNsC5mVoBoC8z0q6PangklotsFwMbw6-zs_dDDyugykO5GEEM13P6VQWGZi9fxGXfmHZ665y1U0RFfiFKiHrunhJ4Tc6uvPX3dfRw", scope: "account:read connection mainaccount name:bitserver trade:read_write", token_type: "bearer"}, testnet: true, usDiff: 812, usIn: 1622125746761865, usOut: 1622125746762677]
  36. [info] Ready!
  37. [debug] Handling [{:ws_reply, {:text, "{\"jsonrpc\":\"2.0\",\"method\":\"public/set_heartbeat\",\"params\":{\"interval\":20}}"}}, %{first_conn: false, heartbeat: 0, require_auth: true, subscriptions: #MapSet<[]>}]
  38. [info] Got some msg: %{jsonrpc: "2.0", result: "ok", testnet: true, usDiff: 73, usIn: 1622125746837017, usOut: 1622125746837090}
  39. [debug] Requesting endpoint: /api/v2/public/get_instruments?currency=BTC&expired=false&kind=future
  40. [info] GET /trade/dashboard
  41. [debug] Processing with Phoenix.LiveView.Plug.index/2
  42. Parameters: %{}
  43. Pipelines: [:browser, :admin]
  44. [debug] QUERY OK source="users" db=10.7ms decode=3.0ms queue=0.7ms idle=492.5ms
  45. SELECT u0."id", u0."avatar", u0."is_onboarded", u0."name", u0."inserted_at", u0."updated_at" FROM "users" AS u0 WHERE (u0."id" = $1) [1]
  46. [debug] QUERY OK source="credentials" db=0.5ms queue=0.7ms idle=538.8ms
  47. SELECT c0."id", c0."email", c0."login_hash", c0."password_hash", c0."user_id", c0."inserted_at", c0."updated_at", c0."user_id" FROM "credentials" AS c0 WHERE (c0."user_id" = $1) [1]
  48. [info] Assigned dashboard ID user:1:trade-dashboard
  49. [debug] Resp: {"jsonrpc":"2.0","result":[{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-25JUN21","expiration_timestamp":1624608000000,"creation_timestamp":1608810387000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-31DEC21","expiration_timestamp":1640937600000,"creation_timestamp":1613082539000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"week","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":-0.0001,"kind":"future","is_active":true,"instrument_name":"BTC-4JUN21","expiration_timestamp":1622793600000,"creation_timestamp":1620979202000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-24SEP21","expiration_timestamp":1632470400000,"creation_timestamp":1608908726000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"perpetual","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-PERPETUAL","expiration_timestamp":32503708800000,"creation_timestamp":1534167754000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"}],"usIn":1622125747355845,"usOut":1622125747356059,"usDiff":214,"testnet":true}
  50. [info] Fetched futures_iceberg_order from session key strategy
  51. [info] Mounting LiveView with...
  52. [info] Active strategy: futures_iceberg_order
  53. [info] Active account: deribit_main
  54. [info] Active instrument: BTC-25JUN21
  55. [info] Fetched form session: %{"futures_iceberg_order" => %{"account" => "deribit_main", "avg_size" => "10", "direction" => "open_short", "instrument" => "BTC-25JUN21", "limit_price" => "37000", "price_variance" => "0.005", "total_size" => "10"}, "futures_stop_limit_order" => %{"account" => "okex_test", "direction" => "up", "instrument" => "BTC-USD-210528", "order_price" => "1001", "size" => "1", "trigger_price" => "1000", "type" => "open_long"}}
  56. [debug] Requesting endpoint: /api/v2/public/get_instruments?currency=BTC&expired=false&kind=future
  57. [debug] Resp: {"jsonrpc":"2.0","result":[{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-25JUN21","expiration_timestamp":1624608000000,"creation_timestamp":1608810387000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-31DEC21","expiration_timestamp":1640937600000,"creation_timestamp":1613082539000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"week","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":-0.0001,"kind":"future","is_active":true,"instrument_name":"BTC-4JUN21","expiration_timestamp":1622793600000,"creation_timestamp":1620979202000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-24SEP21","expiration_timestamp":1632470400000,"creation_timestamp":1608908726000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"perpetual","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-PERPETUAL","expiration_timestamp":32503708800000,"creation_timestamp":1534167754000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"}],"usIn":1622125747593941,"usOut":1622125747594101,"usDiff":160,"testnet":true}
  58. [info] Fetched futures_iceberg_order from session key strategy
  59. [info] Mounting LiveView with...
  60. [info] Active strategy: futures_iceberg_order
  61. [info] Active account: deribit_main
  62. [info] Active instrument: BTC-25JUN21
  63. [info] Fetched form session: %{"futures_iceberg_order" => %{"account" => "deribit_main", "avg_size" => "10", "direction" => "open_short", "instrument" => "BTC-25JUN21", "limit_price" => "37000", "price_variance" => "0.005", "total_size" => "10"}, "futures_stop_limit_order" => %{"account" => "okex_test", "direction" => "up", "instrument" => "BTC-USD-210528", "order_price" => "1001", "size" => "1", "trigger_price" => "1000", "type" => "open_long"}}
  64. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-25JUN21
  65. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750017029,"usOut":1622125750017913,"usDiff":884,"testnet":true}
  66. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-31DEC21
  67. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750113630,"usOut":1622125750114402,"usDiff":772,"testnet":true}
  68. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-4JUN21
  69. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-25JUN21
  70. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750203924,"usOut":1622125750204610,"usDiff":686,"testnet":true}
  71. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-24SEP21
  72. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750300627,"usOut":1622125750301597,"usDiff":970,"testnet":true}
  73. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-PERPETUAL
  74. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750405678,"usOut":1622125750406433,"usDiff":755,"testnet":true}
  75. [debug] Requesting endpoint: /api/v2/private/get_positions?currency=BTC&kind=future
  76. [debug] Resp: {"jsonrpc":"2.0","result":[{"total_profit_loss":0.002400633,"size_currency":0.044833736,"size":1850.0,"settlement_price":39120.64,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":41263.57,"maintenance_margin":0.000235478,"leverage":100,"kind":"future","instrument_name":"BTC-24SEP21","initial_margin":0.000448438,"index_price":40268.41,"floating_profit_loss":0.002455879,"estimated_liquidation_price":1776.02,"direction":"buy","delta":0.044833736,"average_price":39166.4},{"total_profit_loss":0.000015025,"size_currency":0.000236004,"size":10.0,"settlement_price":39998.35,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":42372.11,"maintenance_margin":0.000001239,"leverage":100,"kind":"future","instrument_name":"BTC-31DEC21","initial_margin":0.00000236,"index_price":40268.41,"floating_profit_loss":0.000014006,"estimated_liquidation_price":1823.73,"direction":"buy","delta":0.000236004,"average_price":39836.03},{"total_profit_loss":-2e-7,"size_currency":-0.000247899,"size":-10.0,"settlement_price":38275.65,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":40339.01,"maintenance_margin":0.000001301,"leverage":100,"kind":"future","instrument_name":"BTC-25JUN21","initial_margin":0.000002479,"index_price":40268.41,"floating_profit_loss":-2e-7,"estimated_liquidation_price":1736.23,"direction":"sell","delta":-0.000247899,"average_price":40306.49}],"usIn":1622125750494992,"usOut":1622125750495794,"usDiff":802,"testnet":true}
  77. [debug] Requesting endpoint: /api/v2/private/get_account_summary?currency=BTC&extended=false
  78. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750503054,"usOut":1622125750503857,"usDiff":803,"testnet":true}
  79. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-31DEC21
  80. [debug] Resp: {"jsonrpc":"2.0","result":{"total_pl":0.00241546,"session_upl":0.00246969,"session_rpl":0.0,"projected_maintenance_margin":0.00023802,"projected_initial_margin":0.00045328,"projected_delta_total":0.0448,"portfolio_margining_enabled":false,"options_vega":0.0,"options_value":0.0,"options_theta":0.0,"options_session_upl":0.0,"options_session_rpl":0.0,"options_pl":0.0,"options_gamma":0.0,"options_delta":0.0,"margin_balance":1.00213749,"maintenance_margin":0.00023802,"limits":{"perpetuals":{"rate":30,"burst":30},"options":{"rate":30,"burst":30},"non_matching_engine":{"rate":200,"burst":300},"matching_engine":{"rate":100,"burst":100},"futures":{"rate":30,"burst":30}},"initial_margin":0.00045328,"futures_session_upl":0.00246969,"futures_session_rpl":0.0,"futures_pl":0.00241546,"estimated_liquidation_ratio_map":{"reversed":0.04304092071686269},"estimated_liquidation_ratio":0.04304092,"equity":1.00213749,"deposit_address":"2N9ijV2MeiweWpBf718XKUkxe2TNiJ38K1H","delta_total":0.0448,"currency":"BTC","balance":0.99966781,"available_withdrawal_funds":0.99921453,"available_funds":1.00168422},"usIn":1622125750622138,"usOut":1622125750623151,"usDiff":1013,"testnet":true}
  81. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750622001,"usOut":1622125750622734,"usDiff":733,"testnet":true}
  82. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-4JUN21
  83. [info] Try subscribe user:1:trade-dashboard to topic futures/instruments
  84. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/instruments
  85. [info] Cache state after put: [{{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}]
  86. [info] Opening feed: futures/instruments
  87. [info] Try subscribe user:1:trade-dashboard to topic futures/account:BTC
  88. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/account:BTC
  89. [info] Cache state after put: [{{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}]
  90. [info] Opening feed: futures/account:BTC
  91. [info] Try subscribe user:1:trade-dashboard to channel user.changes.future.BTC.raw
  92. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, user.changes.future.BTC.raw
  93. [info] Cache state after put: [{{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}]
  94. [info] Opening feed: user.changes.future.BTC.raw
  95. [info] Try subscribe user:1:trade-dashboard to topic futures/order:BTC-USD-210528
  96. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210528
  97. [info] Cache state after put: [{{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}]
  98. [info] Opening feed: futures/order:BTC-USD-210528
  99. [info] Try subscribe user:1:trade-dashboard to topic futures/ticker:BTC-USD-210528
  100. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210528
  101. [info] Cache state after put: [{{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}]
  102. [info] Opening feed: futures/ticker:BTC-USD-210528
  103. [info] Try subscribe user:1:trade-dashboard to topic futures/position:BTC-USD-210528
  104. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210528
  105. [info] Cache state after put: [{{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}]
  106. [info] Opening feed: futures/position:BTC-USD-210528
  107. [info] Try subscribe user:1:trade-dashboard to topic futures/order:BTC-USD-210604
  108. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210604
  109. [info] Cache state after put: [{{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}]
  110. [info] Opening feed: futures/order:BTC-USD-210604
  111. [info] Try subscribe user:1:trade-dashboard to topic futures/ticker:BTC-USD-210604
  112. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210604
  113. [info] Cache state after put: [{{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  114. [info] Opening feed: futures/ticker:BTC-USD-210604
  115. [info] Try subscribe user:1:trade-dashboard to topic futures/position:BTC-USD-210604
  116. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210604
  117. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  118. [info] Opening feed: futures/position:BTC-USD-210604
  119. [info] Try subscribe user:1:trade-dashboard to topic futures/order:BTC-USD-210625
  120. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210625
  121. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  122. [info] Opening feed: futures/order:BTC-USD-210625
  123. [info] Try subscribe user:1:trade-dashboard to topic futures/ticker:BTC-USD-210625
  124. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210625
  125. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  126. [info] Opening feed: futures/ticker:BTC-USD-210625
  127. [info] Try subscribe user:1:trade-dashboard to topic futures/position:BTC-USD-210625
  128. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210625
  129. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  130. [info] Opening feed: futures/position:BTC-USD-210625
  131. [info] Try subscribe user:1:trade-dashboard to topic futures/order:BTC-USD-210924
  132. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210924
  133. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  134. [info] Opening feed: futures/order:BTC-USD-210924
  135. [info] Try subscribe user:1:trade-dashboard to topic futures/ticker:BTC-USD-210924
  136. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210924
  137. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  138. [info] Opening feed: futures/ticker:BTC-USD-210924
  139. [info] Try subscribe user:1:trade-dashboard to topic futures/position:BTC-USD-210924
  140. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210924
  141. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}]
  142. [info] Opening feed: futures/position:BTC-USD-210924
  143. [info] Try subscribe user:1:trade-dashboard to channel ticker.BTC-25JUN21.raw
  144. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-25JUN21.raw
  145. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}]
  146. [info] Opening feed: ticker.BTC-25JUN21.raw
  147. [info] Try subscribe user:1:trade-dashboard to channel ticker.BTC-31DEC21.raw
  148. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-31DEC21.raw
  149. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}]
  150. [info] Opening feed: ticker.BTC-31DEC21.raw
  151. [info] Try subscribe user:1:trade-dashboard to channel ticker.BTC-4JUN21.raw
  152. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-4JUN21.raw
  153. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  154. [info] Opening feed: ticker.BTC-4JUN21.raw
  155. [info] Try subscribe user:1:trade-dashboard to channel ticker.BTC-24SEP21.raw
  156. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-24SEP21.raw
  157. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  158. [info] Opening feed: ticker.BTC-24SEP21.raw
  159. [info] Try subscribe user:1:trade-dashboard to channel ticker.BTC-PERPETUAL.raw
  160. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-PERPETUAL.raw
  161. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  162. [info] Opening feed: ticker.BTC-PERPETUAL.raw
  163. [debug] Ignoring false positive strategy change
  164. [debug] ICEBERG PARAMS: %{"account" => "deribit_main", "direction" => "up", "instrument" => "BTC-25JUN21", "order_price" => "", "size" => "", "trigger_price" => "", "type" => "open_long"}
  165. [debug] ICEBERG PARAMS: %{"account" => "deribit_main", "avg_size" => "10", "direction" => "open_short", "instrument" => "BTC-25JUN21", "limit_price" => "37000", "price_variance" => "0.005", "total_size" => "10"}
  166. [debug] CHANGE KILL STRATEGY: %{"strategy_id" => ""}
  167. [info] Elixir.App.Exchanges.DeribitWS subscribed to: user.changes.future.BTC.raw
  168. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750741172,"usOut":1622125750741861,"usDiff":689,"testnet":true}
  169. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-24SEP21
  170. [info] Elixir.App.Exchanges.DeribitWS subscribed to: ticker.BTC-25JUN21.raw
  171. [info] Elixir.App.Exchanges.DeribitWS subscribed to: ticker.BTC-31DEC21.raw
  172. [info] Elixir.App.Exchanges.DeribitWS subscribed to: ticker.BTC-4JUN21.raw
  173. [info] Elixir.App.Exchanges.DeribitWS subscribed to: ticker.BTC-24SEP21.raw
  174. [info] Elixir.App.Exchanges.DeribitWS subscribed to: ticker.BTC-PERPETUAL.raw
  175. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750839914,"usOut":1622125750840577,"usDiff":663,"testnet":true}
  176. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-PERPETUAL
  177. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125750936020,"usOut":1622125750936816,"usDiff":796,"testnet":true}
  178. [debug] Requesting endpoint: /api/v2/private/get_positions?currency=BTC&kind=future
  179. [info] Elixir.App.Exchanges.Okex subscribed to: futures/instruments
  180. [info] Elixir.App.Exchanges.Okex subscribed to: futures/account:BTC
  181. [info] Elixir.App.Exchanges.Okex subscribed to: futures/order:BTC-USD-210528
  182. [info] Elixir.App.Exchanges.Okex subscribed to: futures/ticker:BTC-USD-210528
  183. [info] Elixir.App.Exchanges.Okex subscribed to: futures/position:BTC-USD-210528
  184. [info] Elixir.App.Exchanges.Okex subscribed to: futures/order:BTC-USD-210604
  185. [info] Elixir.App.Exchanges.Okex subscribed to: futures/ticker:BTC-USD-210604
  186. [info] Elixir.App.Exchanges.Okex subscribed to: futures/position:BTC-USD-210604
  187. [info] Elixir.App.Exchanges.Okex subscribed to: futures/order:BTC-USD-210625
  188. [debug] Resp: {"jsonrpc":"2.0","result":[{"total_profit_loss":0.002400633,"size_currency":0.044833736,"size":1850.0,"settlement_price":39120.64,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":41263.57,"maintenance_margin":0.000235478,"leverage":100,"kind":"future","instrument_name":"BTC-24SEP21","initial_margin":0.000448438,"index_price":40268.41,"floating_profit_loss":0.002455879,"estimated_liquidation_price":1776.02,"direction":"buy","delta":0.044833736,"average_price":39166.4},{"total_profit_loss":0.000015025,"size_currency":0.000236004,"size":10.0,"settlement_price":39998.35,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":42372.11,"maintenance_margin":0.000001239,"leverage":100,"kind":"future","instrument_name":"BTC-31DEC21","initial_margin":0.00000236,"index_price":40268.41,"floating_profit_loss":0.000014006,"estimated_liquidation_price":1823.73,"direction":"buy","delta":0.000236004,"average_price":39836.03},{"total_profit_loss":-2e-7,"size_currency":-0.000247899,"size":-10.0,"settlement_price":38275.65,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":40339.01,"maintenance_margin":0.000001301,"leverage":100,"kind":"future","instrument_name":"BTC-25JUN21","initial_margin":0.000002479,"index_price":40268.41,"floating_profit_loss":-2e-7,"estimated_liquidation_price":1736.23,"direction":"sell","delta":-0.000247899,"average_price":40306.49}],"usIn":1622125751040801,"usOut":1622125751041628,"usDiff":827,"testnet":true}
  189. [debug] Requesting endpoint: /api/v2/private/get_account_summary?currency=BTC&extended=false
  190. [debug] Resp: {"jsonrpc":"2.0","result":{"total_pl":0.00241546,"session_upl":0.00246969,"session_rpl":0.0,"projected_maintenance_margin":0.00023802,"projected_initial_margin":0.00045328,"projected_delta_total":0.0448,"portfolio_margining_enabled":false,"options_vega":0.0,"options_value":0.0,"options_theta":0.0,"options_session_upl":0.0,"options_session_rpl":0.0,"options_pl":0.0,"options_gamma":0.0,"options_delta":0.0,"margin_balance":1.00213749,"maintenance_margin":0.00023802,"limits":{"perpetuals":{"rate":30,"burst":30},"options":{"rate":30,"burst":30},"non_matching_engine":{"rate":200,"burst":300},"matching_engine":{"rate":100,"burst":100},"futures":{"rate":30,"burst":30}},"initial_margin":0.00045328,"futures_session_upl":0.00246969,"futures_session_rpl":0.0,"futures_pl":0.00241546,"estimated_liquidation_ratio_map":{"reversed":0.04304092071686269},"estimated_liquidation_ratio":0.04304092,"equity":1.00213749,"deposit_address":"2N9ijV2MeiweWpBf718XKUkxe2TNiJ38K1H","delta_total":0.0448,"currency":"BTC","balance":0.99966781,"available_withdrawal_funds":0.99921453,"available_funds":1.00168422},"usIn":1622125751137068,"usOut":1622125751138158,"usDiff":1090,"testnet":true}
  191. [info] Sent 200 in 4009ms
  192. [info] Elixir.App.Exchanges.Okex subscribed to: futures/ticker:BTC-USD-210625
  193. [info] Elixir.App.Exchanges.Okex subscribed to: futures/position:BTC-USD-210625
  194. [info] Elixir.App.Exchanges.Okex subscribed to: futures/order:BTC-USD-210924
  195. [info] Elixir.App.Exchanges.Okex subscribed to: futures/ticker:BTC-USD-210924
  196. [info] Elixir.App.Exchanges.Okex subscribed to: futures/position:BTC-USD-210924
  197. [info] CONNECTED TO Phoenix.LiveView.Socket in 35µs
  198. Transport: :websocket
  199. Serializer: Phoenix.Socket.V2.JSONSerializer
  200. Parameters: %{"_csrf_token" => "ZCMNCmZrF1YCLQMxEx9PV38XGDVqBgkH7QWYQ4N7ZNNkRm6z5tQqYinW", "_mounts" => "0", "vsn" => "2.0.0"}
  201. [info] Assigned dashboard ID user:1:trade-dashboard
  202. [debug] Requesting endpoint: /api/v2/public/get_instruments?currency=BTC&expired=false&kind=future
  203. [debug] Resp: {"jsonrpc":"2.0","result":[{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-25JUN21","expiration_timestamp":1624608000000,"creation_timestamp":1608810387000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-31DEC21","expiration_timestamp":1640937600000,"creation_timestamp":1613082539000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"week","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":-0.0001,"kind":"future","is_active":true,"instrument_name":"BTC-4JUN21","expiration_timestamp":1622793600000,"creation_timestamp":1620979202000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"month","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-24SEP21","expiration_timestamp":1632470400000,"creation_timestamp":1608908726000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"},{"tick_size":0.5,"taker_commission":0.0005,"settlement_period":"perpetual","quote_currency":"USD","min_trade_amount":10.0,"max_liquidation_commission":0.005,"max_leverage":100,"maker_commission":0.0,"kind":"future","is_active":true,"instrument_name":"BTC-PERPETUAL","expiration_timestamp":32503708800000,"creation_timestamp":1534167754000,"contract_size":10.0,"block_trade_commission":0.0001,"base_currency":"BTC"}],"usIn":1622125755160201,"usOut":1622125755160295,"usDiff":94,"testnet":true}
  204. [info] Fetched futures_iceberg_order from session key strategy
  205. [info] Mounting LiveView with...
  206. [info] Active strategy: futures_iceberg_order
  207. [info] Active account: deribit_main
  208. [info] Active instrument: BTC-25JUN21
  209. [info] Fetched form session: %{"futures_iceberg_order" => %{"account" => "deribit_main", "avg_size" => "10", "direction" => "open_short", "instrument" => "BTC-25JUN21", "limit_price" => "37000", "price_variance" => "0.005", "total_size" => "10"}, "futures_stop_limit_order" => %{"account" => "okex_test", "direction" => "up", "instrument" => "BTC-USD-210528", "order_price" => "1001", "size" => "1", "trigger_price" => "1000", "type" => "open_long"}}
  210. Hash: 4a601b6e0eae752caeb6
  211. Version: webpack 4.41.5
  212. Time: 9986ms
  213. Built at: 27/05/2021 3:29:15 pm
  214. Asset Size Chunks Chunk Names
  215. ../css/app.css 7.31 MiB ./js/app.js [emitted] ./js/app.js
  216. ../favicon.ico 1.23 KiB [emitted]
  217. ../images/phoenix.png 13.6 KiB [emitted]
  218. ../robots.txt 202 bytes [emitted]
  219. app.js 191 KiB ./js/app.js [emitted] ./js/app.js
  220. Entrypoint ./js/app.js = ../css/app.css app.js
  221. [0] multi ./js/app.js 28 bytes {./js/app.js} [built]
  222. [./css/app.css] 39 bytes {./js/app.js} [built]
  223. [./js/app.js] 5.69 KiB {./js/app.js} [built]
  224. + 6 hidden modules
  225. Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!node_modules/postcss-loader/dist/cjs.js!css/app.css:
  226. Entrypoint mini-css-extract-plugin = *
  227. [./node_modules/css-loader/dist/cjs.js!./css/phoenix.css] 10.9 KiB {mini-css-extract-plugin} [built]
  228. [./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./css/app.css] 7.71 MiB {mini-css-extract-plugin} [built]
  229. + 1 hidden module
  230. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-25JUN21
  231. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125757698661,"usOut":1622125757699245,"usDiff":584,"testnet":true}
  232. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-31DEC21
  233. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125757794657,"usOut":1622125757795131,"usDiff":474,"testnet":true}
  234. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-4JUN21
  235. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125757900689,"usOut":1622125757901566,"usDiff":877,"testnet":true}
  236. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-24SEP21
  237. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125757997165,"usOut":1622125757997924,"usDiff":759,"testnet":true}
  238. [debug] Requesting endpoint: /api/v2/private/get_open_orders_by_instrument?instrument_name=BTC-PERPETUAL
  239. [debug] Resp: {"jsonrpc":"2.0","result":[],"usIn":1622125758086292,"usOut":1622125758087133,"usDiff":841,"testnet":true}
  240. [debug] Requesting endpoint: /api/v2/private/get_positions?currency=BTC&kind=future
  241. [debug] Resp: {"jsonrpc":"2.0","result":[{"total_profit_loss":0.002392417,"size_currency":0.044841952,"size":1850.0,"settlement_price":39120.64,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":41256.01,"maintenance_margin":0.000235521,"leverage":100,"kind":"future","instrument_name":"BTC-24SEP21","initial_margin":0.00044852,"index_price":40262.68,"floating_profit_loss":0.002447663,"estimated_liquidation_price":1776.02,"direction":"buy","delta":0.044841952,"average_price":39166.4},{"total_profit_loss":0.000015002,"size_currency":0.000236027,"size":10.0,"settlement_price":39998.35,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":42368.12,"maintenance_margin":0.000001239,"leverage":100,"kind":"future","instrument_name":"BTC-31DEC21","initial_margin":0.00000236,"index_price":40262.68,"floating_profit_loss":0.000013983,"estimated_liquidation_price":1823.9,"direction":"buy","delta":0.000236027,"average_price":39836.03},{"total_profit_loss":-1.47e-7,"size_currency":-0.000247952,"size":-10.0,"settlement_price":38275.65,"realized_profit_loss":0.0,"open_orders_margin":0.0,"mark_price":40330.45,"maintenance_margin":0.000001302,"leverage":100,"kind":"future","instrument_name":"BTC-25JUN21","initial_margin":0.00000248,"index_price":40262.68,"floating_profit_loss":-1.47e-7,"estimated_liquidation_price":1736.18,"direction":"sell","delta":-0.000247952,"average_price":40306.49}],"usIn":1622125758180646,"usOut":1622125758181561,"usDiff":915,"testnet":true}
  242. [debug] Requesting endpoint: /api/v2/private/get_account_summary?currency=BTC&extended=false
  243. [debug] Resp: {"jsonrpc":"2.0","result":{"total_pl":0.00240727,"session_upl":0.0024615,"session_rpl":0.0,"projected_maintenance_margin":0.00023806,"projected_initial_margin":0.00045336,"projected_delta_total":0.0448,"portfolio_margining_enabled":false,"options_vega":0.0,"options_value":0.0,"options_theta":0.0,"options_session_upl":0.0,"options_session_rpl":0.0,"options_pl":0.0,"options_gamma":0.0,"options_delta":0.0,"margin_balance":1.00212931,"maintenance_margin":0.00023806,"limits":{"perpetuals":{"rate":30,"burst":30},"options":{"rate":30,"burst":30},"non_matching_engine":{"rate":200,"burst":300},"matching_engine":{"rate":100,"burst":100},"futures":{"rate":30,"burst":30}},"initial_margin":0.00045336,"futures_session_upl":0.0024615,"futures_session_rpl":0.0,"futures_pl":0.00240727,"estimated_liquidation_ratio_map":{"reversed":0.043048781951076046},"estimated_liquidation_ratio":0.04304878,"equity":1.00212931,"deposit_address":"2N9ijV2MeiweWpBf718XKUkxe2TNiJ38K1H","delta_total":0.0448,"currency":"BTC","balance":0.99966781,"available_withdrawal_funds":0.99921445,"available_funds":1.00167595},"usIn":1622125758270092,"usOut":1622125758271266,"usDiff":1174,"testnet":true}
  244. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/instruments
  245. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  246. [info] Subscription user:1:trade-dashboard added to existing topic: futures/instruments
  247. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/account:BTC
  248. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  249. [info] Subscription user:1:trade-dashboard added to existing topic: futures/account:BTC
  250. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, user.changes.future.BTC.raw
  251. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  252. [info] Subscription user:1:trade-dashboard added to existing channel: user.changes.future.BTC.raw
  253. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210528
  254. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  255. [info] Subscription user:1:trade-dashboard added to existing topic: futures/order:BTC-USD-210528
  256. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210528
  257. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  258. [info] Subscription user:1:trade-dashboard added to existing topic: futures/ticker:BTC-USD-210528
  259. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210528
  260. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  261. [info] Subscription user:1:trade-dashboard added to existing topic: futures/position:BTC-USD-210528
  262. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210604
  263. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  264. [info] Subscription user:1:trade-dashboard added to existing topic: futures/order:BTC-USD-210604
  265. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210604
  266. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  267. [info] Subscription user:1:trade-dashboard added to existing topic: futures/ticker:BTC-USD-210604
  268. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210604
  269. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  270. [info] Subscription user:1:trade-dashboard added to existing topic: futures/position:BTC-USD-210604
  271. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210625
  272. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  273. [info] Subscription user:1:trade-dashboard added to existing topic: futures/order:BTC-USD-210625
  274. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210625
  275. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  276. [info] Subscription user:1:trade-dashboard added to existing topic: futures/ticker:BTC-USD-210625
  277. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210625
  278. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  279. [info] Subscription user:1:trade-dashboard added to existing topic: futures/position:BTC-USD-210625
  280. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/order:BTC-USD-210924
  281. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  282. [info] Subscription user:1:trade-dashboard added to existing topic: futures/order:BTC-USD-210924
  283. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/ticker:BTC-USD-210924
  284. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  285. [info] Subscription user:1:trade-dashboard added to existing topic: futures/ticker:BTC-USD-210924
  286. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.Okex, futures/position:BTC-USD-210924
  287. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  288. [info] Subscription user:1:trade-dashboard added to existing topic: futures/position:BTC-USD-210924
  289. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-25JUN21.raw
  290. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  291. [info] Subscription user:1:trade-dashboard added to existing channel: ticker.BTC-25JUN21.raw
  292. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-31DEC21.raw
  293. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  294. [info] Subscription user:1:trade-dashboard added to existing channel: ticker.BTC-31DEC21.raw
  295. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-4JUN21.raw
  296. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  297. [info] Subscription user:1:trade-dashboard added to existing channel: ticker.BTC-4JUN21.raw
  298. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-24SEP21.raw
  299. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  300. [info] Subscription user:1:trade-dashboard added to existing channel: ticker.BTC-24SEP21.raw
  301. [info] Put user:1:trade-dashboard, Elixir.App.Exchanges.DeribitWS, ticker.BTC-PERPETUAL.raw
  302. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  303. [info] Subscription user:1:trade-dashboard added to existing channel: ticker.BTC-PERPETUAL.raw
  304. [info] futures_iceberg_order requested: %{"account" => "deribit_main", "avg_size" => "10", "direction" => "open_short", "instrument" => "BTC-25JUN21", "limit_price" => "37000", "price_variance" => "0.005", "total_size" => "10"}
  305. [info] Calling FuturesIcebergOrder with %{account: "deribit_main", auto_cleanup: true, avg_size: 10, direction: :open_short, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, price_variance: #Decimal<0.005>, total_size: 10}
  306. [info] Put h5NtNGKIBDYf2SaZQMFG_, Elixir.App.Exchanges.DeribitWS, ticker.BTC-25JUN21.raw
  307. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "h5NtNGKIBDYf2SaZQMFG_", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  308. [info] Subscription h5NtNGKIBDYf2SaZQMFG_ added to existing channel: ticker.BTC-25JUN21.raw
  309. [info] Put h5NtNGKIBDYf2SaZQMFG_, Elixir.App.Exchanges.DeribitWS, user.changes.future.BTC.raw
  310. [info] Cache state after put: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:user.changes.future.BTC.raw", "h5NtNGKIBDYf2SaZQMFG_", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "user.changes.future.BTC.raw"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "h5NtNGKIBDYf2SaZQMFG_", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  311. [info] Subscription h5NtNGKIBDYf2SaZQMFG_ added to existing channel: user.changes.future.BTC.raw
  312. [debug] Broadcasting to topic "strategy:state"
  313. %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: nil, direction: :open_short, exchange: :deribit, filled_so_far: 0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: [], orders: %{}}, stages: [:wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{"deribit:ticker.BTC-25JUN21.raw" => :ticker, "deribit:user.changes.future.BTC.raw" => :orders}, orders: "deribit:user.changes.future.BTC.raw", ticker: "deribit:ticker.BTC-25JUN21.raw"}, total_size: 10, ui_info: ""}
  314. [debug] Subscribed to: [%{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "user.changes.future.BTC.raw"}, %{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "ticker.BTC-25JUN21.raw"}]
  315. [info] Initialized state: %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: nil, direction: :open_short, exchange: :deribit, filled_so_far: 0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: [], orders: %{}}, stages: [:wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{"deribit:ticker.BTC-25JUN21.raw" => :ticker, "deribit:user.changes.future.BTC.raw" => :orders}, orders: "deribit:user.changes.future.BTC.raw", ticker: "deribit:ticker.BTC-25JUN21.raw"}, total_size: 10, ui_info: ""}
  316. [info] Strategy Count: %{active: 1, specs: 1, supervisors: 0, workers: 1}
  317. [info] Got ticker data: 40306.5
  318. [info] Limit 3.7E+4 hit! Placing order...
  319. [info] Next order price 40308.515325 for open_short based on: ticker 40306.5 & price_var_diff: 0.00005
  320. [info] Placing future limit order: %{account: "deribit_main", instrument: "BTC-25JUN21", order_action: :open_short, price: #Decimal<40308.515325>, size: 10}
  321. [debug] Requesting endpoint: /api/v2/private/sell?amount=10&instrument_name=BTC-25JUN21&price=40308.515325&type=limit
  322. [debug] Resp: {"jsonrpc":"2.0","result":{"trades":[{"trade_seq":544825,"trade_id":"73631505","timestamp":1622125771128,"tick_direction":0,"state":"filled","self_trade":false,"reduce_only":false,"profit_loss":0.0,"price":40338.0,"post_only":false,"order_type":"limit","order_id":"5865411789","matching_id":null,"mark_price":40338.94,"liquidity":"T","instrument_name":"BTC-25JUN21","index_price":40273.8,"fee_currency":"BTC","fee":1.2e-7,"direction":"sell","amount":10.0}],"order":{"web":false,"time_in_force":"good_til_cancelled","replaced":false,"reduce_only":false,"profit_loss":0.0,"price":40309.0,"post_only":false,"order_type":"limit","order_state":"filled","order_id":"5865411789","max_show":10.0,"last_update_timestamp":1622125771128,"label":"","is_liquidation":false,"instrument_name":"BTC-25JUN21","filled_amount":10.0,"direction":"sell","creation_timestamp":1622125771128,"commission":1.2e-7,"average_price":40338.03,"api":true,"amount":10.0}},"usIn":1622125771078708,"usOut":1622125771129041,"usDiff":50333,"testnet":true}
  323. [info] Set stage: order_placed
  324. [debug] Broadcasting to topic "strategy:state"
  325. %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: nil, direction: :open_short, exchange: :deribit, filled_so_far: 0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: ["5865411789"], orders: %{"5865411789" => %{exchange: :deribit, filled: 0, info: "", instrument: "BTC-25JUN21", order_id: "5865411789", price: #Decimal<40308.515325>, size: 10, state: "open", type: "limit"}}}, stages: [:order_placed, :wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{"deribit:ticker.BTC-25JUN21.raw" => :ticker, "deribit:user.changes.future.BTC.raw" => :orders}, orders: "deribit:user.changes.future.BTC.raw", ticker: "deribit:ticker.BTC-25JUN21.raw"}, total_size: 10, ui_info: "Lot 5865411789"}
  326. [info] Got ticker data: 40338.0
  327. [info] Replace order: distance from order (29.484675) > order variance (4.03085153250)
  328. [info] Replace order due to market movement, cancelling...
  329. [info] Cancelling order to move to {:order_cancelled, ""}
  330. [info] Cancelling future limit order: %{account: "deribit_main", instrument: "BTC-25JUN21", order_id: "5865411789"}
  331. [debug] Requesting endpoint: /api/v2/private/get_order_state?order_id=5865411789
  332. [debug] Ignoring first mention of order 5865411789 to remove from table
  333. [debug] Resp: {"jsonrpc":"2.0","result":{"web":false,"time_in_force":"good_til_cancelled","replaced":false,"reduce_only":false,"profit_loss":0.0,"price":40309.0,"post_only":false,"order_type":"limit","order_state":"filled","order_id":"5865411789","max_show":10.0,"last_update_timestamp":1622125771128,"label":"","is_liquidation":false,"instrument_name":"BTC-25JUN21","filled_amount":10.0,"direction":"sell","creation_timestamp":1622125771128,"commission":1.2e-7,"average_price":40338.03,"api":true,"amount":10.0},"usIn":1622125771219930,"usOut":1622125771280961,"usDiff":61031,"testnet":true}
  334. [info] Got deribit order state %{amount: 10.0, api: true, average_price: 40338.03, commission: 1.2e-7, creation_timestamp: 1622125771128, direction: "sell", filled_amount: 10.0, instrument_name: "BTC-25JUN21", is_liquidation: false, label: "", last_update_timestamp: 1622125771128, max_show: 10.0, order_id: "5865411789", order_state: "filled", order_type: "limit", post_only: false, price: 40309.0, profit_loss: 0.0, reduce_only: false, replaced: false, time_in_force: "good_til_cancelled", web: false}
  335. [info] Skipping Deribit cancel order because state is filled!
  336. [info] Set stage: cancelling_order
  337. [debug] Broadcasting to topic "strategy:state"
  338. %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: {:order_cancelled, ""}, direction: :open_short, exchange: :deribit, filled_so_far: 0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: ["5865411789"], orders: %{"5865411789" => %{exchange: :deribit, filled: 0, info: "", instrument: "BTC-25JUN21", order_id: "5865411789", price: #Decimal<40308.515325>, size: 10, state: "open", type: "limit"}}}, stages: [:cancelling_order, :order_placed, :wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{"deribit:ticker.BTC-25JUN21.raw" => :ticker, "deribit:user.changes.future.BTC.raw" => :orders}, orders: "deribit:user.changes.future.BTC.raw", ticker: "deribit:ticker.BTC-25JUN21.raw"}, total_size: 10, ui_info: "Cancelling lot"}
  339. [info] Got our order data: %{exchange: :deribit, filled: 10.0, info: "reduce_only: false", instrument: "BTC-25JUN21", order_id: "5865411789", price: #Decimal<40309.0>, size: 10.0, state: "filled", type: "limit"}
  340. [info] Handling our order 5865411789 data to cancel order for stage: {:order_cancelled, ""}
  341. [info] Resolving :cancelling_order stage with order state: filled
  342. [info] Set stage: order_cancelled
  343. [debug] Responding to test_request
  344. [debug] Handling [{:ws_reply, {:text, "{\"jsonrpc\":\"2.0\",\"method\":\"public/test\",\"params\":{}}"}}, %{first_conn: false, heartbeat: 0, require_auth: true, subscriptions: #MapSet<["ticker.BTC-24SEP21.raw", "ticker.BTC-25JUN21.raw", "ticker.BTC-31DEC21.raw", "ticker.BTC-4JUN21.raw", "ticker.BTC-PERPETUAL.raw", "user.changes.future.BTC.raw"]>}]
  345. [info] Got some msg: %{jsonrpc: "2.0", result: %{version: "1.2.26"}, testnet: true, usDiff: 84, usIn: 1622125771377152, usOut: 1622125771377236}
  346. [info] Got ticker data: 40338.0
  347. [error] Handle error: Total size reached in stage order_cancelled. Should be impossible, investigate!
  348. [info] Set stage: error
  349. [debug] Broadcasting to topic "strategy:state"
  350. %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: nil, direction: :open_short, exchange: :deribit, filled_so_far: 10.0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: ["5865411789"], orders: %{"5865411789" => %{exchange: :deribit, filled: 10.0, info: "reduce_only: false", instrument: "BTC-25JUN21", order_id: "5865411789", price: #Decimal<40309.0>, size: 10.0, state: "filled", type: "limit"}}}, stages: [:error, :order_cancelled, :cancelling_order, :order_placed, :wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{"deribit:ticker.BTC-25JUN21.raw" => :ticker, "deribit:user.changes.future.BTC.raw" => :orders}, orders: "deribit:user.changes.future.BTC.raw", ticker: "deribit:ticker.BTC-25JUN21.raw"}, total_size: 10, ui_info: "Total size reached in stage order_cancelled. Should be impossible, investigate!"}
  351. [info] Try Unsubscribe h5NtNGKIBDYf2SaZQMFG_ from user.changes.future.BTC.raw
  352. [info] Delete h5NtNGKIBDYf2SaZQMFG_, Elixir.App.Exchanges.DeribitWS, user.changes.future.BTC.raw, [sync: true]
  353. [info] Cache state after delete: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "h5NtNGKIBDYf2SaZQMFG_", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "h5NtNGKIBDYf2SaZQMFG_", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  354. [info] Subscription h5NtNGKIBDYf2SaZQMFG_ removed from user.changes.future.BTC.raw, but channel still in use.
  355. [info] Try Unsubscribe h5NtNGKIBDYf2SaZQMFG_ from ticker.BTC-25JUN21.raw
  356. [info] Delete h5NtNGKIBDYf2SaZQMFG_, Elixir.App.Exchanges.DeribitWS, ticker.BTC-25JUN21.raw, [sync: true]
  357. [info] Cache state after delete: [{{"okex:futures/position:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210604"}}, {{"okex:futures/position:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210625"}}, {{"okex:futures/ticker:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210625"}}, {{"deribitws:ticker.BTC-31DEC21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-31DEC21.raw"}}, {{"okex:futures/order:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210924"}}, {{"okex:futures/order:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210528"}}, {{"okex:futures/position:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210924"}}, {{"deribitws:user.changes.future.BTC.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "user.changes.future.BTC.raw"}}, {{"okex:futures/order:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210604"}}, {{"okex:futures/instruments", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/instruments"}}, {{"okex:futures/order:BTC-USD-210625", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/order:BTC-USD-210625"}}, {{"okex:futures/account:BTC", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/account:BTC"}}, {{"okex:futures/ticker:BTC-USD-210924", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210924"}}, {{"deribitws:ticker.BTC-PERPETUAL.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-PERPETUAL.raw"}}, {{"deribitws:ticker.BTC-24SEP21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-24SEP21.raw"}}, {{"okex:futures/position:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/position:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210528", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210528"}}, {{"okex:futures/ticker:BTC-USD-210604", "user:1:trade-dashboard", App.Exchanges.Okex}, %{exchange: App.Exchanges.Okex, id: "user:1:trade-dashboard", topic: "futures/ticker:BTC-USD-210604"}}, {{"deribitws:ticker.BTC-25JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-25JUN21.raw"}}, {{"deribitws:ticker.BTC-4JUN21.raw", "user:1:trade-dashboard", App.Exchanges.DeribitWS}, %{exchange: App.Exchanges.DeribitWS, id: "user:1:trade-dashboard", topic: "ticker.BTC-4JUN21.raw"}}]
  358. [info] Subscription h5NtNGKIBDYf2SaZQMFG_ removed from ticker.BTC-25JUN21.raw, but channel still in use.
  359. [warn] Terminated: :normal - state: %{account: "deribit_main", auto_cleanup: true, avg_size: 10, cancel_order_for: nil, direction: :open_short, exchange: :deribit, filled_so_far: 10.0, id: "h5NtNGKIBDYf2SaZQMFG_", instrument: "BTC-25JUN21", limit_price: #Decimal<3.7E+4>, mock_order: nil, mock_ticker: nil, price_var_diff: #Decimal<0.00005>, price_variance: #Decimal<0.005>, seq_orders: %{order_ids: ["5865411789"], orders: %{"5865411789" => %{exchange: :deribit, filled: 10.0, info: "reduce_only: false", instrument: "BTC-25JUN21", order_id: "5865411789", price: #Decimal<40309.0>, size: 10.0, state: "filled", type: "limit"}}}, stages: [:error, :order_cancelled, :cancelling_order, :order_placed, :wait_limit], strategy: :futures_iceberg_order, subs: %{keys: %{}}, total_size: 10, ui_info: "Total size reached in stage order_cancelled. Should be impossible, investigate!"}
  360.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement