buylimit: Place a Buy Limit Order

Description Usage Arguments Value References See Also Examples

View source: R/ccex.r

Description

The buylimit function places a buy order onto the C-Cex crypto-currency exchange https://c-cex.com. This function only works after you have set up authentication.

Usage

1
buylimit(market, quantity, rate)

Arguments

market

the market to place the buy limit order on.

quantity

the quantity of the transaction currency to buy.

rate

the price you are willing to pay per unit of the transaction currency.

Value

A named list with the following elements:

References

https://c-cex.com/?id=api#buylimit

See Also

link{ccex_authenticate} selllimit getorder getopenorders getorderhistory

Examples

1
2
3
4
5
## Not run: 
# Buy one bitcoin for 1169 dollars.
order = buylimit("btc-usd", 1, 1169)

## End(Not run)

kaneplusplus/ccex documentation built on May 20, 2019, 7:20 a.m.