{"type":"EditReservedAmount","data":{"amount_native":23716006,"new_reserved_amount_native":60881075,"increase":false,"account_id":"8061f061e96121035b55ea6e6732f3800b953166201b815d403f217bc05c20f0","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":322383682,"new_accumulated_fees_usd":322383682,"increase":true,"account_id":"8061f061e96121035b55ea6e6732f3800b953166201b815d403f217bc05c20f0","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":47432,"fee_usd":47432,"fee_type":"position","new_accumulated_fees_native":322431114,"new_accumulated_fees_usd":322431114,"increase":true,"account_id":"8061f061e96121035b55ea6e6732f3800b953166201b815d403f217bc05c20f0","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 11810571 collateral reduction: 11810571
position size = size delta, usd_out: 11810571 collateral reduction: 11810571
usd_out: 11810571 adjusted delta: 0 has_profit false
{"type":"EditPosition","data":{"direction":"decrease","account_id":"8061f061e96121035b55ea6e6732f3800b953166201b815d403f217bc05c20f0","position_id":"7hQYBZZgWoZM73AGjxoX71g2sBuLGpzqFmqHsHPFQ8ou","collateral_token":"usdt.tether-token.near","underlying_token":"near","collateral_delta_native":"11810571","collateral_delta_usd":"11810571","size_delta_usd":"23716006","new_size_usd":"0","is_long":false,"price_usd":"2421000","usd_out":"11810571","total_fee_usd":"47432","margin_fee_usd":"47432","position_fee_usd":"0","total_fee_native":"47432","margin_fee_native":"47432","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"0","adjusted_delta_usd":"0","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"11763139","deposit":false,"method":"decrease_position","receiver_id":"8061f061e96121035b55ea6e6732f3800b953166201b815d403f217bc05c20f0","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}