if (FALSE) {
qte = cb_create_convert_quote(amount = 100,
from_account = "USD",
to_account = "USDC")
ord = cb_commit_convert_trade(trade_id = qte$id,
from_account = "USD",
to_account = "USDC")
stat = cb_get_convert_trade(trade_id = qte$id,
from_account = "USD",
to_account = "USDC")
}
Run the code above in your browser using DataLab