{"type":"EditReservedAmount","data":{"amount_native":50410859722836503022261536,"new_reserved_amount_native":3225186589514686346666257193,"increase":false,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} {"type":"EditFees","data":{"fee_native":46085136406396989651928,"fee_usd":97976,"fee_type":"funding","new_accumulated_fees_native":2134226291585511594610467486,"new_accumulated_fees_usd":4537365095,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} {"type":"EditFees","data":{"fee_native":70539040451552210724365,"fee_usd":149965,"fee_type":"position","new_accumulated_fees_native":2134296830625963146821191851,"new_accumulated_fees_usd":4537515061,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} collateral delta > 0 usd_out: 24988153 collateral reduction: 17792000 position size = size delta, usd_out: 24988153 collateral reduction: 17792000 usd_out: 24988153 adjusted delta: 7196153 has_profit true {"type":"EditGuaranteedUsd","data":{"amount_usd":17792000,"new_guaranteed_usd":5056221529,"increase":true,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} {"type":"EditGuaranteedUsd","data":{"amount_usd":99977389,"new_guaranteed_usd":4956244140,"increase":false,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} {"type":"EditPoolBalance","data":{"amount_native":11753599717779868297271872,"new_pool_balance_native":54851799892290656454175150235,"increase":false,"account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","asset_id":"near"}} {"type":"EditPosition","data":{"direction":"decrease","account_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","position_id":"DzMvUHMbWD3BTVpmRyvZimDsPpbNzjEvpStspt1pzarC","collateral_token":"near","underlying_token":"near","collateral_delta_native":"8368767638758231420507996","collateral_delta_usd":"17792000","size_delta_usd":"99977389","new_size_usd":"0","is_long":true,"price_usd":"2126000","usd_out":"24988153","total_fee_usd":"247943","margin_fee_usd":"149966","position_fee_usd":"97977","total_fee_native":"116624176857949200376293","margin_fee_native":"70539040451552210724365","position_fee_native":"46085136406396989651928","referral_code":null,"realized_pnl_to_date_usd":"7196153","adjusted_delta_usd":"7196153","state":"closed","limit_order_id":null,"liquidator_id":null}} {"type":"TokenDepositWithdraw","data":{"amount_native":"11636975540921919096895578","deposit":false,"method":"decrease_position","receiver_id":"190a676d5a352db5792f951eb5aa1c7b7764b235e23e70c822ce80deb03562b7","account_id":"v1.tonic-perps.near","asset_id":"near"}}