Class: Rubyists::Kalshi::Market::Markets
- Includes:
- Listable
- Defined in:
- lib/kalshi/market/markets.rb
Overview
Markets API endpoint
Defined Under Namespace
Classes: Filter
Instance Attribute Summary
Attributes inherited from Endpoint
Instance Method Summary collapse
Methods included from Listable
Methods inherited from Endpoint
Constructor Details
This class inherits a constructor from Rubyists::Kalshi::Endpoint
Instance Method Details
#fetch(ticker) ⇒ Object
30 31 32 |
# File 'lib/kalshi/market/markets.rb', line 30 def fetch(ticker) client.get("markets/#{ticker}") end |