Class: Crypto::Stop

Inherits:
Operation show all
Defined in:
lib/crypto/resources/stop.rb

Direct Known Subclasses

Loss, Profit

Class Method Summary collapse

Methods inherited from Base

binance?, coinex?, correct, error, load_fixture, test

Class Method Details

.limit(data:, index:) ⇒ Object



6
7
8
# File 'lib/crypto/resources/stop.rb', line 6

def limit(data:, index:)
  operations(data: data, index: index)
end