Class: BitexBot::SellClosingFlow
- Inherits:
-
ClosingFlow
- Object
- ActiveRecord::Base
- ClosingFlow
- BitexBot::SellClosingFlow
- Defined in:
- lib/bitex_bot/models/sell_closing_flow.rb
Overview
It bought at Bitex and needs to close (sell) in the other market.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ClosingFlow
close_open_positions, create_closing_flow!, #create_initial_order_and_close_position!, #positions_balance_amount, suggested_amount, #sync_closed_positions
Class Method Details
.open_position_class ⇒ Object
9 10 11 |
# File 'lib/bitex_bot/models/sell_closing_flow.rb', line 9 def self.open_position_class OpenSell end |
Instance Method Details
#fx_rate ⇒ Object
13 14 15 |
# File 'lib/bitex_bot/models/sell_closing_flow.rb', line 13 def fx_rate Settings.selling_fx_rate end |