Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbFeder committed Sep 18, 2022
1 parent 3ef8659 commit 8371f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rltrading/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Data(BaseModel):
_symbol: str = PrivateAttr(default_factory=None)
_data_frame: pd.DataFrame = PrivateAttr(default_factory=pd.DataFrame)

_curr_pos: int = PrivateAttr(default_factory=0)
_curr_pos: int = 0

def fetch(self: "Data", config: Config, dir_path: Optional[str], store: str = True):
"""Fetch the data via the ``MetaTrader5`` and the ``Finnhub API``.
Expand Down

0 comments on commit 8371f85

Please sign in to comment.