Class GetMarginAttributesResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ru.tinkoff.piapi.contract.v1.GetMarginAttributesResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, GetMarginAttributesResponseOrBuilder

public final class GetMarginAttributesResponse extends com.google.protobuf.GeneratedMessageV3 implements GetMarginAttributesResponseOrBuilder
Маржинальные показатели по счёту.
 
Protobuf type tinkoff.public.invest.api.contract.v1.GetMarginAttributesResponse
See Also:
  • Field Details

    • LIQUID_PORTFOLIO_FIELD_NUMBER

      public static final int LIQUID_PORTFOLIO_FIELD_NUMBER
      See Also:
    • STARTING_MARGIN_FIELD_NUMBER

      public static final int STARTING_MARGIN_FIELD_NUMBER
      See Also:
    • MINIMAL_MARGIN_FIELD_NUMBER

      public static final int MINIMAL_MARGIN_FIELD_NUMBER
      See Also:
    • FUNDS_SUFFICIENCY_LEVEL_FIELD_NUMBER

      public static final int FUNDS_SUFFICIENCY_LEVEL_FIELD_NUMBER
      See Also:
    • AMOUNT_OF_MISSING_FUNDS_FIELD_NUMBER

      public static final int AMOUNT_OF_MISSING_FUNDS_FIELD_NUMBER
      See Also:
    • CORRECTED_MARGIN_FIELD_NUMBER

      public static final int CORRECTED_MARGIN_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasLiquidPortfolio

      public boolean hasLiquidPortfolio()
       Ликвидная стоимость портфеля. Подробнее: [что такое ликвидный портфель?](https://help.tinkoff.ru/margin-trade/short/liquid-portfolio/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue liquid_portfolio = 1;
      Specified by:
      hasLiquidPortfolio in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the liquidPortfolio field is set.
    • getLiquidPortfolio

      public MoneyValue getLiquidPortfolio()
       Ликвидная стоимость портфеля. Подробнее: [что такое ликвидный портфель?](https://help.tinkoff.ru/margin-trade/short/liquid-portfolio/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue liquid_portfolio = 1;
      Specified by:
      getLiquidPortfolio in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The liquidPortfolio.
    • getLiquidPortfolioOrBuilder

      public MoneyValueOrBuilder getLiquidPortfolioOrBuilder()
       Ликвидная стоимость портфеля. Подробнее: [что такое ликвидный портфель?](https://help.tinkoff.ru/margin-trade/short/liquid-portfolio/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue liquid_portfolio = 1;
      Specified by:
      getLiquidPortfolioOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • hasStartingMargin

      public boolean hasStartingMargin()
       Начальная маржа — начальное обеспечение для совершения новой сделки. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue starting_margin = 2;
      Specified by:
      hasStartingMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the startingMargin field is set.
    • getStartingMargin

      public MoneyValue getStartingMargin()
       Начальная маржа — начальное обеспечение для совершения новой сделки. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue starting_margin = 2;
      Specified by:
      getStartingMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The startingMargin.
    • getStartingMarginOrBuilder

      public MoneyValueOrBuilder getStartingMarginOrBuilder()
       Начальная маржа — начальное обеспечение для совершения новой сделки. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue starting_margin = 2;
      Specified by:
      getStartingMarginOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • hasMinimalMargin

      public boolean hasMinimalMargin()
       Минимальная маржа — это минимальное обеспечение для поддержания позиции, которую вы уже открыли. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue minimal_margin = 3;
      Specified by:
      hasMinimalMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the minimalMargin field is set.
    • getMinimalMargin

      public MoneyValue getMinimalMargin()
       Минимальная маржа — это минимальное обеспечение для поддержания позиции, которую вы уже открыли. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue minimal_margin = 3;
      Specified by:
      getMinimalMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The minimalMargin.
    • getMinimalMarginOrBuilder

      public MoneyValueOrBuilder getMinimalMarginOrBuilder()
       Минимальная маржа — это минимальное обеспечение для поддержания позиции, которую вы уже открыли. Подробнее: [начальная и минимальная маржа](https://help.tinkoff.ru/margin-trade/short/initial-and-maintenance-margin/).
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue minimal_margin = 3;
      Specified by:
      getMinimalMarginOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • hasFundsSufficiencyLevel

      public boolean hasFundsSufficiencyLevel()
       Уровень достаточности средств. Соотношение стоимости ликвидного портфеля к начальной марже.
       
      .tinkoff.public.invest.api.contract.v1.Quotation funds_sufficiency_level = 4;
      Specified by:
      hasFundsSufficiencyLevel in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the fundsSufficiencyLevel field is set.
    • getFundsSufficiencyLevel

      public Quotation getFundsSufficiencyLevel()
       Уровень достаточности средств. Соотношение стоимости ликвидного портфеля к начальной марже.
       
      .tinkoff.public.invest.api.contract.v1.Quotation funds_sufficiency_level = 4;
      Specified by:
      getFundsSufficiencyLevel in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The fundsSufficiencyLevel.
    • getFundsSufficiencyLevelOrBuilder

      public QuotationOrBuilder getFundsSufficiencyLevelOrBuilder()
       Уровень достаточности средств. Соотношение стоимости ликвидного портфеля к начальной марже.
       
      .tinkoff.public.invest.api.contract.v1.Quotation funds_sufficiency_level = 4;
      Specified by:
      getFundsSufficiencyLevelOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • hasAmountOfMissingFunds

      public boolean hasAmountOfMissingFunds()
       Объем недостающих средств. Разница между стартовой маржой и ликвидной стоимости портфеля.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue amount_of_missing_funds = 5;
      Specified by:
      hasAmountOfMissingFunds in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the amountOfMissingFunds field is set.
    • getAmountOfMissingFunds

      public MoneyValue getAmountOfMissingFunds()
       Объем недостающих средств. Разница между стартовой маржой и ликвидной стоимости портфеля.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue amount_of_missing_funds = 5;
      Specified by:
      getAmountOfMissingFunds in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The amountOfMissingFunds.
    • getAmountOfMissingFundsOrBuilder

      public MoneyValueOrBuilder getAmountOfMissingFundsOrBuilder()
       Объем недостающих средств. Разница между стартовой маржой и ликвидной стоимости портфеля.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue amount_of_missing_funds = 5;
      Specified by:
      getAmountOfMissingFundsOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • hasCorrectedMargin

      public boolean hasCorrectedMargin()
       Скорректированная маржа.Начальная маржа, в которой плановые позиции рассчитываются с учётом активных заявок на покупку позиций лонг или продажу позиций шорт.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue corrected_margin = 6;
      Specified by:
      hasCorrectedMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      Whether the correctedMargin field is set.
    • getCorrectedMargin

      public MoneyValue getCorrectedMargin()
       Скорректированная маржа.Начальная маржа, в которой плановые позиции рассчитываются с учётом активных заявок на покупку позиций лонг или продажу позиций шорт.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue corrected_margin = 6;
      Specified by:
      getCorrectedMargin in interface GetMarginAttributesResponseOrBuilder
      Returns:
      The correctedMargin.
    • getCorrectedMarginOrBuilder

      public MoneyValueOrBuilder getCorrectedMarginOrBuilder()
       Скорректированная маржа.Начальная маржа, в которой плановые позиции рассчитываются с учётом активных заявок на покупку позиций лонг или продажу позиций шорт.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue corrected_margin = 6;
      Specified by:
      getCorrectedMarginOrBuilder in interface GetMarginAttributesResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetMarginAttributesResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetMarginAttributesResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetMarginAttributesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GetMarginAttributesResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GetMarginAttributesResponse.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetMarginAttributesResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GetMarginAttributesResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetMarginAttributesResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetMarginAttributesResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GetMarginAttributesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder