Comments (4)
週六公司資料庫有進行異動,造成功能異常,請見諒。
另外針對期貨資訊的處理,現在已列入開發中,會完善整個交易相關資訊,才會將get_account_openposition 拿掉
from shioaji.
請問現在有任何方式能得到期貨持倉部位嗎?
我的期貨帳戶應該有一口未平倉,
但是 api.list_positions(self.api.futopt_account) 回傳 empty list []
而 api.get_account_openposition(query_type='1', account=self.api.futopt_account) 也只回傳 person_id, broker_id, account_id, username 等等
@ypochien Can somebody help me for this?
from shioaji.
請問現在有任何方式能得到期貨持倉部位嗎?
我的期貨帳戶應該有一口未平倉,
但是 api.list_positions(self.api.futopt_account) 回傳 empty list []
而 api.get_account_openposition(query_type='1', account=self.api.futopt_account) 也只回傳 person_id, broker_id, account_id, username 等等
@ypochien Can somebody help me for this?
Same issue+1
from shioaji.
請問現在有任何方式能得到期貨持倉部位嗎?
我的期貨帳戶應該有一口未平倉,
但是 api.list_positions(self.api.futopt_account) 回傳 empty list []
而 api.get_account_openposition(query_type='1', account=self.api.futopt_account) 也只回傳 person_id, broker_id, account_id, username 等等
@ypochien Can somebody help me for this?Same issue+1
我後來在Gitter問,有得到解答了:
positions = self.api.get_account_openposition(query_type='0', account=self.api.futopt_account)
positions = positions.data() # get the list
from shioaji.
Related Issues (20)
- 排行可以加入股票以外的商品嗎? 例如股票期貨 HOT 1
- 近日的買盤當前總量與賣盤當前總量是否錯置,數據與之前不同
- PydanticImportError: `pydantic.utils:ValueItems` has been removed in V2. HOT 2
- 目前這個API 能夠下單海外期貨嗎?
- 想詢問怎麼重置模擬帳號的資料呢?
- Always get TimeoutError while invoking place_order in Google Cloud Functions HOT 9
- 登入api時發生錯誤,請協助 HOT 3
- Vix 報價去哪找 HOT 1
- Docker上登入失敗 HOT 1
- 憑證尚未生效無法使用 HOT 1
- shioaji 安裝問題 HOT 7
- 使用api時資料更新問題 HOT 1
- 請問期貨結算後需要重新下載商品檔嗎 HOT 1
- StatusCode: 401, Detail: Token doesn't have permission
- 請問有歷史的零股資料和商品檔嗎?
- Shioaji docker 最新版本跑起來出現錯誤 ImportError: cannot import name ‘Self‘ from ‘typing_extensions‘
- 無法安裝到 arm 的設備, raspberry pi OS Lite 上
- [Jupyter docker] ImportError: cannot import name 'Self' from 'typing_extensions'
- 在windows上執行pip install shioaji出現以下錯誤 HOT 1
- 請問股票訂閱一次最多可以訂多少檔? 可以取消訂閱嗎?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shioaji.