Skip to content

Updated CoinGeckoMarket AllTimeHighTimestamp and LastUpdated properties to nullable DateTime#22

Merged
JKorf merged 1 commit intoJKorf:mainfrom
nils2525:feature/CoinGeckoMarketFix
Apr 2, 2026
Merged

Updated CoinGeckoMarket AllTimeHighTimestamp and LastUpdated properties to nullable DateTime#22
JKorf merged 1 commit intoJKorf:mainfrom
nils2525:feature/CoinGeckoMarketFix

Conversation

@nils2525
Copy link
Copy Markdown
Contributor

@nils2525 nils2525 commented Apr 1, 2026

Fix for the RestClient.Api.GetMarketsAsync(...) request:

15:53:17.178 | Warning     | CryptoExchange | DateTime value of null, but property is not nullable. Resolver: CoinGeckoSourceGenerationContext

Example Json Data:

....
    {
        "id": "atlas-2",
        "symbol": "atlas",
        "name": "ATLAS",
        "image": "https://coin-images.coingecko.com/coins/images/102172548/large/ATLAS.webp?1773830115",
        "current_price": null,
        "market_cap": null,
        "market_cap_rank": null,
        "fully_diluted_valuation": null,
        "total_volume": null,
        "high_24h": null,
        "low_24h": null,
        "price_change_24h": null,
        "price_change_percentage_24h": null,
        "market_cap_change_24h": null,
        "market_cap_change_percentage_24h": null,
        "circulating_supply": 0.0,
        "total_supply": 30000000.0,
        "max_supply": 30000000.0,
        "ath": null,
        "ath_change_percentage": 0.0,
        "ath_date": null,
        "atl": null,
        "atl_change_percentage": 0.0,
        "atl_date": null,
        "roi": null,
        "last_updated": null
    }
....

@JKorf JKorf merged commit 4456870 into JKorf:main Apr 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants