lib/cryptum/event/sell.rb in cryptum-0.0.352 vs lib/cryptum/event/sell.rb in cryptum-0.0.353

- old
+ new

@@ -63,9 +63,12 @@ target_profit = target_symbol_price * pie_in_sky_sell_percent_cast_as_decimal limit_price = target_symbol_price + target_profit when :tpm limit_price = target_symbol_price + # TODO: Ensure previous order price + # on last _open order_ if applicable + # is greater than this one. order_type = :tpm when :gtfo # Attempt to get in front of falling price. limit_price = last_three_prices_arr.sort[1] gtfo_price = limit_price -= quote_increment.to_f