Graph
Last updated
Last updated
The Graph widget in Thales OSS is designed to visualize various aspects of Options and strategy performance, providing clear and actionable insights. Users can customize graphs by selecting different data sets and adjusting display options to suit their specific analysis needs. The interactive features of the Graph widget enhance the ability to evaluate and refine trading strategies effectively.
With its advanced technology, the Graph widget enables the visualization of complex data structures and the illustration of Options strategy results in real-time. A wide range of customizable options allows users to tailor the display to their specific needs.
The Graph widget is designed as an output widget intended to visually process and display data. It does NOT function as a standalone unit but relies on being supplied with data from other widgets. For the Graph widget to operate effectively, its input interface (inlet) must be connected to the output interfaces (outlet) of other widgets.
The Graph Widget can process a variety of input data and is capable of simultaneously displaying the values of all these inputs as curves.
Once the data from a source widget (such as Strategy Builder or Black-Scholes, etc.), be connected (exported) into a Graph Widget via its inlet(s), the Graph gets activated, enabling visual exploration of the data and utilization of its full functionality.
On the horizontal axis, a section or range of the underlying asset price is displayed, while the vertical axis shows the corresponding value where the graph curves are measured. A positive value on this axis represents profit, and a negative value represents loss of a position or strategy. A dashed vertical line marks the current underlying price.
By clicking and dragging the mouse on the axes, you can stretch or compress them to change and adjust the scaling of the display.
By clicking anywhere on the Graph's surface and dragging the mouse, you can pan the display. You can zoom in or out of the display using the mouse wheel.
Resetting the display to the default view using the reset symbol may not always work optimally. In some cases, manual adjustments to the view may be necessary for better alignment.
When moving the mouse cursor over the graph area, a tooltip appears displaying the values of the curves relative to the underlying price.
To remove a Marker, the accompanying widget associated with it can simply be closed.
When data from an Options position or strategy is imported to the Graph Widget, by default it displays two curves. These curves represent the profit and loss diagram of the respective position or strategy.
The red curve illustrates the intrinsic value of the call option at the expiration date, also known as the payoff at expiration.
The yellow curve represents the potential profit-and-loss situation of the option before its expiration, incorporating the time value of the option. It shows how the option's value changes with the price of the underlying security before expiration.
In the Graph Widget, in addition to the standard profit and loss curves, there are other important data points that can be represented as curves; notably the option Greeks such as Delta, Gamma, Theta, and others. However, these are not visible by default.
To display these additional curves, hover your mouse over the icons located in the top left corner of the widget. This action will reveal the hidden icons corresponding to the curves that can be displayed. Clicking on these icons toggles the visibility of the respective curves on or off. This allows you to customize the display of the curves as needed and gives you control over which data points are visible on the Graph.
When multiple data series are connected to the Graph Widget, each data series is equipped with its own column of icons. These icons enable the toggling of visibility for the corresponding data points within each series.
By default The vertical axis of the Graph Widget displays profit and loss values for the primary curves, distinguishable by colors represented beneath the vertical axis on the lower left side of the widget (see the image).
When additional data points such as option Greeks are plotted on the graph, they cannot all be displayed on the same scale due to different units and value ranges. To ensure clarity, the widget scales the curves with varying value ranges on the vertical axis accordingly.
Moving the mouse over a curve on the graph causes a gray shadow to appear around the selected curve, indicating it can be selected. Clicking on the curve further emphasizes it, automatically adjusting the vertical axis to the scale of this curve while reducing prominence of other curves. If the selected curve requires a different vertical axis scale, it is displayed accordingly. The color symbol below the vertical axis changes to indicate which scaling applies to each curve.
In this highlighted state, dragging the vertical axis adjusts the scale of the selected curve independently for clearer display alongside other curves.
Clicking anywhere on the graph removes the individual view and returns all curves to a unified display.
Since some curves share the same scaling and separate display isn't practical, they are always shown in groups. For instance, curves representing the intrinsic value (red), current value (yellow), and time value (blue) of an option are always displayed together.
By clicking on the reset symbol in the top right corner of the widget, you can reset the display to its default view.
If you prefer not to display the tooltip, you can deactivate it using the symbol located in the upper right corner of the widget.
On the Graph, you can place up to three Markers, each with different colors. When a Marker is positioned, all curve values corresponding to the underlying asset price at the marker location are displayed in an accompanying widget next to the Graph. To place a marker, use the marker symbol in the upper right corner of the widget area. The Marker widget displays not only the values of the currently visible curves but also the values of all other data points on the Graph, whether they are currently visible or not.
The price value on the Marker can be edited manually by clicking on the pen icon on the top bar. This feature allows for precise adjustment of the marker’s position by directly entering a specific price, helping users analyze data more accurately.