Call python strategy function from C