PINE LIBRARY
업데이트됨

CarolTradeLib

32
Library "CarolTradeLib"

f_generateSignalID(strategyName)
  Parameters:
    strategyName (string)

f_buildJSON(orderType, action, symbol, price, strategyName, apiKey, additionalFields, indicatorJSON)
  Parameters:
    orderType (string)
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    additionalFields (string)
    indicatorJSON (string)

sendSignal(action, symbol, price, strategyName, apiKey, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    indicatorJSON (string)

marketOrder(action, symbol, price, strategyName, apiKey, stopLoss, takeProfit, rrRatio, size, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    stopLoss (float)
    takeProfit (float)
    rrRatio (float)
    size (float)
    indicatorJSON (string)

limitOrder(action, symbol, price, strategyName, apiKey, limitPrice, size, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    limitPrice (float)
    size (float)
    indicatorJSON (string)

stopLimitOrder(action, symbol, price, strategyName, apiKey, stopPrice, limitPrice, size, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    stopPrice (float)
    limitPrice (float)
    size (float)
    indicatorJSON (string)
릴리즈 노트
v2

Updated:
marketOrder(action, symbol, price, strategyName, apiKey, stopLoss, takeProfit, rrRatio, quantity, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    stopLoss (float)
    takeProfit (float)
    rrRatio (float)
    quantity (float)
    indicatorJSON (string)

limitOrder(action, symbol, price, strategyName, apiKey, limitPrice, quantity, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    limitPrice (float)
    quantity (float)
    indicatorJSON (string)

stopLimitOrder(action, symbol, price, strategyName, apiKey, stopPrice, limitPrice, quantity, indicatorJSON)
  Parameters:
    action (string)
    symbol (string)
    price (float)
    strategyName (string)
    apiKey (string)
    stopPrice (float)
    limitPrice (float)
    quantity (float)
    indicatorJSON (string)

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.