{"type":"EditReservedAmount","data":{"amount_native":21226000,"new_reserved_amount_native":60881075,"increase":false,"account_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":323809376,"new_accumulated_fees_usd":323809376,"increase":true,"account_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":42452,"fee_usd":42452,"fee_type":"position","new_accumulated_fees_native":323851828,"new_accumulated_fees_usd":323851828,"increase":true,"account_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 10564612 collateral reduction: 10570548
position size = size delta, usd_out: 10564612 collateral reduction: 10570548
usd_out: 10564612 adjusted delta: 5936 has_profit false
{"type":"EditPoolBalance","data":{"amount_native":5936,"new_pool_balance_native":57391727559,"increase":true,"account_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","position_id":"9CG2xL3548iNdJdGSBQmaqr2qL1kqjRwjEZXv4C7ACn1","collateral_token":"usdt.tether-token.near","underlying_token":"aurora","collateral_delta_native":"10570548","collateral_delta_usd":"10570548","size_delta_usd":"21226000","new_size_usd":"0","is_long":false,"price_usd":"1573690000","usd_out":"10564612","total_fee_usd":"42452","margin_fee_usd":"42452","position_fee_usd":"0","total_fee_native":"42452","margin_fee_native":"42452","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"-5936","adjusted_delta_usd":"-5936","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"10522160","deposit":false,"method":"decrease_position","receiver_id":"9c1d03420f05d152646fd854abecc11f03a8924cd42ef27ad6e282f9fafe7430","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}