Skip to content

Alert event message field should support object in PineTS. #170

@janckerchen

Description

@janckerchen

from https://quantforge.org/pinets/docs/alerts#alert-event-structure

{
    type: 'alert' | 'alertcondition',
    message: string,          // The alert message
    ...
}

If pure Pine Script, message: string is strict, but if you directly use PineTS, supporting object in the message would be very powerful. I must repeatedly perform JSON serialization at both ends right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions