コード例 #1
0
class AccountCreateForm(BaseCreateForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: str
    opened: Optional[Date]
    rccy: Currency
    portfolio: PortfolioId
    custodian: InstitutionId
    atype: Optional[AnalyticalTypeId]
    riskprofile: Optional[RiskProfileId]
    horizontype: Optional[str]
    mandatetype: Optional[str]
    data_source: Optional[str]
コード例 #2
0
class PortfolioCreateForm(BaseCreateForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: str
    team: TeamId
    rccy: Currency
    sandbox: bool
    isin: Optional[str]
    domicile: Optional[CountryId]
    manager: Optional[str]
    objective: Optional[str]
    benchmark: Optional[OHLCId]
    riskprofile: Optional[RiskProfileId]
    data_source: Optional[str]
コード例 #3
0
class AccountPatchForm(BasePatchForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: Union[str, Missing] = Missing.field()
    opened: Union[Optional[Date], Missing] = Missing.field()
    rccy: Union[Currency, Missing] = Missing.field()
    portfolio: Union[PortfolioId, Missing] = Missing.field()
    custodian: Union[InstitutionId, Missing] = Missing.field()
    atype: Union[Optional[AnalyticalTypeId], Missing] = Missing.field()
    riskprofile: Union[Optional[RiskProfileId], Missing] = Missing.field()
    horizontype: Union[Optional[str], Missing] = Missing.field()
    mandatetype: Union[Optional[str], Missing] = Missing.field()
    data_source: Union[Optional[str], Missing] = Missing.field()
コード例 #4
0
class TeamPatchForm(BasePatchForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: Union[str, Missing] = Missing.field()
    members: Union[str, List[UserId]] = Missing.field()
コード例 #5
0
class TeamCreateForm(BaseCreateForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: str
    members: List[UserId]
コード例 #6
0
class InstitutionPatchForm(BasePatchForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: Union[str, Missing] = Missing.field()
コード例 #7
0
class InstitutionCreateForm(BaseCreateForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: str
コード例 #8
0
class PortfolioPatchForm(BasePatchForm):
    guid: Union[GUID, Missing] = Missing.field()
    name: Union[str, Missing] = Missing.field()
    team: Union[TeamId, Missing] = Missing.field()
    rccy: Union[Currency, Missing] = Missing.field()
    sandbox: Union[bool, Missing] = Missing.field()
    isin: Union[Optional[str], Missing] = Missing.field()
    domicile: Union[Optional[CountryId], Missing] = Missing.field()
    manager: Union[Optional[str], Missing] = Missing.field()
    objective: Union[Optional[str], Missing] = Missing.field()
    benchmark: Union[Optional[OHLCId], Missing] = Missing.field()
    riskprofile: Union[Optional[RiskProfileId], Missing] = Missing.field()
    data_source: Union[Optional[str], Missing] = Missing.field()