place trailing stop loss order


    1. How to place trailing stop loss order through api

    2. How much margin is required or how to calculate margin requirement

    Basically I want to place trailing stop loss order