class TinkoffPortfolioPosition
- TinkoffPortfolioPosition
- Reference
- Object
Overview
Информация о позиции в портфеле
Defined in:
tinkoff_api/tinkoff_portfolio_position.crConstructors
Instance Method Summary
- #averagePositionPrice : ValueWithCurrency
- #averagePositionPriceNoNkd : ValueWithCurrency | Nil
- #balance : Float64
- #blocked : Float64 | Nil
- #expectedYield : ValueWithCurrency
- #figi : String
- #instrumentType : String
- #isin : String | Nil
- #lots : Int32
- #name : String
- #ticker : String
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
def self.new(figi : String, ticker : String, isin : Nil | String, instrumentType : String, balance : Float64, blocked : Float64 | Nil, expectedYield : ValueWithCurrency, lots : Int32, averagePositionPrice : ValueWithCurrency, averagePositionPriceNoNkd : Nil | ValueWithCurrency, name : String)
#
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>