Esempio n. 1
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.quotes.index.index_1d_kdata import IndexKdataBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.quotes.china_stock_kdata_recorder import *

register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='index_1d_kdata',
                schema_base=IndexKdataBase,
                entity_type=EntityType.Index)
Esempio n. 2
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.fundamental.dividend_financing import DividendFinancingBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.dividend_financing.dividend_detail_recorder import *
from findy.database.plugins.eastmoney.dividend_financing.dividend_financing_recorder import *
from findy.database.plugins.eastmoney.dividend_financing.rights_issue_detail_recorder import *
from findy.database.plugins.eastmoney.dividend_financing.spo_detail_recorder import *

register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='dividend_financing',
                schema_base=DividendFinancingBase,
                entity_type=EntityType.Stock)
Esempio n. 3
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider
from findy.database.schema.meta.stock_meta import StockMetaBase
from findy.database.schema.quotes.trade_day import TradeDayBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.yahoo.meta.us_stock_meta_recorder import *
from findy.database.plugins.yahoo.meta.us_stock_trade_day_recorder import *


register_schema(Region.US,
                Provider.Yahoo,
                db_name='stock_meta',
                schema_base=StockMetaBase)

register_schema(Region.US,
                Provider.Yahoo,
                db_name='trade_day',
                schema_base=TradeDayBase)
Esempio n. 4
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.fundamental.trading import TradingBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.trading.holder_trading_recorder import *
from findy.database.plugins.eastmoney.trading.manager_trading_recorder import *

register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='trading',
                schema_base=TradingBase,
                entity_type=EntityType.Stock)
Esempio n. 5
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider
from findy.database.schema.meta.stock_meta import StockMetaBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.tu_share.meta.china_stock_meta_recorder import *


register_schema(Region.CHN,
                Provider.TuShare,
                db_name='stock_meta',
                schema_base=StockMetaBase)
Esempio n. 6
0
from findy.interface import Region, Provider
from findy.database.schema.meta.stock_meta import StockMetaBase
from findy.database.schema.misc.overall import OverallBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.exchange.china_etf_list_spider import *
from findy.database.plugins.exchange.china_index_list_spider import *
from findy.database.plugins.exchange.china_stock_list_spider import *
from findy.database.plugins.exchange.china_stock_summary import *
from findy.database.plugins.exchange.us_stock_list_spider import *
from findy.database.plugins.exchange.main_index import *


register_schema(Region.CHN,
                Provider.Exchange,
                db_name='stock_meta',
                schema_base=StockMetaBase)

register_schema(Region.CHN,
                Provider.Exchange,
                db_name='overall',
                schema_base=OverallBase)

register_schema(Region.US,
                Provider.Exchange,
                db_name='stock_meta',
                schema_base=StockMetaBase)
Esempio n. 7
0
from findy.database.schema.quotes.stock.stock_1mon_kdata import monKdataBase
from findy.database.schema.quotes.stock.stock_1wk_kdata import wKdataBase
from findy.database.schema.quotes.stock.stock_1d_kdata import dKdataBase
from findy.database.schema.quotes.stock.stock_4h_kdata import fhKdataBase
from findy.database.schema.quotes.stock.stock_1h_kdata import hKdataBase
from findy.database.schema.quotes.stock.stock_30m_kdata import tmKdataBase
from findy.database.schema.quotes.stock.stock_15m_kdata import ofmKdataBase
from findy.database.schema.quotes.stock.stock_5m_kdata import fmKdataBase
from findy.database.schema.quotes.stock.stock_1m_kdata import mKdataBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.yahoo.quotes.yahoo_index_kdata_recorder import *
from findy.database.plugins.yahoo.quotes.yahoo_stock_kdata_recorder import *

register_schema(Region.US,
                Provider.Yahoo,
                db_name='index_1d_kdata',
                schema_base=IndexKdataBase,
                entity_type=EntityType.Index)

register_schema(Region.US,
                Provider.Yahoo,
                db_name='stock_1mon_kdata',
                schema_base=monKdataBase,
                entity_type=EntityType.Stock)

register_schema(Region.US,
                Provider.Yahoo,
                db_name='stock_1wk_kdata',
                schema_base=wKdataBase,
                entity_type=EntityType.Stock)
Esempio n. 8
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.fundamental.finance import FinanceBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.yahoo.finance.us_stock_balance_sheet_recorder import *

register_schema(Region.US,
                Provider.Yahoo,
                db_name='finance',
                schema_base=FinanceBase,
                entity_type=EntityType.Stock)
Esempio n. 9
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.misc.holder import HolderBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.holder.top_ten_holder_recorder import *
from findy.database.plugins.eastmoney.holder.top_ten_tradable_holder_recorder import *

register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='holder',
                schema_base=HolderBase,
                entity_type=EntityType.Stock)
Esempio n. 10
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider
from findy.database.schema.meta.stock_meta import StockMetaBase
from findy.database.schema.quotes.trade_day import TradeDayBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.baostock.meta.bao_china_stock_meta_recorder import *
from findy.database.plugins.baostock.meta.bao_china_stock_trade_day_recorder import *


register_schema(Region.CHN,
                Provider.BaoStock,
                db_name='stock_meta',
                schema_base=StockMetaBase)

register_schema(Region.CHN,
                Provider.BaoStock,
                db_name='trade_day',
                schema_base=TradeDayBase)
Esempio n. 11
0
from findy.interface import Region, Provider, EntityType
from findy.database.schema.quotes.stock.stock_1mon_kdata import monKdataBase
from findy.database.schema.quotes.stock.stock_1wk_kdata import wKdataBase
from findy.database.schema.quotes.stock.stock_1d_kdata import dKdataBase
from findy.database.schema.quotes.stock.stock_4h_kdata import fhKdataBase
from findy.database.schema.quotes.stock.stock_1h_kdata import hKdataBase
from findy.database.schema.quotes.stock.stock_30m_kdata import tmKdataBase
from findy.database.schema.quotes.stock.stock_15m_kdata import ofmKdataBase
from findy.database.schema.quotes.stock.stock_5m_kdata import fmKdataBase
from findy.database.schema.quotes.stock.stock_1m_kdata import mKdataBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.baostock.quotes.bao_china_stock_kdata_recorder import *

register_schema(Region.CHN,
                Provider.BaoStock,
                db_name='stock_1d_kdata',
                schema_base=dKdataBase,
                entity_type=EntityType.Stock)

register_schema(Region.CHN,
                Provider.BaoStock,
                db_name='stock_1h_kdata',
                schema_base=hKdataBase,
                entity_type=EntityType.Stock)

register_schema(Region.CHN,
                Provider.BaoStock,
                db_name='stock_1m_kdata',
                schema_base=mKdataBase,
                entity_type=EntityType.Stock)
Esempio n. 12
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider, EntityType
from findy.database.schema.fundamental.finance import FinanceBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.finance.china_stock_balance_sheet_recorder import *
from findy.database.plugins.eastmoney.finance.china_stock_cash_flow_recorder import *
from findy.database.plugins.eastmoney.finance.china_stock_finance_factor_recorder import *
from findy.database.plugins.eastmoney.finance.china_stock_income_statement_recorder import *


register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='finance',
                schema_base=FinanceBase,
                entity_type=EntityType.Stock)
Esempio n. 13
0
# -*- coding: utf-8 -*-
from findy.interface import Region, Provider
from findy.database.schema.meta.stock_meta import StockMetaBase
from findy.database.plugins.register import register_schema
from findy.database.plugins.eastmoney.meta.china_stock_category_recorder import *
from findy.database.plugins.eastmoney.meta.china_stock_meta_recorder import *

register_schema(Region.CHN,
                Provider.EastMoney,
                db_name='stock_meta',
                schema_base=StockMetaBase)