Firetron’s InputAmountSpread

1 496 Views No Comments 2 years ago
  • Creates a group of inputs for Firetron’s GetAmountSpread.

    Custom Command Dependencies:
    None

    Test code:

    if not Load('done', false) then
    
      local p = {listDynamic = CC_InputAmountSpread('Amount Spread')}
    
      local spreadAmounts = CC_GetAmountSpread(p)
    
      for i = 1, #spreadAmounts do
    
        Log('Spread Amount: '..spreadAmounts[i])
    
      end
    
      Save('done', true)
    
    end
    • This topic was modified 2 years, 3 months ago by Firetron. Reason: Added "mult" option
    • This topic was modified 2 years, 3 months ago by Firetron. Reason: Added "exp" option
    • This topic was modified 2 years, 3 months ago by Firetron. Reason: Added offset input
    • This topic was modified 2 years, 2 months ago by Firetron. Reason: Cleaned up test script
    • This topic was modified 2 years, 2 months ago by Firetron. Reason: Added parameter: total
    HaasScript Code
    Sign in or Register to download for free
  • Mandala Trading Competition Promotion Type: contest Expires: June 9, 2023 Exclusive
    Trading volume competition, win up to $10,000 USDT and bounties.
  • Earn Up to 200 BMEX Tokens Promotion Type: contest Expires: March 31, 2023
    15 BMEX @ $20,000, 25 BMEX @ $50,000, 50 [email protected] $200,000, 100 BMEX @ $400,000, 200 BMEX @ $600,000 in monthly derivatives volume
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free