Doubt - API - Percentage in Buy Contract

Two questions regarding the API, I believe they are simple:

  • Is it possible, when, to buy a contract, to send a "percentage of the bank" or need a fixed amount?

  • If it is possible to ask a previous question, is it also possible for several contracts(Buy Contract for Multiple Accounts (request))?



  • @alecaus When you say percentage of bank do you mean percentage of account balance? That is not possible in one step, it would require you to get the balance and make the calculation on the client side before creating the buy parameters.

Sign In or Register to comment.