[pshaiCmd] Input Converted Trade Amount

0 89 Views 2 Comments 1 month ago
  • A simple but yet handy custom command to input and convert trade amounts based on settings.

    HaasScript Code
    Sign in or Register to view
    • #2372
      Firetron
      Basic
      Up
      1
      Down

      Note that this is a simple, spot market type of conversion. It does not account for leverage, or contract value, on a leveraged market. You still need to do your own math on that after.

      • This reply was modified 1 month ago by Firetron.
      • This reply was modified 1 month ago by Firetron.
      • This reply was modified 1 month ago by Firetron.
      • #2501
        pshai
        Admin
        Up
        0
        Down

        True dat. What i have done with this, is simply multiply the returned value with the used leverage, to get it represent the margin i want to invest on leverage markets.

Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free