This is designed to mimic the python version, using the alpaca-java library.
The Main Class is:
io.github.mainstringargs.alpaca.hftish.Driver
Arguments are as follows:
- -s / --symbol: the stock to trade (defaults to "SNAP")
- -q / --quantity: the maximum number of shares to hold at once. Note that this does not account for any existing position; the algorithm only tracks what is bought as part of its execution. (Default 500, minimum 100.)