Module: Betfair

Defined in:
lib/em-betfair/response.rb,
lib/em-betfair/soap_renderer.rb,
lib/em-betfair/betfair_client.rb,
lib/em-betfair/response_parser.rb

Overview

Utility class for chopping up Betfair API responses and turning them into hashes

Defined Under Namespace

Modules: ResponseParser Classes: Client, Response, SOAPRenderer

Constant Summary collapse

BETFAIR_TIME_ZONES =
{"RSA"=>"Africa/Johannesburg", "AST"=>"US/Arizona", "MST"=>"US/Mountain", "JPT"=>"Japan", "HK"=>"Hongkong", "GMT"=>"GMT", "PKT"=>"Etc/GMT-5", "UAE"=>"Asia/Dubai", "CST"=>"US/Central", "AKST"=>"US/Alaska", "BRT"=>"Brazil/East", "INT"=>"Asia/Calcutta", "SMT"=>"America/Santiago", "MSK"=>"Europe/Moscow", "AWST"=>"Australia/Perth", "PST"=>"US/Pacific", "EST"=>"US/Eastern", "KMT"=>"Jamaica", "CET"=>"CET", "ANST"=>"Australia/Darwin", "ACST"=>"Australia/Adelaide", "NZT"=>"NZ", "UKT"=>"Europe/London", "AMT"=>"Brazil/West", "THAI"=>"Asia/Bangkok", "SJMT"=>"America/Costa_Rica", "HST"=>"US/Hawaii", "EET"=>"EET", "AEST"=>"Australia/Sydney", "IEST"=>"America/Indiana/Indianapolis", "AQST"=>"Australia/Queensland"}
REQUEST_RATE_LIMITS =
{"login" => 24, "get_market" => 5, "get_market_info" => 5, "get_market_prices_compressed" => 60, "get_market_traded_volume_compressed" => 60 }
FREE_PRODUCT_ID =
82