Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

SubscribeToOrderUpdate for FTXTrigger data #37

@mircofx

Description

@mircofx

Hi,

I've established a WS connection and I need to get the type for trigger orders out of the DataEvent object I receive.

The problem is DataEvent is of type FTXOrder and not FTXTriggerOrder.

So that when I receive a DataEvent data, I got only data.Data.Type which is an OrderType [Market, Limit].

How can I parse data also as DataEvent and check if type is valorized [take_profit, stop, trailing_stop, etc...]

Can I get it from data.OriginalData or there is another channel that handles DataEvent?

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions