Module: Polygon::Api::Endpoints

Included in:
Client
Defined in:
lib/polygon/api/endpoints.rb

Instance Method Summary collapse

Instance Method Details

#trades(symbol, date, options = {}) ⇒ Object



6
7
8
# File 'lib/polygon/api/endpoints.rb', line 6

def trades(symbol, date, options = {})
  get("/v2/ticks/stocks/trades/#{symbol}/#{date}", { apiKey: api_key }.merge(options))
end