Skip to content

"Error processing MSFT: 'DataFrame' object has no attribute 'unique'"} #1

@selvanponraj

Description

@selvanponraj

Hi Pecan,

python scripts/run_paper_trading.py \ main|✚1
--source ibkr
--symbols SPY AAPL MSFT
--interval 1m
--strategy sma

getting the below error. Kindly advise.

{"timestamp": "2025-07-16T21:06:02.731543Z", "level": "INFO", "logger": "TradingBot", "message": "Performing initial data fetch for AAPL"}
{"timestamp": "2025-07-16T21:06:03.396792Z", "level": "INFO", "logger": "TradingBot", "message": "Cached 390 bars for AAPL"}
{"timestamp": "2025-07-16T21:06:03.396934Z", "level": "INFO", "logger": "TradingBot", "message": "Using 390 bars for AAPL (cached: True)"}
{"timestamp": "2025-07-16T21:06:03.396993Z", "level": "INFO", "logger": "TradingBot", "message": "Generating signals for AAPL"}
{"timestamp": "2025-07-16T21:06:03.400493Z", "level": "ERROR", "logger": "TradingBot", "message": "Error processing AAPL: 'DataFrame' object has no attribute 'unique'"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions