import os
from datetime import timedelta

basedir = os.path.abspath(os.path.dirname(__file__))

API_DATA_URL = "https://invest-public-api.tinkoff.ru/rest/tinkoff.public.invest.api.contract.v1.InstrumentsService/"
API_LASTPRICES_URL = "https://invest-public-api.tinkoff.ru/rest/\
tinkoff.public.invest.api.contract.v1.MarketDataService/GetLastPrices"

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, '..', 'webapp.db')

REMEMBER_COOKIE_DURATION = timedelta(days=1)

SQLALCHEMY_TRACK_MODIFICATIONS = False

SECRET_KEY = ""

API_TOKEN = ""

[(12, 'datetime.timedelta', 'timedelta', False, 'from datetime import timedelta\n'), (4, 'os.path.dirname', 'os.path.dirname', False, 'import os\n'), (10, 'os.path.join', 'os.path.join', False, 'import os\n')]