Plot Create
Creates a plot visualization from financial data.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Data Path - The file path to the input data in CSV format.
- Date Key - The column name to be used as the date (default: "date").
- X Axis Title - The title for the X axis (default: "Date").
- Y Axis Title - The title for the Y axis (default: "Parity").
- Name - The name for the plot.
Output
- Plot ID - The unique identifier for the created plot.
How It Works
The Plot Create node generates a plot visualization from financial data. When executed, the node:
- Reads the input data from the specified Data Path
- Uses the Date Key column as the x-axis values
- Creates a candlestick chart using the open, high, low, and close values
- Sets the axis titles based on the provided inputs
- Adds the plot to the internal plot storage and returns a Plot ID
Requirements
- A CSV file with financial data at the specified Data Path
- Valid column names in the CSV file (date, open, high, low, close)
- Write permissions for the specified Data Path
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Data Path
- Issues reading CSV files
- Missing required columns in the data (open, high, low, close)
Usage Notes
- The plot is created using Plotly for interactive visualizations
- The Plot ID can be used with other plot nodes to modify or display the plot
- For best results, ensure your input data is properly formatted with consistent intervals