# NOT RUN {
paper_token = 'your_sandbox_token_from_tcs_account'
marketOrder(paper_token,figi='BBG005HLTYH9',direction='Buy',lots=1)
live_token = 'your_live_token_from_tcs_account'
# remember that this command will place limit order in your live account !
marketOrder(live_token,live=TRUE,figi='BBG005HLTYH9',direction='Buy',lots=1)
# }
Run the code above in your browser using DataLab