com.optstack.api

SecurityInstrumentT

trait SecurityInstrumentT extends SecurityT with InstrumentT

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SecurityInstrumentT
  2. InstrumentT
  3. PlottableT
  4. SecurityT
  5. ComparatorMathOperationsT
  6. MathOperationsT
  7. ComparisonOperationsT
  8. ComputationableT
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addLastComputationResult(o: QuoteT): Unit

    Definition Classes
    ComputationableT
    Annotations
    @FunctionInfo()
  2. abstract def contractSize: Int

    Definition Classes
    InstrumentT
  3. abstract def daysToExpiration: Double

    Definition Classes
    InstrumentT
  4. abstract def daysToLastTradeableDate: Double

    Definition Classes
    InstrumentT
  5. abstract def dividendYield: Double

    Definition Classes
    InstrumentT
  6. abstract def expirationDate: Date

    Definition Classes
    InstrumentT
  7. abstract def getCurY(): Double

    Definition Classes
    PlottableT
  8. abstract def getInstrumentType(): Int

    Definition Classes
    InstrumentT
  9. abstract def getLastComputationResult(): QuoteT

    Definition Classes
    ComputationableT
    Annotations
    @FunctionInfo()
  10. abstract def getOptionGreeks: OptionGreeksT

    Definition Classes
    InstrumentT
  11. abstract def getPriorComputationResult(nPeriodsBack: Int): QuoteT

    Definition Classes
    ComputationableT
    Annotations
    @FunctionInfo()
  12. abstract def getValue(): Double

    Definition Classes
    ComputationableT
    Annotations
    @FunctionInfo()
  13. abstract def impliedVolatility: Double

    Definition Classes
    InstrumentT
  14. abstract def instrumentType: InstrumentType

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  15. abstract def isEuropean: Boolean

    Definition Classes
    InstrumentT
  16. abstract def marketPrice(isLong: Boolean): Double

    Definition Classes
    InstrumentT
  17. abstract def midPrice: Double

    Definition Classes
    InstrumentT
  18. abstract def multiplier: Int

    Definition Classes
    InstrumentT
  19. abstract def strike: Double

    Definition Classes
    InstrumentT
  20. abstract def symbol: String

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  21. abstract def underlyingPrice: Double

    Definition Classes
    InstrumentT

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(d: Any): Boolean

    Is NOT equal To

    Is NOT equal To

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def *(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Multiply operation

    Multiply operation

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  6. def +(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Add

    Add

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  7. def -(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Subtract

    Subtract

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  8. def /(that: Any)(implicit scriptExecContext: <error> = null): StudiesT

    Divide

    Divide

    Definition Classes
    MathOperationsT
    Annotations
    @FunctionInfo()
  9. def <(d: Any): Boolean

    Is less than

    Is less than

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  10. def <=(d: Double): Boolean

    Definition Classes
    ComparisonOperationsT
  11. def <=(d: Any): Boolean

    Is less than or equal to

    Is less than or equal to

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. def ===(d: Any): Boolean

    Is equal To

    Is equal To

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  15. def >(d: Any): Boolean

    Is greater than

    Is greater than

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  16. def >=(d: Double): Boolean

    Definition Classes
    ComparisonOperationsT
  17. def >=(d: Any): Boolean

    Is greater than or equal to

    Is greater than or equal to

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  18. final val CALL: Int(1)

    Definition Classes
    InstrumentT
  19. final val FUTURE: Int(1000)

    Definition Classes
    InstrumentT
  20. final val PUT: Int(-1)

    Definition Classes
    InstrumentT
  21. final val STOCK: Int(0)

    Definition Classes
    InstrumentT
  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. final def buy(orderID: String, comments: String)(implicit scriptCtx: <error>): StockOnlyT

    Buy the specified instrument.

    Buy the specified instrument. Set the orderID so the position can be referenced later.

    var ndx = this.getSecurity("^NDX")
    ndx.buy(orderID="MyOrder", comments="MyComments").sizeBy.risk(targetRisk=10000)
    
    var order= this.selectPosition(orderID="MyOrder")
    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  24. final def buy()(implicit scriptCtx: <error>): StockOnlyT

    Buy the specified instrument.

    Buy the specified instrument. To set the quantity, use the sizeBy () method

    var ndx = this.getSecurity("^NDX")
    	ndx.buy().sizeBy.risk(targetRisk=10000)
    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  25. def checkWithinRange(d: Double, operationName: String): Boolean

    Definition Classes
    ComparisonOperationsTComputationableT
    Annotations
    @FunctionInfo()
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def crosses(d: Any): Boolean

    X crosses above or crosses below D

    X crosses above or crosses below D

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  28. def crossesAbove(d: Any): Boolean

    X crosses above D

    X crosses above D

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  29. def crossesBelow(d: Any): Boolean

    X crosses below D

    X crosses below D

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  30. def d: Double

    Definition Classes
    ComparatorMathOperationsT
  31. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  33. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. def isBetween(d1: Any, d2: Any): Boolean

    Is Between X and Y inclusive

    Is Between X and Y inclusive

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def isNotBetween(d1: Any, d2: Any): Boolean

    Is NOT Between X and Y inclusive

    Is NOT Between X and Y inclusive

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo()
  39. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  42. final def quote(implicit scriptCtx: <error>): QuoteT

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  43. final def sell(orderID: String, comments: String)(implicit scriptCtx: <error>): StockOnlyT

    Sell the specified instrument.

    Sell the specified instrument. Sets the orderID so the position can be referenced later

    var ndx = this.getSecurity("^NDX")
    ndx.sell(orderID="MyOrder", comments="MyComments").sizeBy.risk(targetRisk=10000)
    
    var order= this.selectPosition(orderID="MyOrder")
    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  44. final def sell()(implicit scriptCtx: <error>): StockOnlyT

    Sell the specified instrument.

    Sell the specified instrument. To set the quantity, use the sizeBy () method

    var ndx = this.getSecurity("^NDX")
    ndx.sell().sizeBy.risk(targetRisk=10000)
    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  45. final def strategies: <error>

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  46. final def studies(implicit scriptCtx: <error>): StudiesT

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo()
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toString(): String

    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def crossesOver(d: Any): Boolean

    X crosses above or below D

    X crosses above or below D

    Definition Classes
    ComparisonOperationsT
    Annotations
    @FunctionInfo() @deprecated
    Deprecated
  2. final def spreadOrders: <error>

    Definition Classes
    SecurityT
    Annotations
    @FunctionInfo() @deprecated
    Deprecated

Inherited from InstrumentT

Inherited from PlottableT

Inherited from SecurityT

Inherited from ComparatorMathOperationsT

Inherited from MathOperationsT

Inherited from ComparisonOperationsT

Inherited from ComputationableT

Inherited from AnyRef

Inherited from Any

Ungrouped