-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…application Add commodity trading application
- Loading branch information
Showing
15 changed files
with
144 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+266 KB
docs/gallery/finance/commodity_trading/images/feature_contribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+212 KB
docs/gallery/finance/commodity_trading/images/model_explainability.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+155 KB
docs/gallery/finance/commodity_trading/images/waterfall_chart_annotated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+93 KB
docs/gallery/finance/commodity_trading/images/waterfall_chart_coal_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
title: Commodity Trading | ||
category: finance | ||
data-keywords: dashboard vizelement layout chart ai multi-page classification enterprise | ||
short-description: A Taipy Application that analyzes commodity trading. | ||
img: commodity_trading/images/commodity_trading.png | ||
--- | ||
|
||
This application illustrates a typical environment for Commodity Trading. It uses an AI | ||
engine that provides sell/buy recommendations (Short/Long) for the various | ||
products, together with an explanation of the main influencers that contributed | ||
the most to the decision. | ||
|
||
This application can be customized for different sets of commodities. | ||
|
||
!!! note "Taipy Enterprise edition" | ||
|
||
Taipy provides robust, business-focused applications tailored for enterprise environments. To | ||
maintain standards of security and customization, these applications are proprietary like this | ||
application. If you’re looking for solutions that are immediately deployable and customizable to | ||
your business needs, we invite you to try them out and contact us for more detailed information. | ||
|
||
[Try it live](https://commodity-trading.taipy.cloud){: .tp-btn target='blank' } | ||
[Contact us](https://taipy.io/book-a-call){: .tp-btn .tp-btn--accent target='blank' } | ||
|
||
|
||
![Page](images/commodity_trading.png){width=90% : .tp-image-border } | ||
|
||
# Understanding the Application | ||
|
||
In this trading application, you can navigate through the main menu to check on | ||
the different aspects of the traded products. These are commodity products. The | ||
traded products, DEBMK22, FDBMK22, etc., represent 15 different types of a given | ||
commodity. | ||
|
||
## Market Forecast Panel | ||
|
||
The first screen is the "Market Forecast" panel. Here, one can visualize the | ||
different trading recommendations made by the AI engine for commodity products. | ||
Each box displays the AI engine forecast: Buy (Long) or Sell (Short) with an | ||
attached confidence level. Note that the user can choose different products. | ||
|
||
![Market Forecast](images/market_forecast.png){width=90% : .tp-image-border } | ||
|
||
## Health Indicators | ||
|
||
This panel simply checks for each commodity if it trades in a normal range, if | ||
the volatility index is high, etc. | ||
|
||
![Health Indicators](images/health_indicators.png){width=90% : .tp-image-border } | ||
|
||
### Detailed Health Indicators | ||
|
||
This panel provides a more precise view of some key indicators like CHI2 | ||
indicators. | ||
|
||
|
||
### Health Indicators (HI) Evolution | ||
|
||
Display the evolution the HI values over a time period. | ||
|
||
## Feature Accuracies | ||
|
||
The ML forecasting engine uses many features, which are also grouped by Type. | ||
For instance, the COAL_FLOW feature group combines many COAL_FLOW features. | ||
This panel displays: | ||
|
||
- the accuracies of the trading algorithm over different horizons - See the 3 | ||
SUCCESS columns. | ||
- the gains generated over different horizons - See the 3 GAIN columns. | ||
|
||
![Feature Accuracies](images/feature_accuracies.png){width=90% : .tp-image-border } | ||
|
||
|
||
## Group Contributions | ||
|
||
Two types of charts are displayed. | ||
|
||
![Feature Contribution](images/feature_contribution.png){width=90% : .tp-image-border } | ||
|
||
### The Waterfall Chart | ||
|
||
This panel is interesting as it shows which feature group has the most | ||
significant positive impact (in green) or biggest negative impact (in red) on | ||
the price of the selected commodity. | ||
|
||
![Waterfall Chart](images/waterfall_chart.png){width=70% : .tp-image-border } | ||
|
||
|
||
Note that different products or dates can be selected. | ||
|
||
You can move your mouse over each box to get more information: | ||
|
||
![Waterfall Chart Annotated](images/waterfall_chart_annotated.png){width=70% : .tp-image-border } | ||
|
||
Do note that when you click on a given red or green box, you immediately get | ||
access to the same chart for each feature of the selected feature group. This | ||
provides a detailed understanding of the impact of each feature within each | ||
feature group. For instance, by clicking on the COAL_FLOW red box, the following | ||
chart with all the individual features of the COAL_FLOW group is displayed. | ||
|
||
![Waterfall Chart for Coal Flow](images/waterfall_chart_coal_flow.png){width=70% : .tp-image-border } | ||
|
||
|
||
## Feature Ranking | ||
|
||
This chart visualizes the evolution of the ranking of each feature over time. | ||
|
||
![Feature Contribution](images/feature_contribution.png){width=90% : .tp-image-border } | ||
|
||
|
||
## Model Explainability | ||
|
||
This interesting panel displays three dimensions in a single graph: the feature | ||
value, its contribution to the forecast, and whether the trade direction was | ||
correct. You want to see a high contribution with high value, leading to a | ||
successful prediction. This is an example of good "behavior" below. | ||
|
||
![Model Explainability](images/model_explainability.png){width=90% : .tp-image-border } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters