<gh_stars>0
\subsubsection{Commodity Forward}

The \lstinline!CommodityForwardData!  node is the trade data container for the commodity forward trade type.   The structure of an example \lstinline!CommodityForwardData! node for an equity option is shown in 
Listing \ref{lst:comfwd_data}.

\begin{listing}[H]
%\hrule\medskip
\begin{minted}[fontsize=\footnotesize]{xml}
<CommodityForwardData>
  <LongShort>Long</LongShort>
  <Maturity>2018-06-30</Maturity>
  <Name>COMDTY_GOLD_USD</Name>
  <Currency>USD</Currency>
  <Strike>1355</Strike>
  <Quantity>1000</Quantity>
</CommodityForwardData>
\end{minted}
\caption{Commodity Forward data}
\label{lst:comfwd_data}
\end{listing}

The meanings and allowable values of the elements in the \lstinline!CommodityForwardData!  node follow below.

\begin{itemize}
	\item LongShort: Defines whether the underlying commodity will be bought (long) or sold (short). \\
	Allowable values: \emph{Long, Short}
	\item Maturity: The maturity date of the forward contract, i.e. the date when the underlying commodity will be bought/sold. \\
	Allowable values: Any date string, see \lstinline!Date! in Table \ref{tab:allow_stand_data}.
	\item Name: The name of the underlying commodity. \\
	Allowable values:  Any string (provided it is the ID of an equity in the market configuration).
	\item Currency: The  currency of the commodity forward. \\
	Allowable values:  See \lstinline!Currency! in Table \ref{tab:allow_stand_data}.	
	\item Strike: The agreed buy/sell price of the commodity forward. \\
	Allowable values:  Any positive real number.	
	\item Quantity: The number of units of the underlying commodity to be bought/sold. \\
	Allowable values:  Any positive real number.
\end{itemize}