How do I run the fx_forward_operation commands from the shell?
Table of Contents
This file documents declared operations at the shell, one section per command. Every command is a subcommand of fx_forward_operation, and every section exports its own script into projects/ores.shell/scripts/library/. Loading a script runs that one command, so a failure names the command it came from.
1. Commands
1.1. publish-fx-forward
Sends publish_fx_forward_request and prints publish_fx_forward_response, so the shape is the protocol's and the meaning is the service's. It reads pair_code, as_of, in that order. The caller must have established a session first.
The command is shaped like this:
fx_forward_operation publish-fx-forward <pair_code> <as_of> [--approval_request_id <v>] [--reason <v>]
It is addressed at marketdata.v1.ops.publish_fx_forward.
fx_forward_operation publish-fx-forward __none__ 1970-01-01T00:00:00Z
1.2. get-published-fx-forward
Sends get_published_fx_forward_request and prints get_published_fx_forward_response, so the shape is the protocol's and the meaning is the service's. It reads pair_code, as_of, in that order. The caller must have established a session first.
The command is shaped like this:
fx_forward_operation get-published-fx-forward <pair_code> <as_of>
It is addressed at marketdata.v1.ops.get_published_fx_forward.
fx_forward_operation get-published-fx-forward __none__ 1970-01-01T00:00:00Z