Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
51bitquant committed Jun 10, 2023
1 parent 241b51b commit 030e9d2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion howtrader/trader/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class BaseApp(ABC):
"""
Absstract class for app.
Abstract class for app.
"""

app_name: str = "" # Unique name used for creating engine and widget
Expand Down
1 change: 1 addition & 0 deletions howtrader/trader/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from .constant import Direction, Offset, Exchange
from decimal import Decimal


class OffsetConverter:
""""""

Expand Down
7 changes: 3 additions & 4 deletions howtrader/trader/database.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from abc import ABC, abstractmethod
from datetime import datetime
from types import ModuleType
from typing import List
from pytz import timezone
from dataclasses import dataclass
from importlib import import_module
from typing import Optional

from .constant import Interval, Exchange
from .object import BarData, TickData
Expand Down Expand Up @@ -108,12 +107,12 @@ def delete_tick_data(
@abstractmethod
def get_bar_overview(self) -> List[BarOverview]:
"""
Return data avaible in database.
Return data available in database.
"""
pass


database: BaseDatabase = None
database: Optional[BaseDatabase] = None


def get_database() -> BaseDatabase:
Expand Down

0 comments on commit 030e9d2

Please sign in to comment.