Skip to content

Conversation

@nicolasakf
Copy link

@nicolasakf nicolasakf commented Jan 6, 2026

  • Updated process_price_change to accept an optional asset_id parameter for better asset validation.
  • Modified process_data to ensure json_datas is always a list and to pass asset_id when available.
  • Added checks in update_markets to ensure the 'multiplier' column exists and fill NaN values with empty strings.
  • Refactored multiplier application in get_buy_sell_amount to use row.get() for safer access.

Fixes #20

- Updated `process_price_change` to accept an optional `asset_id` parameter for better asset validation.
- Modified `process_data` to ensure `json_datas` is always a list and to pass `asset_id` when available.
- Added checks in `update_markets` to ensure the 'multiplier' column exists and fill NaN values with empty strings.
- Refactored multiplier application in `get_buy_sell_amount` to use `row.get()` for safer access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant