class Trade

Defined in:

trade.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(token : String, app_id : String, trade_amount, duration, wanted_profit, stop_loss, contract_type, alternate, current_session, show_notification) #

[View source]

Instance Method Detail

def app_id : String #

[View source]
def app_id=(app_id : String) #

[View source]
def display_notification(notification = "BinaryCR", title = "Notification", subtitle = "Crystal system notification", sound = "won") #

[View source]
def invert_contract_type(contract_type) #

[View source]
def status : String #

[View source]
def status=(status : String) #

[View source]
def token : String #

[View source]
def token=(token : String) #

[View source]