if (FALSE) {
## buy
kis_buy(
stock_code = "stock code",
order_qty = "your order quantity",
order_price = "your order price"
)
## sell
kis_sell(
stock_code = "stock code",
order_qty = "your order quantity",
order_price = "your order price"
)
}
Run the code above in your browser using DataLab