{"type":"EditReservedAmount","data":{"amount_native":49378622,"new_reserved_amount_native":129450580,"increase":false,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":23701,"fee_usd":23701,"fee_type":"funding","new_accumulated_fees_native":4252183602,"new_accumulated_fees_usd":4252183602,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":74067,"fee_usd":74067,"fee_type":"position","new_accumulated_fees_native":4252257669,"new_accumulated_fees_usd":4252257669,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 22835552 collateral reduction: 24554281
position size = size delta, usd_out: 22835552 collateral reduction: 24554281
usd_out: 22835552 adjusted delta: 1718729 has_profit false
{"type":"EditPoolBalance","data":{"amount_native":1718729,"new_pool_balance_native":38778657462,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","position_id":"CQq66CyNRv73qRg325FJqtgDoaYjZBEmQXkNHc7sEFMV","collateral_token":"usdt.tether-token.near","underlying_token":"near","collateral_delta_native":"24554281","collateral_delta_usd":"24554281","size_delta_usd":"49378622","new_size_usd":"0","is_long":false,"price_usd":"2200000","usd_out":"22835552","total_fee_usd":"97768","margin_fee_usd":"74067","position_fee_usd":"23701","total_fee_native":"97768","margin_fee_native":"74067","position_fee_native":"23701","referral_code":null,"realized_pnl_to_date_usd":"-1718729","adjusted_delta_usd":"-1718729","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"22737784","deposit":false,"method":"decrease_position","receiver_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}