Skip to content

mainstringargs/example-hftish-alpaca-java

Repository files navigation

Example HFT-ish Algorithm for Alpaca Trading API for Java

Build Status

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.)

About

An alpaca-java implementation of the example-hftish algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published