LogoLogo
Back to HaasOnline.comSwitch to Trade Platform
3.x
3.x
  • Welcome
  • Getting Started
    • Using Local API Server
    • Authentication
    • Response
      • Error Codes
  • HaasScript
    • Using HaasScript
      • HaasScript Facts
      • Charting
      • Order Handling
      • Interval
      • Input Fields
      • Positions Handling
        • Fee correction
      • Position Information
      • Memory Management
      • Optimizations
      • Signal Handling
      • Trading
    • Script Editor
      • Syntax
      • Parameters
      • Interaction
    • Visual Editor
      • Blocks
      • Parameters
      • Flow Control
      • Interaction
    • Custom Commands
    • Tutorials
      • Trade Bot Guide
        • Creating A Trade Bot
          • Visual Editor Guide
          • Script Editor Guide
          • Custom Containers
        • Customizing Indicators
        • Customizing Safeties
        • Customizing Insurances
        • Creating Easy Indicators
      • Unmanaged Trading Guide
        • Executing Orders
        • Managing Orders
        • Managing Positions
        • Managing Wallet
      • Script Editor
        • Classes
        • MadHatter BBands
        • Percentage Price Change
      • Visual Editor
        • Importing Scripts
        • SmoothRSI
        • Scalper Bot
    • Commands
      • Array Helpers
      • Charting
      • Constants
      • Custom Commands Helpers
      • Easy Indicators
      • Easy Insurances
      • Easy Safeties
      • Equations
      • Flow Control
      • Input Fields
      • Input Settings
      • Mathematical
      • Memory Helpers
      • Miscellaneous
      • Order Handling
      • Order Information
      • Position Information
      • Position Prices
      • Price Data
      • Price Market Information
      • Profit Information
      • Settings
      • Signal Helpers
      • String Helpers
      • Technical Analysis
      • Technical Analysis Helpers
      • Time Information
      • Trade Actions (Managed)
      • Trade Actions (Unmanaged)
      • Trade Bot
      • Trade Market Information
      • Wallet
  • API Endpoints
    • Software API
    • Market Data API
    • Account Data API
    • Trade Data API
    • Advanced Order API
    • Trade Bot API
    • Custom Trade Bot API
    • ENUMS
    • Data Objects
  • Examples
    • Script Bots (C#)
      • Scalper Trade Bot
      • Flash Crash Trade Bot
    • Script Indicators (C#)
      • Indicator Script
      • Technical Analysis Library
    • Pshai Scripts (C#)
      • BBands Ext
      • BBands Ext v2
      • Chaikin A/D Line
      • Calibrator
      • Pshai's RVI
    • Scripted Driver
  • Other Resources
    • YouTube
    • Guides & Tutorials
    • Questions & Answers
    • Community Projects
  • Need Help?
    • Ask on Discord
    • Submit Support Ticket
Powered by GitBook
On this page
  • EnumAccumulationBotStopType
  • EnumBotTradeAmount
  • EnumBotTradeResult
  • EnumBotType
  • EnumCoinsPosition
  • EnumCurrencyType
  • EnumCustomBotType
  • EnumFlashSpreadOptions
  • EnumFundsMovingPosition
  • EnumFundsPosition
  • EnumIndicator
  • EnumInsurances
  • EnumLimitOrderPriceType
  • EnumMadHatterIndicators
  • EnumMadHatterSafeties
  • EnumOrderBotTriggerType
  • EnumOrderStatus
  • EnumOrderType
  • EnumPlatformType
  • EnumPriceChartType
  • EnumPriceSource
  • EnumSafety
  • EnumSafety
  • EnumSlotType
  • EnumTradeType

Was this helpful?

  1. API Endpoints

ENUMS

EnumAccumulationBotStopType

    public enum EnumAccumulationBotStopType
    {
        Timer = 0,
        MaxTotalAmount = 1
    }

EnumBotTradeAmount

    public enum EnumBotTradeAmount { 
        Static = 0, 
        AllIn = 1, 
        MaxTradeAmount = 2 
    }

EnumBotTradeResult

    public enum EnumBotTradeResult { 
        Stay = 0, 
        Buy = 1, 
        Sell = 2 
    }

EnumBotType

    public enum EnumBotType { 
        TradeBot = 0, 
        MarginBot = 1, 
        LeverageBot = 2 
    }

EnumCoinsPosition

    public enum EnumCoinsPosition { 
        Bought = 0, 
        Sold = 1 
    }

EnumCurrencyType

    public enum EnumCurrencyType { 
        Base = 0, 
        Quote = 1
    }

EnumCustomBotType

    public enum EnumCustomBotType
    {
        MarketMakingBot = 1,
        PingPongBot = 2,
        ScalperBot = 3,
        OrderBot = 4,
        FlashCrashBot = 6,
        InterExchangeArbitrage = 8,
        IntellibotAlice = 9,
        ZoneRecoveryBot = 12,
        AccumulationBot = 13,
        TrendLinesBot = 14,
        MadHatterBot = 15,
        ScriptBot = 16,
        CryptoIndexBot = 17,
        EmailBot = 19,
        AdvancedIndexBot = 20
    }

EnumFlashSpreadOptions

    public enum EnumFlashSpreadOptions
        {
        FixedAmount = 0,
        Percentage = 1,
        PercentageWithBoost = 2,
        Exponential = 3
    }

EnumFundsMovingPosition

    public enum EnumFundsMovingPosition { 
        EnterShort = 0, 
        ExitShort = 1, 
        EnterLong = 2, 
        ExitLong = 3 
    }

EnumFundsPosition

    public enum EnumFundsPosition { 
        NoPosition = 0, 
        Short = 1, 
        Long = 2 
    }

EnumIndicator

    public enum EnumIndicator
    {
        Aroon = 0,
        AroonOscillator = 1,
        AwesomeOscillator = 2,
        Blind = 3,
        BOP = 4,
        BBands = 5,
        BBandsB = 6,
        BBandsW = 7,
        BuyLowSellHighFixed = 8,
        BuyLowSellHighDynamic = 9,
        BBandsPshai = 51,
        CCI = 11,
        CMO = 12,
        CoppockCurve = 13,
        CRSI = 14,
        CandlePattern = 15,
        DEMA = 16,
        DEMA_New = 52,
        DonchianChannels = 17,
        DPO = 18,
        EMA = 19,
        EMA_New = 53,
        Elliot = 20,
        FastRSI = 21,
        Fibonacci = 22,
        Fractial = 23,
        IchimokuClouds = 24,
        KeltnerChannels = 26,
        KAMA = 27,
        KAMA_New = 54,
        KeltnerChannels_New = 55,
        MACD = 28,
        MACD_New = 69,
        MFI = 29,
        Momentum = 70,
        ROC = 30,
        ROCAlt = 31,
        RSI = 32,
        RSI_New = 59,
        RegressionSlobe = 33,
        SAR = 34,
        SlowRSI = 35,
        SMA = 36,
        StochRSI = 37,
        StochRSI_New = 62,
        Stochastic = 38,
        Stochastic2 = 39,
        SmallFractial = 40,
        ScriptIndicator = 41,
        TEMA = 42,
        TEMA_New = 63,
        TRIX = 43,
        TRIX_New = 64,
        TRIMA = 44,
        TRIMA_New = 65,
        TD = 71,
        TimedBlind = 49,
        UltimateOscillator = 46,
        UltimateOscillator_New = 66,
        WMA = 47,
        WilliamsW = 48,
        WilliamsR_New = 67,
        HaasScriptIndicator = 50
    }

EnumInsurances

    public enum EnumInsurances
    {
        AbsolutePriceChange = 0,
        BeProfitableInXTrades = 1,
        DisableOnLosses = 2,
        NeverSellCheaper = 3,
        NeverBuyHigher = 11,
        OvercomeFee = 4,
        OvercomeDoubleFee = 5,
        PercentagePriceChange = 6,
        ScriptInsurance = 7,
        StableTrendOnly = 8,
        StayProfitable = 9,
        TrendingTrendOnly = 10,
        HaasScriptInsurance = 12,
        WaitAfterOrder = 13
    }

EnumLimitOrderPriceType

    public enum EnumLimitOrderPriceType { 
        BeFirstOrder = 0, 
        PlaceOnFirstOrder = 1 
    }

EnumMadHatterIndicators

    public enum EnumMadHatterIndicators { 
        Macd = 0, 
        Rsi = 1, 
        Bbands = 2
    }

EnumMadHatterSafeties

    public enum EnumMadHatterSafeties { 
        StopLoss = 0, 
        PriceChangeToBuy = 1, 
        PriceChangeToSell = 2 
    }

EnumOrderBotTriggerType

    public enum EnumOrderBotTriggerType { 
        LowerThan = 0, 
        HigherThan = 1, 
        Normal = 2
    }

EnumOrderStatus

    public enum EnumOrderStatus { 
        UnKnown = 0, 
        Open = 3, 
        Completed = 5, 
        Canceled = 7 
    }

EnumOrderType

    public enum EnumOrderType { 
        Sell = 0, 
        Buy = 1 
    }

EnumPlatformType

    public enum EnumPlatformType { 
        SpotTrading = 0,
        MarginTrading = 1,
        LeverageTrading = 2
    }

EnumPriceChartType

    public enum EnumPriceChartType {
        Candlestick = 0,
        CandlestickHLC = 1,
        HeikinAshi = 2,
        OHLC = 3,
        HLC = 4,
        Line = 5,
        Mountain = 6,
        RedBlack = 7,
        Spread = 8
    }

EnumPriceSource

    public enum EnumPriceSource
    {
        Bitfinex = 1,
        BTCe = 4,
        CexIO = 5,
        OKCoinCOM = 8,
        OKCoinFutures = 9,
        Bitstamp = 10,
        Poloniex = 11,
        Coinbase = 12,
        Bittrex = 13,
        NovaExchange = 14,
        Kraken = 15,
        BitMEX = 17,
        ScriptedDriver = 18,
        CCex = 19,
        Gemini = 20,
        Binance = 21,
        HitBTC = 22,
        OKEX = 23,
        Huobi = 26,
        KuCoin = 27,
    }

EnumSafety

    public enum EnumSafety
    {
        CloseBeforeSettlement = 0,
        ClosePositionWithLoss = 14,
        ClosePositionWithProfit = 15,
        DeactivateBotAfterBuy = 12,
        DeactivateBotAfterSell = 13,
        DeavtivateBotAfterXTrades = 18,
        DeactiveBotAfterXIdleMinutes = 21,
        DeactiveBotAfterXActiveMinutes = 22,
        TradeOnTrendLines = 20,
        ForceToBoughtLong = 7,
        ForceToSoldShort = 8,
        PricePump = 16,
        PriceDump = 17,
        RoofInDynamic = 1,
        RoofInFixed = 2,
        RoofOutDynamic = 3,
        RoofOutFixed = 4,
        ResetBuyPrice = 10,
        ResetSellPrice = 11,
        StopLossFixed = 5,
        StopLossDynamic = 6,
        ScriptSafety = 9,
        HaasScriptSafety = 19
    }

EnumSafety

    public enum EnumSafetyPositionSignal
    {
        Any = 0,
        BuyLong = 1,
        SellShort = 2,
        NoPosition = 3
    }

EnumSlotType

    public enum EnumSlotType { 
        Buy = 0, 
        Sell = 1, 
        Empty = 2, 
    }

EnumTradeType

    public enum EnumTradeType { 
        Buy = 1, 
        Sell = 2 
    }
PreviousCustom Trade Bot APINextData Objects

Last updated 6 years ago

Was this helpful?