diff --git a/app/services/import_okx_transactions_csv_service.rb b/app/services/import_okx_transactions_csv_service.rb index 68a6553..ade0528 100644 --- a/app/services/import_okx_transactions_csv_service.rb +++ b/app/services/import_okx_transactions_csv_service.rb @@ -79,6 +79,7 @@ def store_okx_model user_id: @user_id, origin_symbol: symbol, trade_type: trade_type, + position_side: position_side, qty: get_number(qty, revenue), amount: get_number(amount,revenue) ).first_or_create