module BetfairApiNgRails::Api::RequestMethods::Betting

Public Instance Methods

list_market_book(market_ids: [], price_projection: BetfairApiNgRails::PriceProjection.new, order_projection: '', match_projection: '', currency_code: 'USD', locale: BetfairApiNgRails.config.locale) click to toggle source
# File lib/betfair_api_ng_rails/api/request_methods/betting.rb, line 19
def list_market_book(market_ids: [], price_projection: BetfairApiNgRails::PriceProjection.new, order_projection: '', match_projection: '', currency_code: 'USD', locale: BetfairApiNgRails.config.locale)
  run_request __method__, { market_ids: market_ids, price_projection: price_projection, order_projection: order_projection, match_projection: match_projection, currency_code: currency_code, locale: locale }
end
list_market_catalogue(filter: BetfairApiNgRails::MarketFilter.new, market_projection: [], sort: "", max_results: '1', locale: BetfairApiNgRails.config.locale) click to toggle source
# File lib/betfair_api_ng_rails/api/request_methods/betting.rb, line 15
def list_market_catalogue(filter: BetfairApiNgRails::MarketFilter.new, market_projection: [], sort: "", max_results: '1', locale: BetfairApiNgRails.config.locale)
  run_request __method__, { filter: filter, market_projection: market_projection, sort: sort, max_results: max_results, locale: locale }
end
place_orders(market_id: "", instructions: [], customer_ref: "", account_name: '') click to toggle source
# File lib/betfair_api_ng_rails/api/request_methods/betting.rb, line 23
def place_orders(market_id: "", instructions: [], customer_ref: "", account_name: '')
  run_request __method__, { market_id: market_id, instructions: instructions, customer_ref: customer_ref }, account_name
end