added api for crypty and simulation of trades