# lusid-sdk
FINBOURNE Technology
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 0.11.3988
- Package version: 0.11.3988
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on a repository, you can install directly using:
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
Then import the package:
```python
import lusid
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import lusid
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import lusid
from lusid.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://fbn-prd.lusid.com/api
# See configuration.py for a list of all supported configuration parameters.
configuration = lusid.Configuration(
host = "https://fbn-prd.lusid.com/api"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure OAuth2 access token for authorization: oauth2
configuration = lusid.Configuration(
host = "https://fbn-prd.lusid.com/api"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Enter a context with an instance of the API client
with lusid.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = lusid.AggregationApi(api_client)
scope = 'scope_example' # str | The scope of the portfolio
code = 'code_example' # str | The code of the portfolio
create_recipe_request = {"recipeCreationMarketDataScopes":["MyScope"],"recipeId":{"scope":"MyScope","code":"default"},"asAt":"2018-03-05T00:00:00.0000000+00:00","effectiveAt":"2018-03-05T00:00:00.0000000+00:00"} # CreateRecipeRequest | The request specifying the parameters to generating the recipe (optional)
try:
# [EXPERIMENTAL] GenerateConfigurationRecipe: Generates a recipe sufficient to perform valuations for the given portfolio.
api_response = api_instance.generate_configuration_recipe(scope, code, create_recipe_request=create_recipe_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling AggregationApi->generate_configuration_recipe: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to *https://fbn-prd.lusid.com/api*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AggregationApi* | [**generate_configuration_recipe**](docs/AggregationApi.md#generate_configuration_recipe) | **POST** /api/aggregation/{scope}/{code}/$generateconfigurationrecipe | [EXPERIMENTAL] GenerateConfigurationRecipe: Generates a recipe sufficient to perform valuations for the given portfolio.
*AggregationApi* | [**get_queryable_keys**](docs/AggregationApi.md#get_queryable_keys) | **GET** /api/results/queryable/keys | [EXPERIMENTAL] GetQueryableKeys: Query the set of supported \"addresses\" that can be queried from the aggregation endpoint.
*AggregationApi* | [**get_valuation**](docs/AggregationApi.md#get_valuation) | **POST** /api/aggregation/$valuation | GetValuation: Perform valuation for a list of portfolios and/or portfolio groups
*AggregationApi* | [**get_valuation_of_weighted_instruments**](docs/AggregationApi.md#get_valuation_of_weighted_instruments) | **POST** /api/aggregation/$valuationinlined | GetValuationOfWeightedInstruments: Perform valuation for an inlined portfolio
*AllocationsApi* | [**delete_allocation**](docs/AllocationsApi.md#delete_allocation) | **DELETE** /api/allocations/{scope}/{code} | [EARLY ACCESS] DeleteAllocation: Delete allocation
*AllocationsApi* | [**get_allocation**](docs/AllocationsApi.md#get_allocation) | **GET** /api/allocations/{scope}/{code} | [EARLY ACCESS] GetAllocation: Get Allocation
*AllocationsApi* | [**list_allocations**](docs/AllocationsApi.md#list_allocations) | **GET** /api/allocations | [EARLY ACCESS] ListAllocations: List Allocations
*AllocationsApi* | [**upsert_allocations**](docs/AllocationsApi.md#upsert_allocations) | **POST** /api/allocations | [EARLY ACCESS] UpsertAllocations: Upsert Allocations
*ApplicationMetadataApi* | [**get_excel_addin**](docs/ApplicationMetadataApi.md#get_excel_addin) | **GET** /api/metadata/downloads/exceladdin | GetExcelAddin: Download Excel Addin
*ApplicationMetadataApi* | [**get_lusid_versions**](docs/ApplicationMetadataApi.md#get_lusid_versions) | **GET** /api/metadata/versions | GetLusidVersions: Get LUSID versions
*ApplicationMetadataApi* | [**list_access_controlled_resources**](docs/ApplicationMetadataApi.md#list_access_controlled_resources) | **GET** /api/metadata/access/resources | ListAccessControlledResources: Get resources available for access control
*BlocksApi* | [**delete_block**](docs/BlocksApi.md#delete_block) | **DELETE** /api/blocks/{scope}/{code} | [EXPERIMENTAL] DeleteBlock: Delete block
*BlocksApi* | [**get_block**](docs/BlocksApi.md#get_block) | **GET** /api/blocks/{scope}/{code} | [EXPERIMENTAL] GetBlock: Get Block
*BlocksApi* | [**list_blocks**](docs/BlocksApi.md#list_blocks) | **GET** /api/blocks | [EXPERIMENTAL] ListBlocks: List Blocks
*BlocksApi* | [**upsert_blocks**](docs/BlocksApi.md#upsert_blocks) | **POST** /api/blocks | [EXPERIMENTAL] UpsertBlocks: Upsert Block
*CalendarsApi* | [**add_business_days_to_date**](docs/CalendarsApi.md#add_business_days_to_date) | **POST** /api/calendars/businessday/{scope}/add | [EXPERIMENTAL] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date.
*CalendarsApi* | [**add_date_to_calendar**](docs/CalendarsApi.md#add_date_to_calendar) | **PUT** /api/calendars/generic/{scope}/{code}/dates | [BETA] AddDateToCalendar: Add a date to a calendar
*CalendarsApi* | [**create_calendar**](docs/CalendarsApi.md#create_calendar) | **POST** /api/calendars/generic | [BETA] CreateCalendar: Create a calendar in its generic form
*CalendarsApi* | [**delete_calendar**](docs/CalendarsApi.md#delete_calendar) | **DELETE** /api/calendars/generic/{scope}/{code} | [BETA] DeleteCalendar: Delete a calendar
*CalendarsApi* | [**delete_date_from_calendar**](docs/CalendarsApi.md#delete_date_from_calendar) | **DELETE** /api/calendars/generic/{scope}/{code}/dates/{dateId} | [BETA] DeleteDateFromCalendar: Remove a date from a calendar
*CalendarsApi* | [**generate_schedule**](docs/CalendarsApi.md#generate_schedule) | **POST** /api/calendars/schedule/{scope} | [EXPERIMENTAL] GenerateSchedule: Generate an ordered schedule of dates.
*CalendarsApi* | [**get_calendar**](docs/CalendarsApi.md#get_calendar) | **GET** /api/calendars/generic/{scope}/{code} | [BETA] GetCalendar: Get a calendar in its generic form
*CalendarsApi* | [**get_dates**](docs/CalendarsApi.md#get_dates) | **GET** /api/calendars/generic/{scope}/{code}/dates | [BETA] GetDates: Get dates for a specific calendar
*CalendarsApi* | [**is_business_date_time**](docs/CalendarsApi.md#is_business_date_time) | **GET** /api/calendars/businessday/{scope}/{code} | [BETA] IsBusinessDateTime: Check whether a DateTime is a \"Business DateTime\"
*CalendarsApi* | [**list_calendars**](docs/CalendarsApi.md#list_calendars) | **GET** /api/calendars/generic | [BETA] ListCalendars: List Calendars
*CalendarsApi
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共637个文件
py:627个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:lusid-sdk-preview-0.11.3988.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | lusid-sdk-preview-0.11.3988.tar.gz (637个子文件)
setup.cfg 38B
MANIFEST.in 40B
config_keys.json 1KB
README.md 99KB
PKG-INFO 337B
PKG-INFO 337B
transaction_portfolios_api.py 315KB
portfolio_groups_api.py 298KB
portfolios_api.py 279KB
legal_entities_api.py 208KB
persons_api.py 177KB
instruments_api.py 133KB
calendars_api.py 125KB
conventions_api.py 102KB
quotes_api.py 97KB
data_types_api.py 69KB
counterparties_api.py 69KB
structured_result_data_api.py 64KB
corporate_action_sources_api.py 62KB
custom_entities_api.py 56KB
property_definitions_api.py 55KB
system_configuration_api.py 53KB
fees_and_commissions_api.py 51KB
search_api.py 47KB
__init__.py 43KB
reference_portfolio_api.py 43KB
complex_market_data_api.py 42KB
reconciliations_api.py 41KB
cut_label_definitions_api.py 40KB
__init__.py 40KB
order_instructions_api.py 39KB
allocations_api.py 39KB
relationship_definitions_api.py 39KB
participations_api.py 39KB
placements_api.py 38KB
executions_api.py 38KB
orders_api.py 38KB
packages_api.py 38KB
blocks_api.py 38KB
sequences_api.py 36KB
configuration_recipe_api.py 36KB
aggregation_api.py 33KB
output_transaction.py 31KB
compliance_api.py 31KB
property_definition_search_result.py 27KB
api_client.py 27KB
schemas_api.py 26KB
property_definition.py 26KB
order_graph_api.py 25KB
repo_all_of.py 24KB
repo.py 24KB
fee_rule_upsert_request.py 24KB
bond_all_of.py 24KB
bond.py 23KB
transaction.py 23KB
pricing_options.py 23KB
flow_conventions.py 23KB
allocation.py 23KB
cds_flow_conventions.py 23KB
portfolio_cash_flow.py 23KB
create_relationship_definition_request.py 22KB
relations_api.py 21KB
execution.py 21KB
application_metadata_api.py 21KB
exchange_traded_option_contract_details.py 21KB
relationships_api.py 20KB
credit_support_annex.py 20KB
futures_contract_details.py 20KB
a2_b_movement_record.py 20KB
order.py 20KB
create_data_type_request.py 20KB
transaction_request.py 20KB
allocation_request.py 20KB
placement.py 20KB
fx_forward_all_of.py 19KB
derived_transaction_portfolios_api.py 19KB
market_data_key_rule.py 19KB
fx_forward.py 19KB
equity_swap_all_of.py 19KB
create_derived_transaction_portfolio_request.py 19KB
equity_swap.py 19KB
execution_request.py 19KB
fx_option_all_of.py 19KB
equity_option_all_of.py 19KB
fee_rule.py 19KB
fx_option.py 18KB
equity_option.py 18KB
relationship_definition.py 18KB
contract_for_difference_all_of.py 18KB
create_transaction_portfolio_request.py 18KB
inline_valuation_request.py 18KB
contract_for_difference.py 18KB
instrument.py 18KB
aggregation_query.py 18KB
index_convention.py 17KB
realised_gain_loss.py 17KB
credit_default_swap_all_of.py 17KB
block.py 17KB
placement_request.py 17KB
valuation_request.py 17KB
共 637 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 20240616_195603662.jpeg
- 52481010776991400971718624279654.jpg
- _.sys_oaid_QQ浏览器压缩包.zip
- 三个工具 1、gui的分数显示,每5秒刷一次,数据库能到27年 2、WebServer改分数的接口 3、修改分数的html页面
- 计算整数各位数字之和 C++中如何计算任何一个正整数的各位数字之和
- FPM383C/FPM383F指纹模块,stm32例程,使用库函数
- 银行家算法学习笔记介绍和使用讲解
- 后缀表达式求值算法介绍
- DDR3 DDR4 DDR5参数详细解释,手把手教你学习流程,反复复习
- 多台单片机间网络的实现(互相通信)含源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功