Client Entity

It stores the data of an individual client. It provides a single point of access to user data and API keys (third-party services) associated with customer portfolios.

How to create an Client Entity?

You need to get a new client into the system. To do this, find the item Client Entity in the side menu. On the page we can add a new client, or edit an existing one.

image.png

Our job is to add сlient into the system, so we clicked on the Add Entity button and a form appeared in front of us with the client's data filled in. Part of the form is reserved for the client's data, and the second part for his API keys.

image.png

Let's fill out the client data. Fill in the client given and select the portfolios that will belong to it.

image.png

We can also immediately fill in the data for the API key of a third-party broker. For example, our client has two portfolios. In two different banks.
Path to Secret - path to the vault (with API Key).
Provider - name of broker, source, bank, API.
Portfolio - Portfolio name (e.g. above I chose Bonds Portfolio and Crypto Portfolio for the client).

image.png

Once created, the client will be available for editing. For example, we can add a new API to it or modify an existing one.

image.png

 

 

Description

Table of Contents

Description

Financial meaning

It stores the data of an individual client. It provides a single point of access to user data and API keys (third-party services) associated with customer portfolios.

Platform abstraction

A Client in Finmars platform is a container for client information, this entity is referenced by: 

Examples

Name Short Name
Public Name First Name
Last Name User code
Notes Email Phone
J-Doe J-Doe
J-Doe Josh Doe client-00 - J.Doe@bank-c.com +8812345

Cookbook

CRUD

Operations within platform.

Use Cases

What for it's used.

F.A.Q.

API documentation

 

 

Client Secret

Table of Contents

Description

Financial meaning

It stores the data of an API key of broker, bank, API. It provides a single point of access to user data and API keys (third-party services) associated with customer portfolios.

Platform abstraction

Client Secret in the Finmars platform is information about the client's API key, which refers to:

Examples

User code
Provider
Portfolio
Path to Secret
Client ID
Notes
client-00 Bank A
Bonds Portfolio
finmars/bank-a-access 1
-

Cookbook

CRUD

Operations within platform.

Use Cases

Now u can use some thing like this in workflow script:

payload = kwargs.get("payload")
client = payload.get("client")
secrets = workflow.finmars.get_secrets(client, provider="exante") 

credentials = vault.get_secret(secret.path_to_secret)

F.A.Q.

API documentation