asynctradier.common.watchlist module

class asynctradier.common.watchlist.Watchlist(**kwargs)[source]

Bases: object

Represents a watchlist.

id

The ID of the watchlist.

Type:

str

name

The name of the watchlist.

Type:

str

public_id

The public ID of the watchlist.

Type:

str

items

A list of WatchlistItem objects representing the items in the watchlist.

Type:

list

class asynctradier.common.watchlist.WatchlistItem(**kwargs)[source]

Bases: object

Represents an item in a watchlist.

symbol

The symbol of the item.

Type:

str

id

The ID of the item.

Type:

str