Method: Bitmex::Client#positions

Defined in:
lib/bitmex/client.rb

#positionsArray

Summary of Open and Closed Positions

Returns:

  • (Array)

    the list of positions


133
134
135
136
# File 'lib/bitmex/client.rb', line 133

def positions
  # TODO: use class method
  Bitmex::Position.new rest, websocket
end