Class: Rubyists::Kalshi::Events::Client

Inherits:
ApiClient
  • Object
show all
Defined in:
lib/kalshi/events/client.rb

Overview

Events API Client

Instance Attribute Summary

Attributes inherited from ApiClient

#client

Instance Method Summary collapse

Methods inherited from ApiClient

#initialize, prefix, prefix=

Constructor Details

This class inherits a constructor from Rubyists::Kalshi::ApiClient

Instance Method Details

#candlesticks ⇒ Object



24
25
26
# File 'lib/kalshi/events/client.rb', line 24

def candlesticks
  Rubyists::Kalshi::Series::EventCandlesticks.new(client)
end

#fetch ⇒ Object



12
13
14
# File 'lib/kalshi/events/client.rb', line 12

def fetch(...)
  List.new(client).fetch(...)
end

#list ⇒ Object



8
9
10
# File 'lib/kalshi/events/client.rb', line 8

def list(...)
  List.new(client).list(...)
end

#metadata ⇒ Object



16
17
18
# File 'lib/kalshi/events/client.rb', line 16

def (...)
  List.new(client).(...)
end

#multivariate ⇒ Object



20
21
22
# File 'lib/kalshi/events/client.rb', line 20

def multivariate
  Multivariate.new(client)
end