class Trade
- Trade
- Reference
- Object
Defined in:
trade.crConstructors
Instance Method Summary
- #app_id : String
- #app_id=(app_id : String)
- #display_notification(notification = "BinaryCR", title = "Notification", subtitle = "Crystal system notification", sound = "won")
- #invert_contract_type(contract_type)
- #status : String
- #status=(status : String)
- #token : String
- #token=(token : String)
Constructor Detail
def self.new(token : String, app_id : String, trade_amount, duration, wanted_profit, stop_loss, contract_type, alternate, current_session, show_notification)
#
Instance Method Detail
def display_notification(notification = "BinaryCR", title = "Notification", subtitle = "Crystal system notification", sound = "won")
#