Open yellow1912 opened 2 months ago
Hi @yellow1912 Cám ơn bạn đã báo lỗi, Bạn cho mình xin chi tiết 1 số mã mà bạn bắt gặp lỗi nhé. Việc này giúp mình kiểm tra và sửa lỗi đơn giản hơn thay vì ngồi test để tìm ra đâu là mã không có thông tin Cash Flow như bạn mô tả.
Bạn có thể lấy subsidiaries của ACM
company = Vnstock().stock(symbol='ACM', source='TCBS').company
subsidiaries = company.subsidiaries()
print(subsidiaries)
Đây là lỗi nếu tìm cách lấy Cash Flow của một symbol không có thông tin này (vnstock3 bản mới nhất)
Unexpected error occurred while fetching Cash Flow: "None of [Index(['ticker', 'yearReport', 'lengthReport'], dtype='object')] are in the [columns]"
Theo mình thì nên đưa về 1 empty result thì đúng hơn.