It's the input that we have going into tabulator I want to adjust some of the fields, so wanted to pass it through a function.
[{"id":21277788,"version":2,"account":{"id":31430770,"type":"paper_trading","name":"Paper Account","market":"Paper trading account","link":"/accounts/31430770"},"pair":"USDT_ETH","instant":false,"status":{"type":"waiting_targets","basic_type":"waiting_targets","title":"Waiting Targets"},"leverage":{"enabled":false},"position":{"type":"buy","editable":false,"units":{"value":"0.02","editable":false},"price":{"value":"1243.85","value_without_commission":"1242.61","editable":false},"total":{"value":"24.8770522"},"order_type":"market","status":{"type":"finished","basic_type":"finished","title":"Finished"}},"take_profit":{"enabled":true,"steps":[{"id":88864270,"order_type":"market","editable":true,"units":{"value":"0.02"},"price":{"value":"1306.04","type":"last","percent":null},"volume":"100.0","total":"26.1208","trailing":{"enabled":true,"percent":"-2.0"},"status":{"type":"to_process","basic_type":"to_process","title":"Pending"},"data":{"cancelable":true,"panic_sell_available":true},"position":1}]},"stop_loss":{"enabled":true,"breakeven":false,"order_type":"market","editable":true,"price":{"value":null},"conditional":{"price":{"value":"1206.53","type":"last","percent":null},"trailing":{"enabled":true,"percent":null}},"timeout":{"enabled":true,"value":2},"status":{"type":"trailing_activated","basic_type":"trailing_activated","title":"Trailing Activated"}},"reduce_funds":{"steps":[]},"market_close":{},"note":"","note_raw":null,"skip_enter_step":false,"data":{"editable":true,"current_price":{"day_change_percent":"-0.138","bid":"1242.5","ask":"1242.51","last":"1242.5","quote_volume":"847233893.982426"},"target_price_type":"price","base_order_finished":true,"missing_funds_to_close":0,"liquidation_price":null,"average_enter_price":"1243.85","average_close_price":null,"average_enter_price_without_commission":"1242.61","average_close_price_without_commission":null,"panic_sell_available":true,"add_funds_available":true,"reduce_funds_available":true,"force_start_available":false,"force_process_available":true,"cancel_available":true,"finished":false,"base_position_step_finished":true,"entered_amount":"0.02","entered_total":"24.8770522","closed_amount":"0.0","closed_total":"0.0","created_at":"2022-11-15T18:58:45.507Z","updated_at":"2022-11-15T18:58:45.507Z","type":"smart_trade"},"profit":{"volume":"-0.0519022","usd":"-0.0519022","percent":"-0.21","roe":null},"margin":{"amount":null,"total":null},"is_position_not_filled":false},{"id":21277785,"version":2,"account":{"id":31430770,"type":"paper_trading","name":"Paper Account","market":"Paper trading account","link":"/accounts/31430770"},"pair":"USDT_SOL","instant":false,"status":{"type":"waiting_targets","basic_type":"waiting_targets","title":"Waiting Targets"},"leverage":{"enabled":false},"position":{"type":"buy","editable":false,"units":{"value":"1.41","editable":false},"price":{"value":"14.16","value_without_commission":"14.15","editable":false},"total":{"value":"19.9714515"},"order_type":"market","status":{"type":"finished","basic_type":"finished","title":"Finished"}},"take_profit":{"enabled":true,"steps":[{"id":88864262,"order_type":"market","editable":true,"units":{"value":"1.41"},"price":{"value":"14.92","type":"last","percent":null},"volume":"100.0","total":"21.0372","trailing":{"enabled":true,"percent":"-2.0"},"status":{"type":"to_process","basic_type":"to_process","title":"Pending"},"data":{"cancelable":true,"panic_sell_available":true},"position":1}]},"stop_loss":{"enabled":true,"breakeven":false,"order_type":"market","editable":true,"price":{"value":null},"conditional":{"price":{"value":"13.78","type":"last","percent":null},"trailing":{"enabled":true,"percent":null}},"timeout":{"enabled":true,"value":2},"status":{"type":"trailing_activated","basic_type":"trailing_activated","title":"Trailing Activated"}},"reduce_funds":{"steps":[]},"market_close":{},"note":"","note_raw":null,"skip_enter_step":false,"data":{"editable":true,"current_price":{"day_change_percent":"0.929","bid":"14.12","ask":"14.13","last":"14.12","quote_volume":"117341581.0138"},"target_price_type":"price","base_order_finished":true,"missing_funds_to_close":0,"liquidation_price":null,"average_enter_price":"14.16","average_close_price":null,"average_enter_price_without_commission":"14.15","average_close_price_without_commission":null,"panic_sell_available":true,"add_funds_available":true,"reduce_funds_available":true,"force_start_available":false,"force_process_available":true,"cancel_available":true,"finished":false,"base_position_step_finished":true,"entered_amount":"1.41","entered_total":"19.9714515","closed_amount":"0.0","closed_total":"0.0","created_at":"2022-11-15T18:58:30.977Z","updated_at":"2022-11-15T18:58:30.977Z","type":"smart_trade"},"profit":{"volume":"-0.0821607","usd":"-0.0821607","percent":"-0.41","roe":null},"margin":{"amount":null,"total":null},"is_position_not_filled":false}]