Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SPB_Exchange_Repo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Amelin Konstantin
SPB_Exchange_Repo
Commits
c67c4186
Commit
c67c4186
authored
Apr 24, 2019
by
Amelin Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CommodityOptionTemplate
parent
8e029b72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/main/scala/templates/CommodityOptionTemplate.scala
+1
-1
No files found.
src/main/scala/templates/CommodityOptionTemplate.scala
View file @
c67c4186
...
...
@@ -12,7 +12,7 @@ class CommodityOptionTemplate(source: Node) extends TradeTemplate(source) {
<fpml:buyerPartyReference
href
={
parties
(
get
(
source
\\
"trade"
\
"commodityOption"
\
"buyerPartyReference"
,
"href"
).
mkString
).
_1
}/>
<
fpml
:
sellerPartyReference
href
={
parties
(
get
(
source
\\
"trade"
\
"commodityOption"
\
"sellerPartyReference"
,
"href"
).
mkString
).
_1
}/>
{
/* Should be filled. optionType isn`t present in source!!!*/
}
<
fpml
:
optionType>
{
get
(
source
\\
"
trade
"
\
"
commodityOption
"
\
"
optionType
"
)
}
</fpml:optionType>
}
<
fpml
:
optionType>
{
get
(
source
\\
"
trade
"
\
"
commodityOption
"
\
"
optionType
"
)
}
</fpml:optionType>
{
/*
<fpml:optionType>
{
if
(
get
(
source
\\
"
trade
"
\
"
commodityOption
"
\
"
buyerPartyReference
"
,
"
href
"
)
.mkString
==
"
Party1
"
)
"Call"
else
"Put"
}</
fpml
:
optionType>
*/
}
<
fpml
:
commodity
id
={
get
(
source
\\
"trade"
\
"commodityOption"
\
"commodity"
,
"id"
)
}>
<
fpml
:
instrumentId
instrumentIdScheme
={
get
(
source
\\
"trade"
\
"commodityOption"
\
"commodity"
\
"instrumentId"
,
"instrumentIdScheme"
)
}>{
get
(
source
\\
"trade"
\
"commodityOption"
\
"commodity"
\
"instrumentId"
)
}</
fpml
:
instrumentId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment