You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not able to gather historical data for bitcoin via coingecko.
I have existing activities starting from 2021-10-17 all the way to 2024.
When I delete all activities from 2021 till 2023, the historical market data gathering works fine.
To Reproduce
Create activity to buy bitcoin in 2021
Create activity to buy bitcoin in 2024
Click on "Gather Historical Data" (bitcoin) -> Error (See logs)
Delete buy bitcoin activity from 2021
Click on "Gather Historical Data" (bitcoin) -> Works
Expected behavior
The market data should also be captured if the range is more than one year. Maybe request the data in junks of max one year?
Logs
[Nest] 109 - 04/01/2024, 12:14:08 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been started for bitcoin (COINGECKO) at 2021-10-17
[Nest] 109 - 04/01/2024, 12:14:08 PM ERROR [DataProviderService] Error: Could not get historical market data for bitcoin (COINGECKO) from 2021-10-17 to 2024-04-01: [HTTPError] Response code 401 (Unauthorized)
[Nest] 109 - 04/01/2024, 12:14:08 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been completed for bitcoin (COINGECKO) at 2024-04-01
[Nest] 109 - 04/01/2024, 12:14:12 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been started for bitcoin (COINGECKO) at 2021-10-17
[Nest] 109 - 04/01/2024, 12:14:12 PM ERROR [DataProviderService] Error: Could not get historical market data for bitcoin (COINGECKO) from 2021-10-17 to 2024-04-01: [HTTPError] Response code 401 (Unauthorized)
[Nest] 109 - 04/01/2024, 12:14:12 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been completed for bitcoin (COINGECKO) at 2024-04-01
[Nest] 109 - 04/01/2024, 12:14:19 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been started for bitcoin (COINGECKO) at 2021-10-17
[Nest] 109 - 04/01/2024, 12:14:19 PM ERROR [DataProviderService] Error: Could not get historical market data for bitcoin (COINGECKO) from 2021-10-17 to 2024-04-01: [HTTPError] Response code 401 (Unauthorized)
[Nest] 109 - 04/01/2024, 12:14:19 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been completed for bitcoin (COINGECKO) at 2024-04-01
[Nest] 109 - 04/01/2024, 12:14:23 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been started for bitcoin (COINGECKO) at 2021-10-17
[Nest] 109 - 04/01/2024, 12:14:23 PM ERROR [DataProviderService] Error: Could not get historical market data for bitcoin (COINGECKO) from 2021-10-17 to 2024-04-01: [HTTPError] Response code 401 (Unauthorized)
[Nest] 109 - 04/01/2024, 12:14:23 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been completed for bitcoin (COINGECKO) at 2024-04-01
[Nest] 109 - 04/01/2024, 12:14:27 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been started for bitcoin (COINGECKO) at 2021-10-17
[Nest] 109 - 04/01/2024, 12:15:27 PM ERROR [DataProviderService] Error: Could not get historical market data for bitcoin (COINGECKO) from 2021-10-17 to 2024-04-01: [RequestError] The operation was aborted
[Nest] 109 - 04/01/2024, 12:15:27 PM LOG [DataGatheringProcessor (GATHER_HISTORICAL_MARKET_DATA)] Historical market data gathering has been completed for bitcoin (COINGECKO) at 2024-04-01
Environment
Ghostfolio Version 2.69.0
Self-hosted: Azure Kubernetes Service
Experimental Features: disabled
Browser: Edge
OS: macOS
The text was updated successfully, but these errors were encountered:
Bug Description
Not able to gather historical data for bitcoin via coingecko.
I have existing activities starting from 2021-10-17 all the way to 2024.
When I delete all activities from 2021 till 2023, the historical market data gathering works fine.
To Reproduce
Expected behavior
The market data should also be captured if the range is more than one year. Maybe request the data in junks of max one year?
Logs
Environment
The text was updated successfully, but these errors were encountered: