Class SortableFieldConstants.PositionSortableFields

java.lang.Object
com.bluebell.greenhouse.planter.constants.SortableFieldConstants.PositionSortableFields
Enclosing class:
SortableFieldConstants

public static final class SortableFieldConstants.PositionSortableFields extends Object
Sort constants for position searches.
Version:
3.0.6
Author:
Stephen Prizio
  • Field Details

    • POSITION_CLOSED_FIELD

      public static final String POSITION_CLOSED_FIELD
      Position closed-date property.
      See Also:
    • POSITION_OPENED_FIELD

      public static final String POSITION_OPENED_FIELD
      Position opened-date property.
      See Also:
    • SYMBOL_TICKER_FIELD

      public static final String SYMBOL_TICKER_FIELD
      Symbol ticker property.
      See Also:
    • POSITION_FAMILY_FIELD

      public static final String POSITION_FAMILY_FIELD
      Position family property.
      See Also:
    • POSITION_TYPE_FIELD

      public static final String POSITION_TYPE_FIELD
      Position type property.
      See Also:
    • AVERAGE_OPEN_PRICE_FIELD

      public static final String AVERAGE_OPEN_PRICE_FIELD
      Average open-price property.
      See Also:
    • AVERAGE_CLOSE_PRICE_FIELD

      public static final String AVERAGE_CLOSE_PRICE_FIELD
      Average close-price property.
      See Also:
    • OPEN_QUANTITY_FIELD

      public static final String OPEN_QUANTITY_FIELD
      Open quantity property.
      See Also:
    • CLOSED_QUANTITY_FIELD

      public static final String CLOSED_QUANTITY_FIELD
      Closed quantity property.
      See Also:
    • POSITION_NAME_FIELD

      public static final String POSITION_NAME_FIELD
      Position name property.
      See Also:
    • POSITION_NUMBER_FIELD

      public static final String POSITION_NUMBER_FIELD
      Position number property.
      See Also:
    • REALIZED_GAIN_LOSS_FIELD

      public static final String REALIZED_GAIN_LOSS_FIELD
      Realized gain/loss property.
      See Also:
    • RETURN_ON_POSITION_FIELD

      public static final String RETURN_ON_POSITION_FIELD
      Return on position property.
      See Also:
    • ID_FIELD

      public static final String ID_FIELD
      Identifier property.
      See Also:
    • STATUS_SORT_ALIAS

      public static final String STATUS_SORT_ALIAS
      Computed status sort alias.
      See Also:
    • SIZE_SORT_ALIAS

      public static final String SIZE_SORT_ALIAS
      Computed size sort alias.
      See Also:
    • GAIN_LOSS_SORT_ALIAS

      public static final String GAIN_LOSS_SORT_ALIAS
      Computed realized gain/loss sort alias.
      See Also:
    • DEFAULT_SORT

      public static final org.springframework.data.domain.Sort DEFAULT_SORT
      Default position table sort.
    • SORTABLE_FIELDS

      public static final Map<String, List<String>> SORTABLE_FIELDS
      Supported sortable position aliases.