Release 1.0

This commit is contained in:
2024-10-07 23:52:40 -07:00
parent 7e0adeeda1
commit 1112df5b82
3 changed files with 23 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
# Define the __all__ variable
__all__ = ["security", "remove_from_db", "insert_into_db", "get_watchlist"]
__all__ = ["Security", "remove_from_db", "insert_into_db", "get_watchlist", "hash_password"]
# Import the submodules
from .security import security, get_crossing, get_sma_slope
from .dbutil import remove_from_db, insert_into_db, get_watchlist
from .security import Security, get_crossing, get_sma_slope
from .dbutil import remove_from_db, insert_into_db, get_watchlist, hash_password

View File

@@ -2,7 +2,7 @@ import numpy as np
from numpy.fft import fft, ifft
import scipy.signal as sig
class security:
class Security:
"""
This can be a list of stocks, bonds, or otherinvestment vehicles.
price - Pandas DataFrame with datetime as index sorted to chronical order