简体   繁体   中英

Forex data from Quandl with Pandas

I'm trying to get Currency data from Quandl with Pandas with this code:

data = Quandl.get('GBPUSD', collapse='weekly', authtoken='XXXXX')

But I'm getting

Quandl.Quandl.DatasetNotFound: Dataset not found. Check Quandl code: GBP for errors

You need to specify a source like this:

    data = Quandl.get('CURRFX/GPBUSD')

There are several other sources. Check https://www.quandl.com/resources/api-for-currency-data for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM