Closed rudedoc closed 9 years ago
As per the listMarketBook documentation, you are required to supply a "marketIds" parameter. And you can list multiple markets in one call so no point looping and causing more noise on the API:
client.list_market_book(marketIds: racing_markets.map{ |m| m['marketId'] })
Correct!
Thanks for that and the great little gem!
Just checking out the gem. Using the example code I tried:
it returns: {"detail"=>{}, "faultcode"=>"Client", "faultstring"=>"DSC-0008"}