/shorts.v1alpha1.OwnershipService/CompareFundSnapshotsCompareFundSnapshots
Two files of one fund compared holding by holding: the weight change in percentage points, and the holdings new or dropped between them.
Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
YYYY-MM-DD. Each side is the fund's newest file at or before the date. An empty to is the newest file; an empty from is the file before to. A from after an explicit to is InvalidArgument. When both sides resolve to the same file there is nothing to compare: the response names that file on both sides and carries no rows. (proto string)
(proto string)
(proto string)
Responses
The file dates used. (proto string)
Continuing holdings by |delta| (largest first), then new, then dropped, each by weight. (proto shorts.v1alpha1.FundSnapshotChange)
One holding across two files of one fund. continuing is held on both, new only on the later file, dropped only on the earlier one.
(proto string)
(proto string)
(proto string)
(proto string)
Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A list of messages that carry the error details. There is no limit on the number of messages.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.OwnershipService/CompareFundSnapshots" \
-H "Content-Type: application/json" \
-d '{
"from": "string",
"fundKey": "string",
"to": "string"
}'curl -X POST "https://api.shorted.com.au/shorts.v1alpha1.OwnershipService/CompareFundSnapshots" \
-H "Content-Type: application/json" \
-d '{
"from": "string",
"fundKey": "string",
"to": "string"
}'