class TinkoffPortfolioPosition

Overview

Информация о позиции в портфеле

Defined in:

tinkoff_api/tinkoff_portfolio_position.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def averagePositionPrice : ValueWithCurrency #

[View source]
def averagePositionPriceNoNkd : ValueWithCurrency | Nil #

[View source]
def balance : Float64 #

[View source]
def blocked : Float64 | Nil #

[View source]
def expectedYield : ValueWithCurrency #

[View source]
def figi : String #

[View source]
def instrumentType : String #

[View source]
def isin : String | Nil #

[View source]
def lots : Int32 #

[View source]
def name : String #

[View source]
def ticker : String #

[View source]
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>

[View source]