Class: BitexBot::BuyClosingFlow
- Inherits:
-
ClosingFlow
- Object
- ActiveRecord::Base
- ClosingFlow
- BitexBot::BuyClosingFlow
- Defined in:
- lib/bitex_bot/models/buy_closing_flow.rb
Overview
It sold at Bitex and needs to close (buy) 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/buy_closing_flow.rb', line 9 def self.open_position_class OpenBuy end |
Instance Method Details
#fx_rate ⇒ Object
13 14 15 |
# File 'lib/bitex_bot/models/buy_closing_flow.rb', line 13 def fx_rate Settings. end |