{"type":"EditReservedAmount","data":{"amount_native":1761928410,"new_reserved_amount_native":304020060,"increase":false,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":35238,"fee_usd":35238,"fee_type":"funding","new_accumulated_fees_native":601993921,"new_accumulated_fees_usd":601993921,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":3523856,"fee_usd":3523856,"fee_type":"position","new_accumulated_fees_native":605517777,"new_accumulated_fees_usd":605517777,"increase":true,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 178581496 collateral reduction: 172668985
position size = size delta, usd_out: 178581496 collateral reduction: 172668985
usd_out: 178581496 adjusted delta: 5912511 has_profit true
{"type":"EditPoolBalance","data":{"amount_native":5912511,"new_pool_balance_native":57222611455,"increase":false,"account_id":"knowyourenemy.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"knowyourenemy.near","position_id":"GhXX91msofxLNAhZdJ3WNdEBy6En9NGrhBg99rvX4L7c","collateral_token":"usdt.tether-token.near","underlying_token":"near","collateral_delta_native":"172668985","collateral_delta_usd":"172668985","size_delta_usd":"1761928410","new_size_usd":"0","is_long":false,"price_usd":"2673000","usd_out":"178581496","total_fee_usd":"3559094","margin_fee_usd":"3523856","position_fee_usd":"35238","total_fee_native":"3559094","margin_fee_native":"3523856","position_fee_native":"35238","referral_code":null,"realized_pnl_to_date_usd":"5912511","adjusted_delta_usd":"5912511","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"175022402","deposit":false,"method":"decrease_position","receiver_id":"knowyourenemy.near","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}