PINE LIBRARY
Updated

OKXJson

64
Library "OKXJson"

f_buildId(prefix, instrument)
  Parameters:
    prefix (string)
    instrument (string)

f_utcTimestamp()

f_investmentType(internalAction, entryType, closeType)
  Parameters:
    internalAction (string)
    entryType (string)
    closeType (string)

f_build(id, okxAction, marketPosition, prevMarketPosition, instrument, signalToken, timestampUtc, investmentType, amount, maxLagSeconds)
  Parameters:
    id (string)
    okxAction (string)
    marketPosition (string)
    prevMarketPosition (string)
    instrument (string)
    signalToken (string)
    timestampUtc (string)
    investmentType (string)
    amount (string)
    maxLagSeconds (string)
Release Notes
v2

Added:
f_okxAction(internalAction)
  Parameters:
    internalAction (string)

f_marketPosition(internalAction)
  Parameters:
    internalAction (string)

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.