added to algo trading example