{"type":"EditReservedAmount","data":{"amount_native":27225027,"new_reserved_amount_native":60881075,"increase":false,"account_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":0,"fee_usd":0,"fee_type":"funding","new_accumulated_fees_native":323030376,"new_accumulated_fees_usd":323030376,"increase":true,"account_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","asset_id":"usdt.tether-token.near"}}
{"type":"EditFees","data":{"fee_native":54450,"fee_usd":54450,"fee_type":"position","new_accumulated_fees_native":323084826,"new_accumulated_fees_usd":323084826,"increase":true,"account_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","asset_id":"usdt.tether-token.near"}}
collateral delta > 0 usd_out: 13561182 collateral reduction: 13558063
position size = size delta, usd_out: 13561182 collateral reduction: 13558063
usd_out: 13561182 adjusted delta: 3119 has_profit true
{"type":"EditPoolBalance","data":{"amount_native":3119,"new_pool_balance_native":57391677669,"increase":false,"account_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","asset_id":"usdt.tether-token.near"}}
{"type":"EditPosition","data":{"direction":"decrease","account_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","position_id":"4b4TTvfvpbGBTofecknmwxLW28fDqH24TE5AC6E82b4h","collateral_token":"usdt.tether-token.near","underlying_token":"aurora","collateral_delta_native":"13558063","collateral_delta_usd":"13558063","size_delta_usd":"27225027","new_size_usd":"0","is_long":false,"price_usd":"1570910000","usd_out":"13561182","total_fee_usd":"54450","margin_fee_usd":"54450","position_fee_usd":"0","total_fee_native":"54450","margin_fee_native":"54450","position_fee_native":"0","referral_code":null,"realized_pnl_to_date_usd":"3119","adjusted_delta_usd":"3119","state":"closed","limit_order_id":null,"liquidator_id":null}}
{"type":"TokenDepositWithdraw","data":{"amount_native":"13506732","deposit":false,"method":"decrease_position","receiver_id":"0cb80dcbf0e4dfc88ca7952e1971c8e31ad7492c262f2be56c3057e6c4a06860","account_id":"v1.tonic-perps.near","asset_id":"usdt.tether-token.near"}}