Class MamdaOptionExchangeUtils


  • public class MamdaOptionExchangeUtils
    extends java.lang.Object
    A class with static utility functions for dealing with exchanges.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isBbo​(java.lang.String exchange)
      Return whether the exchange ID is the one used to represent the best bid and offer.
      static boolean isWombatBbo​(java.lang.String exchange)
      Return whether the exchange ID is the one used to represent the NYSE Technolgoies calculated best bid and offer.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MamdaOptionExchangeUtils

        public MamdaOptionExchangeUtils()
    • Method Detail

      • isBbo

        public static boolean isBbo​(java.lang.String exchange)
        Return whether the exchange ID is the one used to represent the best bid and offer. Currently hardcoded to match "", "BBO" and "Z".
      • isWombatBbo

        public static boolean isWombatBbo​(java.lang.String exchange)
        Return whether the exchange ID is the one used to represent the NYSE Technolgoies calculated best bid and offer. Currently hardcoded to match "BBO".