Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxrk committed Feb 10, 2024
1 parent d207827 commit 5f737a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions firstrade/order.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
from enum import Enum

from firstrade.account import FTSession
from firstrade import urls

from bs4 import BeautifulSoup

from firstrade import urls



class PriceType(str, Enum):
"""
This is an :class: 'enum.Enum' that contains the valid price types for an order.
This is an :class: 'enum.Enum'
that contains the valid price types for an order.
"""

LIMIT = "2"
Expand All @@ -20,7 +23,10 @@ class PriceType(str, Enum):


class Duration(str, Enum):
"""This is an :class:'~enum.Enum' that contains the valid durations for an order."""
"""
This is an :class:'~enum.Enum'
that contains the valid durations for an order.
"""

DAY = "0"
GT90 = "1"
Expand All @@ -46,7 +52,6 @@ class Order:
This class contains information about an order.
It also contains a method to place an order.
"""

def __init__(self, ft_session: FTSession):
self.ft_session = ft_session
self.order_confirmation = {}
Expand Down
2 changes: 1 addition & 1 deletion firstrade/symbols.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from firstrade.account import FTSession
from bs4 import BeautifulSoup

from firstrade import urls
from firstrade.account import FTSession


class SymbolQuote:
Expand Down

0 comments on commit 5f737a9

Please sign in to comment.