Skip to content

no market data available (source=empty) #80

@iva-nova-e-katerina

Description

@iva-nova-e-katerina
└─$ python3 trading_script.py --file "Start Your Own/chatgpt_portfolio_update.csv"
Portfolio CSV is empty. Returning set amount of cash for creating portfolio.
What would you like your starting cash amount to be? 200
Start Your Own/chatgpt_portfolio_update.csv
Empty DataFrame
Columns: [ticker, shares, stop_loss, buy_price, cost_basis]
Index: []
 You have 200.0 in cash.
Would you like to log a manual trade? Enter 'b' for buy, 's' for sell, or press Enter to continue: b
Enter ticker symbol: KALA
Order type? 'm' = market-on-open, 'l' = limit: m
Enter number of shares: 1
Enter stop loss (or 0 to skip): 12.22
MOO buy for KALA failed: no market data available (source=empty).
Empty DataFrame

Why the data source is empty?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions