alpacahq / alpacahq/Alpaca-API

Replace side "Buy, Sell" with "BTO, STC, STO, BTC"

オープン
#85 コメント 3 件 リアクション 7 件 担当者 0 名 GitHub で見る
feature request
主要言語
言語のデータがありません
スター
173
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

My algorithm _sometimes_ tries to sell a position twice, which results in in liquidation of my current position and then the filling of a short order. In a perfect world, our code is so tried and tested that this could never happen by mistake. But, as we know, we do not live in a perfect world and bugs occur, regressions occur, hiccups occur.

The accidental shorting of an equity due to two sell orders clearing is dangerous, unacceptable and yet, completely avoidable by a responsible API.

**Recommendation:**

**Please replace current "Buy, Sell" options with the following:**

**BTO** = Buy To Open
**STC** = Sell To Close
**STO** = Sell To Open
**BTC** = Buy To Close

This will ensure orders accepted by the API are accepted **as intended** by the developer and it will help protect your clients equity.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。