# lusid-sdk
FINBOURNE Technology
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 0.11.2583
- Package version: 0.11.2583
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
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 Github, you can install directly from Github
```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
configuration = lusid.Configuration()
# Configure OAuth2 access token for authorization: oauth2
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Defining host is optional and default to https://fbn-prd.lusid.com/api
configuration.host = "https://fbn-prd.lusid.com/api"
# Create an instance of the API class
api_instance = lusid.AggregationApi(lusid.ApiClient(configuration))
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] 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] Generates a recipe sufficient to perform valuations for the given portfolio.
*AggregationApi* | [**get_aggregation**](docs/AggregationApi.md#get_aggregation) | **POST** /api/aggregation/{scope}/{code}/$aggregate | [EXPERIMENTAL] Aggregate data in a portfolio or portfolio group Deprecated: Please use the GetValuation endpoint. It is aimed at a simpler set of requirements now deemed stable. Aggregation will shortly be modified to include experimental features such as Simulation and XVA
*AggregationApi* | [**get_aggregation_by_result_set**](docs/AggregationApi.md#get_aggregation_by_result_set) | **POST** /api/results/{scope}/{resultsKey}/$aggregate | [EXPERIMENTAL] Aggregate using result data
*AggregationApi* | [**get_aggregation_of_weighted_instruments**](docs/AggregationApi.md#get_aggregation_of_weighted_instruments) | **POST** /api/portfolios/{scope}/$aggregateinlined | [EXPERIMENTAL] Aggregate data in an inlined portfolio
*AggregationApi* | [**get_nested_aggregation**](docs/AggregationApi.md#get_nested_aggregation) | **POST** /api/aggregation/{scope}/{code}/$aggregatenested | [EXPERIMENTAL] Aggregate data in a portfolio or portfolio group, as nested Deprecated: Endpoint is being retired. The nested functionality is supported on the valuation endpoint through use of an 'include subtotals' flag.
*AggregationApi* | [**get_queryable_keys**](docs/AggregationApi.md#get_queryable_keys) | **GET** /api/results/queryable/keys | [EXPERIMENTAL] 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 | [EXPERIMENTAL] 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 | [EXPERIMENTAL] Perform valuation for an inlined portfolio
*AllocationsApi* | [**delete_allocation**](docs/AllocationsApi.md#delete_allocation) | **DELETE** /api/allocations/{scope}/{code} | [EXPERIMENTAL] Delete allocation
*AllocationsApi* | [**get_allocation**](docs/AllocationsApi.md#get_allocation) | **GET** /api/allocations/{scope}/{code} | [EXPERIMENTAL] Get Allocation
*AllocationsApi* | [**list_allocations**](docs/AllocationsApi.md#list_allocations) | **GET** /api/allocations | [EXPERIMENTAL] List Allocations
*AllocationsApi* | [**upsert_allocations**](docs/AllocationsApi.md#upsert_allocations) | **POST** /api/allocations | [EXPERIMENTAL] Upsert Allocations
*ApplicationMetadataApi* | [**get_excel_addin**](docs/ApplicationMetadataApi.md#get_excel_addin) | **GET** /api/metadata/downloads/exceladdin | [EARLY ACCESS] Download Excel Addin
*ApplicationMetadataApi* | [**get_lusid_versions**](docs/ApplicationMetadataApi.md#get_lusid_versions) | **GET** /api/metadata/versions | [EARLY ACCESS] Get LUSID versions
*ApplicationMetadataApi* | [**list_access_controlled_resources**](docs/ApplicationMetadataApi.md#list_access_controlled_resources) | **GET** /api/metadata/access/resources | [EARLY ACCESS] Get resources available for access control
*CalendarsApi* | [**add_date_to_calendar**](docs/CalendarsApi.md#add_date_to_calendar) | **PUT** /api/calendars/generic/{scope}/{code}/dates | [EXPERIMENTAL] Add a date to a calendar
*CalendarsApi* | [**create_calendar**](docs/CalendarsApi.md#create_calendar) | **POST** /api/calendars/generic | [EXPERIMENTAL] Create a calendar in its generic form
*CalendarsApi* | [**delete_calendar**](docs/CalendarsApi.md#delete_calendar) | **DELETE** /api/calendars/generic/{scope}/{code} | [EXPERIMENTAL] Delete a calendar
*CalendarsApi* | [**delete_date_from_calendar**](docs/CalendarsApi.md#delete_date_from_calendar) | **DELETE** /api/calendars/generic/{scope}/{code}/dates/{dateId} | [EXPERIMENTAL] Remove a date from a calendar
*CalendarsApi* | [**get_calendar**](docs/CalendarsApi.md#get_calendar) | **GET** /api/calendars/generic/{scope}/{code} | [EXPERIMENTAL] Get a calendar in its generic form
*CalendarsApi* | [**get_dates**](docs/CalendarsApi.md#get_dates) | **GET** /api/calendars/generic/{scope}/{code}/dates | [EXPERIMENTAL] Get dates for a specific calendar
*CalendarsApi* | [**is_business_date_time**](docs/CalendarsApi.md#is_business_date_time) | **GET** /api/calendars/businessday/{scope}/{code} | [EXPERIMENTAL] Check whether a DateTime is a \"Business DateTime\"
*CalendarsApi* | [**list_calendars**](docs/CalendarsApi.md#list_calendars) | **GET** /api/calendars/generic | [EXPERIMENTAL] List Calenders
*CalendarsApi* | [**list_calendars_in_scope**](docs/CalendarsApi.md#list_calendars_in_scope) | **GET** /api/calendars/generic/{scope} | [EXPERIMENTAL] List all calenders in a specified scope
*CalendarsApi* | [**update_calendar**](docs/CalendarsApi.md#update_calendar) | **POST** /api/calendars/generic/{scope}/{code} | [EXPERIMENTAL] Update a calendar
*ConfigurationRecipeApi* | [**delete_configuration_recipe**](docs/ConfigurationRecipeApi.md#delete_configuration_recipe) | **DELETE** /api/recipes/{scope}/{code} |
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | lusid-sdk-preview-0.11.2583.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 177 浏览量
2022-01-13
01:23:12
上传
评论
收藏 325KB GZ 举报
温馨提示
共421个文件
py:411个
txt:4个
pkg-info:2个
资源来自pypi官网。 资源全名:lusid-sdk-preview-0.11.2583.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | lusid-sdk-preview-0.11.2583.tar.gz (421个子文件)
setup.cfg 38B
MANIFEST.in 40B
config_keys.json 940B
README.md 67KB
PKG-INFO 337B
PKG-INFO 337B
transaction_portfolios_api.py 201KB
portfolio_groups_api.py 189KB
portfolios_api.py 147KB
persons_api.py 110KB
legal_entities_api.py 95KB
conventions_api.py 83KB
calendars_api.py 82KB
quotes_api.py 73KB
instruments_api.py 71KB
aggregation_api.py 55KB
counterparty_api.py 55KB
search_api.py 47KB
property_definitions_api.py 44KB
corporate_action_sources_api.py 42KB
data_types_api.py 38KB
orders_api.py 37KB
reference_portfolio_api.py 33KB
cut_label_definitions_api.py 31KB
structured_market_data_api.py 30KB
allocations_api.py 30KB
reconciliations_api.py 29KB
configuration_recipe_api.py 29KB
structured_result_data_api.py 29KB
output_transaction.py 29KB
__init__.py 28KB
__init__.py 26KB
api_client.py 25KB
property_definition.py 24KB
system_configuration_api.py 22KB
schemas_api.py 21KB
pricing_options.py 20KB
contract_for_difference_all_of.py 19KB
contract_for_difference.py 19KB
portfolio_cash_flow.py 19KB
transaction.py 19KB
transaction_request.py 18KB
credit_support_annex.py 18KB
cds_flow_conventions.py 17KB
relations_api.py 17KB
aggregation_request.py 17KB
equity_swap_all_of.py 17KB
inline_valuation_request.py 17KB
equity_swap.py 17KB
derived_transaction_portfolios_api.py 17KB
fx_forward_all_of.py 16KB
flow_conventions.py 16KB
equity_option_all_of.py 16KB
fx_forward.py 16KB
equity_option.py 16KB
futures_contract_details.py 16KB
application_metadata_api.py 15KB
create_transaction_portfolio_request.py 15KB
valuation_request.py 15KB
realised_gain_loss.py 15KB
create_property_definition_request.py 15KB
term_deposit_all_of.py 15KB
term_deposit.py 14KB
complete_portfolio.py 14KB
create_relation_definition_request.py 14KB
portfolio.py 14KB
portfolio_search_result.py 14KB
fx_option_all_of.py 14KB
relation_definitions_api.py 14KB
fx_option.py 14KB
industry_classification_scheme.py 14KB
market_data_key_rule.py 14KB
credit_default_swap_all_of.py 14KB
configuration_recipe_snippet.py 13KB
credit_default_swap.py 13KB
bond_all_of.py 13KB
relation_definition.py 13KB
future_all_of.py 13KB
bond.py 13KB
future.py 13KB
create_derived_transaction_portfolio_request.py 13KB
leg_definition.py 13KB
aggregation_query.py 13KB
instrument.py 13KB
create_data_type_request.py 13KB
data_type.py 13KB
portfolio_holding.py 13KB
reconciliation_break.py 12KB
date_attributes.py 12KB
rest.py 12KB
order.py 12KB
instrument_cash_flow.py 12KB
configuration_recipe.py 12KB
valuation_schedule.py 12KB
create_date_request.py 11KB
update_data_type_request.py 11KB
allocation.py 11KB
portfolio_group.py 11KB
create_portfolio_group_request.py 11KB
counterparty.py 11KB
共 421 条
- 1
- 2
- 3
- 4
- 5
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- TG-2024-05-23-204718255.mp4
- 候志强@181 5428 8938_20240420112107.amr
- spispispispispi
- 实验二:IP协议分析.zip
- 驱动代码驱动代码驱动代码驱动代码
- SVID_20240523_141155_1.mp4
- Code for the complete guide to tkinter tutorial
- 关于百货中心供应链管理系统.zip
- SimpleFolderIcon-master 修改Unity的Project下的文件夹图标
- A python Tkinter widget to display tile based maps
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功