API based on GoinGecko's public API. to get initial data for bitcoin with euro as currency. API attempts to give answer to following questions with given date range.
- How many days is the longest downward trend?
- Which date has the highest trading volume?
- What are the best days to buy and sell?
Use API hosted on Render with built-in Swagger or with any suitable tool of your choice.
Input date format: yyyy-MM-dd
Endpoints:
- /longestdownwardtrend
- /highestradingvolume
- /buyandsell
Requirements:
- .NET 8 SDK installed
Run API locally dotnet watch run --project App
Run API locally via Docker docker-compose up app --build
Run tests dotnet test