/** * 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. */ /** * * @export * @interface TradeInPositionDto */ export interface TradeInPositionDto { /** * Rolla unique event id used for paginating * @type {string} * @memberof TradeInPositionDto */ 'uniqueEventId': string; /** * The amount that was traded by the maker (premium). In partial fill scenarios (rare since UI doesnt support that) this will be different from the amount quoted. In normal fill scenarios this will be the amount quoted by the maker. * @type {string} * @memberof TradeInPositionDto */ 'makerAmount': string; /** * The amount of options the taker sold. In partial fill scenarios (rare since UI doesnt support that) this will be different from the taker amount from the quote. In normal fill scenarios this will be the same taker amount as the quote. * @type {string} * @memberof TradeInPositionDto */ 'takerAmount': string; /** * The amount the taker got for the trade. This will be the makerAmount after fees. * @type {string} * @memberof TradeInPositionDto */ 'takerPayout': string; /** * The underlying price from the oracle when the trade executed * @type {string} * @memberof TradeInPositionDto */ 'underlyingPriceWhenFilled': string; /** * The address of the maker * @type {string} * @memberof TradeInPositionDto */ 'makerAddress': string; /** * The unix timestamp when the transaction took place * @type {string} * @memberof TradeInPositionDto */ 'transactionTime': string; /** * The hash of the transaction * @type {string} * @memberof TradeInPositionDto */ 'transactionHash': string; /** * Implied volatility of the option (%) * @type {number} * @memberof TradeInPositionDto */ 'impliedVolatility': number; }