class Tradify::Account

Defined in:

tradify/account.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(balance : Int32) #

[View source]

Instance Method Detail

def balance : Int32 #

[View source]
def execute_trade(trade) #

[View source]
def first_buy #

[View source]
def first_sell_or_short #

[View source]
def open_buy_trades? #

[View source]
def open_trades? #

[View source]
def trades : Array(Trade) #

[View source]