lib/cryptum/bot_conf.rb in cryptum-0.0.320 vs lib/cryptum/bot_conf.rb in cryptum-0.0.321
- old
+ new
@@ -48,10 +48,12 @@
# Produce a Stacktrace for anything else
Curses.close_screen
raise e
end
- # Update Key/Value Pair in Bot Conf and Serialize to YAML File
+ # SAUCE 1
+ # Calculate Target Profit Margin Percent Based Upon
+ # Observed Margins of Change in the Past 24hrs.
public_class_method def self.recalculate_tpm(opts = {})
option_choice = opts[:option_choice]
event_history = opts[:event_history]
bot_conf = opts[:bot_conf]