[pshaiCmd] Input Converted Trade Amount

0 973 Views 2 Comments 3 years ago
  • Earn Up to $100,000 USDT Promotion Type: contest Expires: June 30, 2024 Exclusive
    Fire up your trade bots and earn up to $100,000 USDT, BitMEX VIP, free subscriptions, and more.
    • #2372
      Firetron
      Basic
      Up
      0
      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.

      • #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