Cryptocurrency Pivot Calculator
The code you provided is a Flask web application that serves as a pivot calculator for cryptocurrency exchanges. It allows users to calculate pivot points, resistances, and supports for a given cryptocurrency exchange. For example, accessing the '/' route would return a JSON response with a description of the application, and accessing '/btc' would calculate and return pivot points, resistances,…
Cryptocurrency Pivot Calculator endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
BTC Pivot, Resistence, Support /btc |
If the given exchange is **"btc"**, the application will retrieve historical data for the **Bitcoin (BTC)** cryptocurrency exchange using the yfinance library. It will then… |
| GET |
MATIC Pivot, Resistence, Support /matic |
If the given exchange is **"matic"**, the application will retrieve historical data for the **Polygon (MATIC)** cryptocurrency exchange using the yfinance library. It will then… |