Skip to content

Commit

Permalink
Formatting enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc73 committed Dec 15, 2014
1 parent 36505ce commit 39bf4e2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$
^README-*\.png$
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.Rproj.user
.Rhistory
.RData
inst/doc
9 changes: 8 additions & 1 deletion vignettes/abettor-placeBet.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,14 @@ At the time of writing, the best price available to back Memoria to Win was 6.4,
Finally, we'll place a £2 bet using the `placeOrders` function.

```{r, eval = FALSE}
PlaceBetReturn <- placeOrders(marketId = ourMarketId, selectionId = ourSelectionId, betSide = "BACK", betType = "LIMIT", betSize = "2", reqPrice = ourSelectionBestPrice, persistenceType = "LAPSE")
PlaceBetReturn <- placeOrders(marketId = ourMarketId,
selectionId = ourSelectionId,
betSide = "BACK",
betType = "LIMIT",
betSize = "2",
reqPrice = ourSelectionBestPrice,
persistenceType = "LAPSE"
)
```

If everything has been successful, the `PlaceBetReturn` variable will contain a unique customer reference, which defaults to the exact date and time the bet was placed. See `?placeOrders` to alter this.
Expand Down

0 comments on commit 39bf4e2

Please sign in to comment.