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
7b9414d2
Commit
7b9414d2
authored
Oct 29, 2018
by
Amelin Konstantin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tags:numberOfOptions, optionEntitlement to EquityOptionTemplate
parent
1209f75f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/main/scala/templates/EquityOptionTemplate.scala
+2
-0
No files found.
src/main/scala/templates/EquityOptionTemplate.scala
View file @
7b9414d2
...
...
@@ -59,6 +59,8 @@ class EquityOptionTemplate(source: Node) extends TradeTemplate(source) {
<fpml:strikePercentage>
{
get
(
source
\
"
trade
"
\
"
equityOption
"
\
"
strike
"
\\
"
strikePercentage
"
)
}
</fpml:strikePercentage>
<fpml:currency>
{
get
(
source
\
"
trade
"
\
"
equityOption
"
\
"
strike
"
\
"
currency
"
)
}
</fpml:currency>
</fpml:strike>
<fpml:numberOfOptions>
{
get
(
source
\
"
trade
"
\
"
equityOption
"
\
"
numberOfOptions
"
)
}
</fpml:numberOfOptions>
<fpml:optionEntitlement>
{
get
(
source
\
"
trade
"
\
"
equityOption
"
\
"
optionEntitlement
"
)
}
</fpml:optionEntitlement>
<fpml:equityPremium>
<fpml:payerPartyReference
href
={
get
(
source
\
"trade"
\
"equityOption"
\
"equityPremium"
\
"payerPartyReference"
,
"href"
)
}/>
<
fpml
:
receiverPartyReference
href
={
get
(
source
\
"trade"
\
"equityOption"
\
"equityPremium"
\
"receiverPartyReference"
,
"href"
)
}/>
...
...
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