alpacahq / alpacahq/Alpaca-API

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

Ouverte
#168 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Aucune donnée de langage
Étoiles
173
Forks
17
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.