busca possibilidades de arbitragem entre corretoras
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

20 lines
348 B

class Config
property params = {} of Symbol => (String | Int32 | Float64 | Bool)
def initialize
@params[:log] = false
@params[:simulate] = false
@params[:retry] = false
@params[:start_time] = now
end
def self.params
self.instance.params
end
# singleton class
def self.instance
@@instance ||= new
end
end