FinGPT icon indicating copy to clipboard operation
FinGPT copied to clipboard

Too many attempt to download; and 'other_code_list' is not defined

Open lightning20 opened this issue 2 years ago • 3 comments

Hello,

When trying to download the data for US model, there seem many attempt threads been started, while most of them are interrupted, guessing this is a issue from the website?

Also, after the first download is completed, it will run "for stock in tqdm(other_code_list):", but "other_code_list" seems not defined.

Any suggestion, thanks. alex

lightning20 avatar Jun 17 '23 16:06 lightning20

Can you tell me specifically what US data you were trying to download?.

datatalking avatar Jun 18 '23 03:06 datatalking

Hi lightning20.

As for the first question, you may need at least a starter edition (about $14 or $19/month) to obtain the complete data. And your problem may also be caused by internet issues so you may check your connection to the FMP website.

As for the second question, there were actually two parts of stocks to be downloaded. To avoid reinventing the wheel, the download progress was split into two parts. So we don't need "other_code_list" now.

BTW, we are making connections to better free data sources on the FinNLP repo and we will update them as soon as possible,

oliverwang15 avatar Jun 18 '23 11:06 oliverwang15

The data are news from main financial site with title, content, link. The contents seems not very long. The finance site are mostly a good record. There may also valuable news from other sites.

ant3001 avatar Jun 18 '23 13:06 ant3001