Skip to content

Instantly share code, notes, and snippets.

@4knort
Created November 8, 2018 10:05
Show Gist options
  • Save 4knort/db666255d53cf2768a42eccc1a6c42a4 to your computer and use it in GitHub Desktop.
Save 4knort/db666255d53cf2768a42eccc1a6c42a4 to your computer and use it in GitHub Desktop.
operationName: null
query: "query($id: Float!){
investPosition(id: $id) {
id
ideaType
status
finishDateTime
idea {
name
logoUrl
category
properties{
...on LimitedIdeaProperties {
enableEarlyLeave
}
}
}
details {
... on LimitedPositionDetails {
pnlAmount {
value
currency
}
executionAmount {
value
currency
}
netLeaveAmount {
value
currency
}
}
... on UnlimitedPositionDetails {
pnlAmount {
value
currency
}
executionAmount {
value
currency
}
positionAmount {
value
currency
}
}
... on BuyAndHoldPositionDetails {
pnlAmount {
value
currency
}
leaveAmount {
value
currency
}
executionAmount {
value
currency
}
netLeaveAmount {
value
currency
}
pnlPercent
}
}
}
}
variables: {id: 2175}
id: 2175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment