Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fix some warnings from PyCharm
Browse files Browse the repository at this point in the history
  • Loading branch information
erdewit committed Aug 29, 2023
1 parent 1c4c953 commit 6755bb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ib_insync/order.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Order types used by Interactive Brokers."""

from dataclasses import dataclass, field
from typing import ClassVar, List, NamedTuple, Set
from typing import ClassVar, FrozenSet, List, NamedTuple

from eventkit import Event

Expand Down Expand Up @@ -238,9 +238,9 @@ class OrderStatus:
Filled: ClassVar[str] = 'Filled'
Inactive: ClassVar[str] = 'Inactive'

DoneStates: ClassVar[Set[str]] = frozenset(
DoneStates: ClassVar[FrozenSet[str]] = frozenset(
['Filled', 'Cancelled', 'ApiCancelled'])
ActiveStates: ClassVar[Set[str]] = frozenset(
ActiveStates: ClassVar[FrozenSet[str]] = frozenset(
['PendingSubmit', 'ApiPending', 'PreSubmitted', 'Submitted'])


Expand Down

0 comments on commit 6755bb3

Please sign in to comment.