{"type":"EditReservedAmount","data":{"amount_native":23501105,"new_reserved_amount_native":36962539,"increase":false,"account_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":306479652,"new_accumulated_fees_usd":306479652,"increase":true,"account_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":47002,"fee_usd":47002,"fee_type":"position","new_accumulated_fees_native":306526654,"new_accumulated_fees_usd":306526654,"increase":true,"account_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 11690177 collateral reduction: 11703550
position size = size delta, usd_out: 11690177 collateral reduction: 11703550
usd_out: 11690177 adjusted delta: 13373 has_profit false
{"type":"EditPoolBalance","data":{"amount_native":13373,"new_pool_balance_native":57003127959,"increase":true,"account_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","position_id":"HFJafC64WZdJe6RpMVR6CW7sdSVFZXJn3gycraDzrRDa","collateral_token":"usdt.tether-token.near","underlying_token":"aurora","collateral_delta_native":"11703550","collateral_delta_usd":"11703550","size_delta_usd":"23501105","new_size_usd":"0","is_long":false,"price_usd":"1600000000","usd_out":"11690177","total_fee_usd":"47002","margin_fee_usd":"47002","position_fee_usd":"0","total_fee_native":"47002","margin_fee_native":"47002","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"-13373","adjusted_delta_usd":"-13373","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"11643175","deposit":false,"method":"decrease_position","receiver_id":"c0388146f4dbb4c6cf3a22968e956d0f9104f209f7969be87a552451a648a2e7","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}