/** * Rolla Yield API - Market Maker * Rolla Yield API provides a RESTful API for fetching assets, options and quotes * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TradeDtoOptionAttributes } from './trade-dto-option-attributes'; import { TradeInPositionDto } from './trade-in-position-dto'; /** * * @export * @interface UserPositionDto */ export interface UserPositionDto { /** * The address of the option token * @type {string} * @memberof UserPositionDto */ 'optionAddress': string; /** * The option symbol * @type {string} * @memberof UserPositionDto */ 'optionSymbol': string; /** * * @type {TradeDtoOptionAttributes} * @memberof UserPositionDto */ 'optionAttributes': TradeDtoOptionAttributes; /** * The average price per contract for all trades performed in this position * @type {string} * @memberof UserPositionDto */ 'averagePricePerContract': string; /** * The average fill price for the contracts in this position. * @type {string} * @memberof UserPositionDto */ 'averageUnderlyingFillPrice': string; /** * The total premium received for all the trades in this position * @type {string} * @memberof UserPositionDto */ 'totalPremiumReceived': string; /** * Yield in percent: Total premium received for all trades divided by dollar value of amount traded (at fill time) for all trades. * @type {string} * @memberof UserPositionDto */ 'yield': string; /** * The settlement price of the option (if it has settled) * @type {string} * @memberof UserPositionDto */ 'settlementPrice': string | null; /** * The premium asset paid by the maker * @type {string} * @memberof UserPositionDto */ 'makerAsset': string; /** * Trades in this position * @type {Array} * @memberof UserPositionDto */ 'trades': Array; }