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

8 months ago
  1. class Config
  2. property params = {} of Symbol => (String | Int32 | Float64 | Bool)
  3. def initialize
  4. @params[:log] = false
  5. @params[:simulate] = false
  6. @params[:retry] = false
  7. @params[:start_time] = now
  8. end
  9. def self.params
  10. self.instance.params
  11. end
  12. # singleton class
  13. def self.instance
  14. @@instance ||= new
  15. end
  16. end