TradeGPT - Real-time Stock Analysis & Prediction

TradeGPT - Real-time Stock Analysis & Prediction · Actions GPT

gpt_manual_json_operations

Service to execute manual JSON operations with specified parameters.

  • POST /Why_is_it_movingSearch for the reason why a stock's price soar or plunge.
  • POST /Stock_Quote_LatestRetrieve a company's real-time market indicators, such as five-day money flows. Use this for numerical data queries only. For analysis, use Stock_Analysis instead.
  • POST /Customer_Service_InfoSearch for Various Q&A related to Tiger Brokers Customer Service and App operations...
  • POST /Stock_Quote_HistoryRetrieve historical stock quote data
  • POST /Brand_InfoSearch for the introduction of Tiger Brokers and its platform Tiger Trade...
  • POST /Earnings_DataCompany's financial report data...
  • POST /Economic_DataSearch macroeconomic data
  • POST /Stock_ScreenerSelect stocks based on various indicators.
  • POST /News_ViewpointsSearch for news and articles about stocks, events and market.
  • POST /Stock_AnalysisStock's valuation, trend analysis, target price, capital flow and other indicators for investment decisions.
  • POST /Company_ProfileBasic company information, including staff members, contact info, dividend info, shareholder's information, etc.
Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "gpt_manual_json_operations",
    "description": "Service to execute manual JSON operations with specified parameters.",
    "version": "v1.0"
  },
  "servers": [
    {
      "url": "https://community-service.tradeup.com/v1/gpt/functions"
    }
  ],
  "components": {
    "schemas": {
      "StandardResponse": {
        "description": "Standard Response for API calls",
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "description": "Data related to the request."
          },
          "error": {
            "type": "string",
            "description": "Error message detailing the bad request, if any."
          }
        }
      }
    }
  },
  "paths": {
    "/Why_is_it_moving": {
      "post": {
        "operationId": "Why_is_it_moving",
        "x-openai-isConsequential": false,
        "summary": "Search for the reason why a stock's price soar or plunge.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stock",
                  "time",
                  "question"
                ],
                "properties": {
                  "stock": {
                    "type": "string",
                    "description": "please enter the company's name that exist in the query, do not change the name and split by comma for multi companies."
                  },
                  "time": {
                    "type": "string",
                    "description": "Please enter the date or date range that exists in the query. Return in format of  yyyy-mm-dd for a single date, yyyy-mm-dd~yyyy-mm-dd for date range and split by commas for multi date range."
                  },
                  "question": {
                    "type": "string",
                    "description": "User question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Stock_Quote_Latest": {
      "post": {
        "operationId": "Stock_Quote_Latest",
        "x-openai-isConsequential": false,
        "summary": "Retrieve a company's real-time market indicators, such as five-day money flows. Use this for numerical data queries only. For analysis, use Stock_Analysis instead.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stock",
                  "type",
                  "question"
                ],
                "properties": {
                  "stock": {
                    "type": "string",
                    "description": "Company name(s) as mentioned in the query, do not modify names, separate multiple companies with commas."
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "QUOTE_DATA",
                      "OPTION_DATA",
                      "TRADING_STATUS",
                      "CAPITAL_DATA"
                    ],
                    "description": "Data type: QUOTE_DATA (real-time price/volume), OPTION_DATA (options chain), TRADING_STATUS (halt/resume events), CAPITAL_DATA (capital flows)"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question for context"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Customer_Service_Info": {
      "post": {
        "operationId": "Customer_Service_Info",
        "x-openai-isConsequential": false,
        "summary": "Search for Various Q&A related to Tiger Brokers Customer Service and App operations...",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query",
                  "question"
                ],
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Specific service-related query (e.g. 'How to reset password?')"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question for context"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Stock_Quote_History": {
      "post": {
        "operationId": "Stock_Quote_History",
        "x-openai-isConsequential": false,
        "summary": "Retrieve historical stock quote data",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stock",
                  "time",
                  "question"
                ],
                "properties": {
                  "stock": {
                    "type": "string",
                    "description": "Company name(s) as mentioned in query"
                  },
                  "time": {
                    "type": "string",
                    "description": "Date range in format yyyy-mm-dd~yyyy-mm-dd"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Brand_Info": {
      "post": {
        "operationId": "Brand_Info",
        "x-openai-isConsequential": false,
        "summary": "Search for the introduction of Tiger Brokers and its platform Tiger Trade...",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query",
                  "question"
                ],
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Search query about Tiger Brokers/Tiger Trade profiles"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Earnings_Data": {
      "post": {
        "operationId": "Earnings_Data",
        "x-openai-isConsequential": false,
        "summary": "Company's financial report data...",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "earningsPeriod",
                  "type",
                  "stock",
                  "question"
                ],
                "properties": {
                  "earningsPeriod": {
                    "type": "string",
                    "description": "Earnings period in yyyyQx/yyyyFY format"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "Reported Result",
                      "Estimate Data",
                      "Earnings Date"
                    ],
                    "description": "Type of earnings data"
                  },
                  "stock": {
                    "type": "string",
                    "description": "Company name(s)"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Economic_Data": {
      "post": {
        "operationId": "Economic_Data",
        "x-openai-isConsequential": false,
        "summary": "Search macroeconomic data",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "country",
                  "time",
                  "question"
                ],
                "properties": {
                  "country": {
                    "type": "string",
                    "enum": [
                      "CN",
                      "US",
                      "AU",
                      "NZ",
                      "SG",
                      "EUR",
                      "UK",
                      "FR",
                      "ALL"
                    ],
                    "description": "Country/region code"
                  },
                  "time": {
                    "type": "string",
                    "description": "Date range in yyyy-mm-dd~yyyy-mm-dd format"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Stock_Screener": {
      "post": {
        "operationId": "Stock_Screener",
        "x-openai-isConsequential": false,
        "summary": "Select stocks based on various indicators.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "query",
                  "question"
                ],
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Stock screening criteria (e.g. 'PE ratio < 20 AND sector=Technology')"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/News_Viewpoints": {
      "post": {
        "operationId": "News_Viewpoints",
        "x-openai-isConsequential": false,
        "summary": "Search for news and articles about stocks, events and market.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "question"
                ],
                "properties": {
                  "sentiment": {
                    "type": "string",
                    "enum": [
                      "Bullish",
                      "Bearish",
                      "Neutral"
                    ],
                    "description": "Sentiment filter for news"
                  },
                  "keywords": {
                    "type": "string",
                    "description": "Comma-separated search terms"
                  },
                  "time": {
                    "type": "string",
                    "description": "Date range in yyyy-mm-dd~yyyy-mm-dd format"
                  },
                  "stock": {
                    "type": "string",
                    "description": "Company name(s)"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Stock_Analysis": {
      "post": {
        "operationId": "Stock_Analysis",
        "x-openai-isConsequential": false,
        "summary": "Stock's valuation, trend analysis, target price, capital flow and other indicators for investment decisions.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stock",
                  "question"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "Stock Overview",
                      "Valuation Analysis",
                      "Trend Analysis",
                      "Investment Advice",
                      "Stock Comparison",
                      "Target Price Forecast"
                    ],
                    "description": "Analysis category"
                  },
                  "stock": {
                    "type": "string",
                    "description": "Company name for analysis"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    },
    "/Company_Profile": {
      "post": {
        "operationId": "Company_Profile",
        "x-openai-isConsequential": false,
        "summary": "Basic company information, including staff members, contact info, dividend info, shareholder's information, etc.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stock",
                  "question"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "Basic Info",
                      "Manager&Shareholder Info",
                      "Business Info",
                      "Dividend Info"
                    ],
                    "description": "Information category"
                  },
                  "stock": {
                    "type": "string",
                    "description": "Company name"
                  },
                  "question": {
                    "type": "string",
                    "description": "Original user question"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/StandardResponse"
          },
          "400": {
            "$ref": "#/components/responses/StandardResponse"
          }
        }
      }
    }
  }
}