FlintMonk

PlurexSignalIntegration

Library "PlurexSignalIntegration"

Provides tools for integrating Strategies and Alerts into plurex.io signals.

plurexMarket() Build a Plurex market from a base and quote asset symbol.
  Returns: A market string that can be used in Plurex Signal messages.

tickerToPlurexMarket() Builds simple Plurex market string from the syminfo
  Returns: A market string that can be used in Plurex Signal messages.

simpleMessage(secret, action, marketOverride) Builds simple Plurex Signal Messages
  Parameters:
    secret: The secret for your Signal on plurex
    action: The action of the message. One of .
    marketOverride: Optional, defaults to the syminfo for the ticker. Use the `plurexMarket` function to build your own.
  Returns: A json string message that can be used in alerts to send messages to Plurex.

executeStrategy(secret, openLong, openShort, closeLongs, closeShorts, marketOverride) Executes strategy actions with Plurex Signal messages
  Parameters:
    secret: The secret for your Signal on plurex
    openLong: Strategy should open long if true, aggregated with other boolean values
    openShort: Strategy should open short if true, aggregated with other boolean values
    closeLongs: Strategy should close longs if true, aggregated with other boolean values
    closeShorts: Strategy should close shorts if true, aggregated with other boolean values
    marketOverride: Optional, defaults to the syminfo for the ticker. Use the `plurexMarket` function to build your own.
Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.