PINE LIBRARY
업데이트됨

TradersPostDeluxe

314
Library "TradersPostDeluxe"
TradersPost integration. It's currently not very deluxe

SendEntryAlert(ticker, action, quantity, orderType, takeProfit, stopLoss, id, price, timestamp, timezone)
  Sends an alert to TradersPost to trigger an Entry
  Parameters:
    ticker (string): Symbol to trade. Default is syminfo.ticker
    action (series Action): TradersPostAction (.buy, .sell) default = buy
    quantity (float): Amount to trade, default = 1
    orderType (series OrderType): TradersPostOrderType, default =e TradersPostOrderType.market
    takeProfit (float): Take profit limit price
    stopLoss (float): Stop loss price
    id (string): id for the trade
    price (float): Expected price
    timestamp (int): Time of the trade for reporting, defaults to timenow
    timezone (string): associated with the time, defaults to syminfo.timezone
  Returns: Nothing

SendExitAlert(ticker, price, timestamp, timezone)
  Sends an alert to TradersPost to trigger an Exit
  Parameters:
    ticker (string): Symbol to flatten
    price (float): Documented planned price
    timestamp (int): Time of the trade for reporting, defaults to timenow
    timezone (string): associated with the time, defaults to syminfo.timezone
  Returns: Nothing
릴리즈 노트
A million things
릴리즈 노트
v3
릴리즈 노트
v4

Updated: supports signalPrice
릴리즈 노트
v5
릴리즈 노트
Better alignment with TradersPost parameters
Removed unrealistic order tracking

면책사항

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