PINE LIBRARY

GATS_Lib

41
Library "GATS_Lib"
GATS 선물/현물 자동매매를 위한 신호 생성 라이브러리

init(password, exchange, ticker, leverage, start_time, end_time)
  Parameters:
    password (string)
    exchange (string)
    ticker (string)
    leverage (int)
    start_time (int)
    end_time (int)

method entry_long(bot, id, qty, comment)
  Namespace types: Bot
  Parameters:
    bot (Bot)
    id (string)
    qty (float)
    comment (string)

method entry_short(bot, id, qty, comment)
  Namespace types: Bot
  Parameters:
    bot (Bot)
    id (string)
    qty (float)
    comment (string)

method close(bot, id, comment)
  Namespace types: Bot
  Parameters:
    bot (Bot)
    id (string)
    comment (string)

method close_all(bot, comment)
  Namespace types: Bot
  Parameters:
    bot (Bot)
    comment (string)

Bot
  Fields:
    password (series string)
    exchange (series string)
    ticker (series string)
    leverage (series int)
    start_time (series int)
    end_time (series int)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.