{"type":"EditReservedAmount","data":{"amount_native":24372900,"new_reserved_amount_native":36962539,"increase":false,"account_id":"beauclair.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":304923793,"new_accumulated_fees_usd":304923793,"increase":true,"account_id":"beauclair.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":48745,"fee_usd":48745,"fee_type":"position","new_accumulated_fees_native":304972538,"new_accumulated_fees_usd":304972538,"increase":true,"account_id":"beauclair.near","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 12109266 collateral reduction: 12137705
position size = size delta, usd_out: 12109266 collateral reduction: 12137705
usd_out: 12109266 adjusted delta: 28439 has_profit false
{"type":"EditPoolBalance","data":{"amount_native":28439,"new_pool_balance_native":57003133737,"increase":true,"account_id":"beauclair.near","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"beauclair.near","position_id":"Co1YasxFWz6wj23CoXRM4qBokqR1yXQuEvkBfdnMM7c7","collateral_token":"usdt.tether-token.near","underlying_token":"near","collateral_delta_native":"12137705","collateral_delta_usd":"12137705","size_delta_usd":"24372900","new_size_usd":"0","is_long":false,"price_usd":"2574000","usd_out":"12109266","total_fee_usd":"48745","margin_fee_usd":"48745","position_fee_usd":"0","total_fee_native":"48745","margin_fee_native":"48745","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"-28439","adjusted_delta_usd":"-28439","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"12060521","deposit":false,"method":"decrease_position","receiver_id":"beauclair.near","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}