alpacahq / alpacahq/Alpaca-API

Get an incorrect "Your account is set to liquidation only" error every morning prior to the market opening

Aperta
#168 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
173
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
Whenever I submit an order (since Friday, 2/5) prior to the market opening I get an error saying "your account is set to liquidation only", even though I have a "fully" funded account (ie. beyond the ptd) and have no outstanding positions. After I mention it in the Slack channel, it usually gets fixed and I'm once again able to submit an order.

**To Reproduce**
Steps to reproduce the behavior:
1. Submit a buy or sell order via the API or Trading View
2. The error is in the response
3. Try again at some random interval of time

**Expected behavior**
I would be able to submit an order prior to the market opening. It would also be great if you notified the user of their account status in some way prior to them submitting an order, via an email or a notice on the alpaca dashboard alerting them to their account status change and giving reasons why that would happen.

**Screenshots**
Screen Shot 2021-02-09 at 6 16 20 AM

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.