Method: BitexBot::BuyOpeningFlow.maker_price

Defined in:
lib/bitex_bot/models/buy_opening_flow.rb

.maker_price(crypto_to_resell) ⇒ Object

create_for_market helpers



52
53
54
# File 'lib/bitex_bot/models/buy_opening_flow.rb', line 52

def self.maker_price(crypto_to_resell)
  value_to_use * fx_rate / crypto_to_resell * (1 - profit / 100)
end