Open gaussianswan opened 3 years ago
I'm finding an issue when I try to pull in the stock to flow time series (endpoint is: 'https://api.glassnode.com/v1/metrics/indicators/stock_to_flow_ratio').
The error that I get is "DataFrame" object has no attribute "v". Is there any way to work around this? gn = GlassnodeClient() gn.set_api_key('my-api-key') gn.get('https://api.glassnode.com/v1/metrics/indicators/stock_to_flow_ratio') Thanks!
gn = GlassnodeClient() gn.set_api_key('my-api-key') gn.get('https://api.glassnode.com/v1/metrics/indicators/stock_to_flow_ratio')
Try changing the last try/except clause in glassnode.py to what is suggested in this comment. https://github.com/glassnode/glassnode-api-python-client/issues/5#issuecomment-872003355
I'm finding an issue when I try to pull in the stock to flow time series (endpoint is: 'https://api.glassnode.com/v1/metrics/indicators/stock_to_flow_ratio').
The error that I get is "DataFrame" object has no attribute "v". Is there any way to work around this?
gn = GlassnodeClient() gn.set_api_key('my-api-key') gn.get('https://api.glassnode.com/v1/metrics/indicators/stock_to_flow_ratio')
Thanks!