Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating simplebot.

  • Loading branch information...
commit 5672137212840d189568d8f2444f8c0da4f85517 1 parent 1d25cf1
Luke Byrne authored
View
2  examples/simplebot/simplebot.log
@@ -1,2 +0,0 @@
-# Logfile created on 2012-04-17 18:13:52 +0800 by logger.rb/25413
-I, [2012-04-17 18:13:52#10237] INFO -- : username - ["GBR"] - INVALID_USERNAME_OR_PASSWORD - OK - exiting
View
0  examples/simplebot/simplebot.log.20120416
No changes.
View
2  examples/simplebot/simplebot.rb
@@ -153,7 +153,7 @@ def place_bets(token, exchange_id, market_id, bets)
begin
foo = []
bets.each do |bet|
- price = @helper.set_betfair_odds(bet[:b1], BET_PIP, false, false)[:prc]
+ price = @helpers.set_betfair_odds(bet[:b1], BET_PIP, false, false)[:prc]
foo << { market_id: market_id, runner_id: bet[:selection_id], bet_type: BET_SIDE, price: price, size: BET_AMOUNT, asian_line_id: 0,
bet_category_type: 'E', bet_peristence_type: 'NONE', bsp_liability: 0 }
Please sign in to comment.
Something went wrong with that request. Please try again.