DCF Model Generator by FiMo Copilot

DCF Model Generator by FiMo Copilot · Ações GPT

Tailored DCF Model Generator

Based on given parameters, retrieves financial data and generate DCF Model with link and brief summary.

  • POST /generate_dcf_excelGenerate DCF model and reply with link and brief summary of the model result.

    Generate DCF Excel data based on specified criteria.

  • GET /search_tickerSearch for stock tickers

    Returns detailed information about stock tickers based on the provided keyword.

Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "Tailored DCF Model Generator",
    "description": "Based on given parameters, retrieves financial data and generate DCF Model with link and brief summary.",
    "version": "v1.3.0"
  },
  "servers": [
    {
      "url": "https://www.financialmodeling.tech/"
    }
  ],
  "paths": {
    "/generate_dcf_excel": {
      "post": {
        "summary": "Generate DCF model and reply with link and brief summary of the model result.",
        "description": "Generate DCF Excel data based on specified criteria.",
        "operationId": "GenerateDCFExcel",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ticker": {
                    "type": "string",
                    "description": "The stock ticker symbol for the company to be analyzed. must input."
                  },
                  "estimated_periods": {
                    "type": "integer",
                    "minimum": 2,
                    "description": "Optional, default 10. Number of future periods to estimate in the analysis, at least 2."
                  },
                  "if_tech_company": {
                    "type": "boolean",
                    "description": "Whether the company is a tech company."
                  },
                  "best_comps_indicator": {
                    "type": "string",
                    "description": "The most appropriate multiple for comparison.",
                    "enum": [
                      "PE",
                      "PS",
                      "PB",
                      "EV/EBITDA"
                    ],
                    "default": "PE"
                  },
                  "peer_tickers": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of peer company ticker symbols, same format as ticker.",
                    "minItems": 5
                  }
                },
                "required": [
                  "ticker",
                  "if_tech_company",
                  "best_comps_indicator",
                  "peer_tickers"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A URL to download the Excel file",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/search_ticker": {
      "get": {
        "summary": "Search for stock tickers",
        "description": "Returns detailed information about stock tickers based on the provided keyword.",
        "operationId": "SearchTicker",
        "parameters": [
          {
            "in": "query",
            "name": "keyword",
            "required": true,
            "description": "Keyword to search for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A json with key 'tickers' and value as the ticker",
            "content": {
              "application/json": {
                "properties": {
                  "ticker": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  }
}