Versions in this module Expand all Collapse all v0 v0.2.0 Dec 4, 2024 Changes in this version + type AllocationsService interface + CreatePortfolioAllocations func(ctx context.Context, request *CreatePortfolioAllocationsRequest) (*CreatePortfolioAllocationsResponse, error) + CreatePortfolioNetAllocations func(ctx context.Context, request *CreatePortfolioNetAllocationsRequest) (*CreatePortfolioNetAllocationsResponse, error) + GetPortfolioAllocation func(ctx context.Context, request *GetPortfolioAllocationRequest) (*GetPortfolioAllocationResponse, error) + GetPortfolioNetAllocation func(ctx context.Context, request *GetPortfolioNetAllocationRequest) (*GetPortfolioNetAllocationResponse, error) + ListPortfolioAllocations func(ctx context.Context, request *ListPortfolioAllocationsRequest) (*ListPortfolioAllocationsResponse, error) + func NewAllocationsService(c client.RestClient) AllocationsService + type CreatePortfolioAllocationsRequest struct + AllocationId string + AllocationLegs []*model.AllocationLeg + OrderIds []string + ProductId string + RemainderDestinationPortfolioId string + SizeType string + SourcePortfolioId string + type CreatePortfolioAllocationsResponse struct + AllocationId string + FailureReason string + Request *CreatePortfolioAllocationsRequest + Success bool + type CreatePortfolioNetAllocationsRequest struct + AllocationLegs []*model.AllocationLeg + NettingId string + OrderIds []string + ProductId string + RemainderDestinationPortfolioId string + SizeType string + SourcePortfolioId string + type CreatePortfolioNetAllocationsResponse struct + BuyAllocationId string + FailureReason string + NettingId string + Request *CreatePortfolioNetAllocationsRequest + SellAllocationId string + Success bool + type GetPortfolioAllocationRequest struct + AllocationId string + PortfolioId string + type GetPortfolioAllocationResponse struct + Allocation *model.Allocation + Request *GetPortfolioAllocationRequest + type GetPortfolioNetAllocationRequest struct + NettingId string + PortfolioId string + type GetPortfolioNetAllocationResponse struct + Allocations []*model.Allocation + Request *GetPortfolioNetAllocationRequest + type ListPortfolioAllocationsRequest struct + End time.Time + Pagination *model.PaginationParams + PortfolioId string + ProductIds []string + Side string + Start time.Time + type ListPortfolioAllocationsResponse struct + Pagination *model.Pagination + Request *ListPortfolioAllocationsRequest