def setUpClass(cls):

        cls.wait_time = 15
        open_excel(cls.wait_time)

        api_client = ApiClientBuilder().build(CredentialsSource.secrets_path())

        cls.scopes_api = lusid.ScopesApi(api_client)
        cls.portfolios_api = lusid.PortfoliosApi(api_client)
        cls.transaction_portfolios_api = lusid.TransactionPortfoliosApi(api_client)
        cls.aggregation_api = lusid.AggregationApi(api_client)
        cls.reconciliations_api = lusid.ReconciliationsApi(api_client)
        cls.book_name = "LUSID Excel - Setting up your IBOR template Global Equity Fund.xlsx"
示例#2
0
    def setUpClass(cls):
        # create a configured API client
        api_client = ApiClientBuilder().build(CredentialsSource.secrets_path())

        cls.transaction_portfolios_api = lusid.TransactionPortfoliosApi(
            api_client)
        cls.instruments_api = lusid.InstrumentsApi(api_client)

        instrument_loader = InstrumentLoader(cls.instruments_api)
        cls.instrument_ids = instrument_loader.load_instruments()

        cls.test_data_utilities = TestDataUtilities(
            cls.transaction_portfolios_api)
示例#3
0
    def setUp(cls):
        # create a configured API client
        api_client = ApiClientBuilder().build(
            str(CredentialsSource.secrets_path()))

        cls.instruments_api = lusid.InstrumentsApi(api_client)
        cls.portfolios_api = lusid.PortfoliosApi(api_client)
        cls.transaction_portfolios_api = lusid.TransactionPortfoliosApi(
            api_client)
        cls.corporate_actions_sources_api = lusid.CorporateActionSourcesApi(
            api_client)

        cls.id_generator = IdGenerator(scope=TestDataUtilities.tutorials_scope)
示例#4
0
    def setUpClass(cls):
        # create a configured API client
        api_client = ApiClientBuilder().build(CredentialsSource.secrets_path())

        cls.property_definitions_api = lusid.PropertyDefinitionsApi(api_client)
        cls.transaction_portfolios_api = lusid.TransactionPortfoliosApi(api_client)
        cls.instruments_api = lusid.InstrumentsApi(api_client)
        cls.portfolios_api = lusid.PortfoliosApi(api_client)

        instrument_loader = InstrumentLoader(cls.instruments_api)
        cls.instrument_ids = instrument_loader.load_instruments()

        cls.test_data_utilities = TestDataUtilities(cls.transaction_portfolios_api)
        cls.id_generator = IdGenerator(scope=TestDataUtilities.tutorials_scope)
    def setUp(cls):
        # create a configured API client
        api_client = ApiClientBuilder().build(CredentialsSource.secrets_path())

        cls.corporate_actions_sources_api = lusid.CorporateActionSourcesApi(
            api_client)