|
211 | 211 | }
|
212 | 212 | }
|
213 | 213 | },
|
| 214 | + "caution_price": { |
| 215 | + "description": "The caution price for the Snowball contract. Breaching this price will reset the coupons accrued to 0.", |
| 216 | + "type": "string", |
| 217 | + "pattern": "^[+-]?[0-9]+\\.?[0-9]*$", |
| 218 | + "examples": [ |
| 219 | + "10001.2" |
| 220 | + ] |
| 221 | + }, |
214 | 222 | "commision": {
|
215 | 223 | "description": "Commission in payout currency amount.",
|
216 | 224 | "type": [
|
|
237 | 245 | "PUT"
|
238 | 246 | ]
|
239 | 247 | },
|
| 248 | + "coupon_collection_epochs": { |
| 249 | + "description": "The epoch times at which the coupons will be accrued for the Snowball contract.", |
| 250 | + "type": "array", |
| 251 | + "items": { |
| 252 | + "type": "integer" |
| 253 | + } |
| 254 | + }, |
| 255 | + "coupon_rate": { |
| 256 | + "description": "The coupon rate for the Snowball contract at which the stake will grow for each coupon accrued.", |
| 257 | + "type": "string", |
| 258 | + "pattern": "^[+-]?[0-9]+\\.?[0-9]*$", |
| 259 | + "examples": [ |
| 260 | + "0.0132" |
| 261 | + ] |
| 262 | + }, |
240 | 263 | "currency": {
|
241 | 264 | "description": "The currency code of the contract.",
|
242 | 265 | "type": "string",
|
|
631 | 654 | "description": "[Only for lookback trades] Multiplier applies when calculating the final payoff for each type of lookback. e.g. (Exit spot - Lowest historical price) * multiplier = Payout",
|
632 | 655 | "type": "number"
|
633 | 656 | },
|
| 657 | + "num_of_coupons": { |
| 658 | + "description": "The maximum number of coupons available for the Snowball contract.", |
| 659 | + "type": "integer", |
| 660 | + "examples": [ |
| 661 | + 5 |
| 662 | + ] |
| 663 | + }, |
634 | 664 | "payout": {
|
635 | 665 | "description": "Payout value of the contract.",
|
636 | 666 | "type": "number",
|
|
646 | 676 | "description": "Profit in percentage.",
|
647 | 677 | "type": "number"
|
648 | 678 | },
|
| 679 | + "profit_price": { |
| 680 | + "description": "The profit price for the Snowball contract. Breaching this price will close the contract immediately.", |
| 681 | + "type": "string", |
| 682 | + "pattern": "^[+-]?[0-9]+\\.?[0-9]*$", |
| 683 | + "examples": [ |
| 684 | + "10005.2" |
| 685 | + ] |
| 686 | + }, |
649 | 687 | "purchase_time": {
|
650 | 688 | "description": "Epoch of purchase time, will be same as `date_start` for all contracts except forward starting contracts.",
|
651 | 689 | "type": "integer"
|
|
775 | 813 | }
|
776 | 814 | }
|
777 | 815 | },
|
| 816 | + "trade_risk_profile": { |
| 817 | + "description": "The trade risk profile for the Snowball contract.", |
| 818 | + "type": "string", |
| 819 | + "enum": [ |
| 820 | + "low", |
| 821 | + "medium", |
| 822 | + "high" |
| 823 | + ] |
| 824 | + }, |
778 | 825 | "transaction_ids": {
|
779 | 826 | "title": "Transaction ids for contract",
|
780 | 827 | "description": "Every contract has buy and sell transaction ids, i.e. when you purchase a contract we associate it with buy transaction id, and if contract is already sold we associate that with sell transaction id.",
|
|
0 commit comments