How to long and short with margin trading