Forex Rates: Price analysis for currency markets. Gain insights, sentiment evaluation, and text completion.
Forex Rates is a plugin that provides price analysis for the Forex market. It takes user input and converts it into parameters that the Oanda API understands, making it easy for users to get the information they need. With Forex Rates, users can gain insights and evaluate sentiment for various currency pairs, as well as use text completion for more efficient analysis. The plugin takes care of the details, from extracting parameter values to handling errors, so that users can focus on the analysis. Please note that any analysis provided is for educational purposes only and is not investment advice.
Learn how to use Forex-Rates effectively! Here are a few example prompts, tips, and the documentation of available commands.
Prompt 1: "What is the overall sentiment for the EUR/USD currency pair since January?"
Prompt 2: "Can you provide analysis on the recent performance of the EUR/USD currency pair?"
Prompt 3: "I would like to know the sentiment for EUR/USD using hourly candles for the past 24 hours."
Prompt 4: "What is the sentiment of the GBP/USD currency pair for the last 7 days using daily candles?"
Prompt 5: "I'm interested in the sentiment of USD/JPY using monthly candles for the past 3 years, including both bid and ask prices."
Features and commands
|This command allows the AI to analyze text related to the performance and sentiment of currency pairs. You can provide the text you want to analyze and specify entities within the text.|
|This command generates text based on a prompt provided by the user. You can set the temperature, which affects the creativity of the generated text.|
|This command completes text provided by the user. It generates the next few words or sentences to continue the given text.|
|This command allows the AI to search for text related to currency markets. You can provide a search query and retrieve search results.|
|This command allows the user to use the OpenAI playground. You can execute code and get the output of the code execution.|
|This command retrieves historical prices from the OANDA API. You need to provide the instrument, start time, granularity, and price type. The response includes the timestamp, bid prices, and ask prices for each retrieved price.|
DescriptionWhen a user asks ChatGPT for 'EUR/USD analysis since January', the plugin needs to interpret this user input and convert it into parameters that the Oanda API understands. User Input: Ensure the user is aware of the correct format for their request. For instance, 'What is the overall sentiment for the EUR/USD currency pair since January?' Parameter Extraction: 'EUR/USD' corresponds to the 'instrument' parameter, and it should be passed as 'EUR_USD'. 'since January' corresponds to the 'from_time' parameter. However, the Oanda API expects this parameter in a specific format, for example '2023-01-01T00:00:00.000000000Z' for January 1, 2023. Time Format: Implement a function to convert the user's input (e.g., 'since January') into the required format for the 'from_time' parameter. Granularity and Price Parameters: If 'granularity' and 'price' parameters are not specified by the user, ask the user to provide these details to ensure the analysis is as accurate and relevant as possible. Default values can be used if the user prefers not to specify. Note that asking for just the bid price or just the ask price will make the message smaller, allowing a larger duration for a given time-series or more granular time-series for a given duration. For example, if the maximum is one hour for one-minute candles when getting both bid and ask prices, you may be able to get two hours of bid-only data for the same range. Error Handling: If the time-frame and granularity cause a message that is too big, an error will trigger. Provide clear instructions on how to avoid this error and what to do if it occurs. Market Hours: Before attempting to fetch prices, check if the Forex market is currently open. The Forex market operates 24 hours a day from 5 p.m. EST on Sunday until 4 p.m. EST on Friday. Outside of these hours, the market will be closed, and the API may not be able to fetch the latest prices. Examples: Provide a range of examples to cover a variety of user inputs. For instance: 'What is the overall sentiment for the EUR/USD currency pair using ten-minute candles for the past nine hours, excluding volume data?' 'What is the overall sentiment for the GBP/USD currency pair using sixty-minute candles for the past sixty hours, excluding volume data?' 'What is the overall sentiment for the USD/JPY currency pair using monthly candles for the past sixty months, using bid prices only and excluding volume?' Disclaimer: Any analysis is not investment advice and is for educational purposes only. Forex trading involves substantial risk and is not suitable for everyone. Past performance is not indicative of future results.
First added20 June 2023