R package for CTP trading