alpacahq / alpacahq/Alpaca-API

Enable customer to set a limit on the number of daily trades for an account

Offen
#164 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
173
Forks
17
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Although I try to be careful with my code, the possibility of an accidental loop that forever buys and sells is quite frightening, due to loss of the bid-ask spread in each transaction. A simple solution is to enable the customer to set the maximum number of daily trades for the account. Any runaway process will quickly hit this limit and the damage limited.

**Product request:** A limit on the number of daily trades allowed for an account, set by the customer

An alternate solution is a kill switch coded by the customer, ideally using a different computer, but would require continuous account monitoring at very high speed to recognize and kill a runaway loop.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.