{"type":"EditReservedAmount","data":{"amount_native":23039418,"new_reserved_amount_native":60881075,"increase":false,"account_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":324492874,"new_accumulated_fees_usd":324492874,"increase":true,"account_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":46078,"fee_usd":46078,"fee_type":"position","new_accumulated_fees_native":324538952,"new_accumulated_fees_usd":324538952,"increase":true,"account_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 11486263 collateral reduction: 11473631
position size = size delta, usd_out: 11486263 collateral reduction: 11473631
usd_out: 11486263 adjusted delta: 12632 has_profit true
{"type":"EditPoolBalance","data":{"amount_native":12632,"new_pool_balance_native":57391736687,"increase":false,"account_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","position_id":"4aGM7egtAQ9ZXbbXEophku6WDkx8GAG8zRnGdpUGrmX7","collateral_token":"usdt.tether-token.near","underlying_token":"aurora","collateral_delta_native":"11473631","collateral_delta_usd":"11473631","size_delta_usd":"23039418","new_size_usd":"0","is_long":false,"price_usd":"1567670000","usd_out":"11486263","total_fee_usd":"46078","margin_fee_usd":"46078","position_fee_usd":"0","total_fee_native":"46078","margin_fee_native":"46078","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"12632","adjusted_delta_usd":"12632","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"11440185","deposit":false,"method":"decrease_position","receiver_id":"12ba9c9984aa4999598ad08c4260dddf4ecf0d4404ec39bce8a3c4b2eba1e54d","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}