# haasomeapi.apis.AccountDataApi模塊
## 功能
```
class haasomeapi.apis.AccountDataApi.AccountDataApi(connectionstring: str, privatekey: str)
Bases: haasomeapi.apis.ApiBase.ApiBase
```
帳戶數據API類,提供對帳戶數據api端點的訪問
**參數** | **類型** | 說明
------------ | ------------- | ------------
connectionstring | str | Connection String Formatted Ex. [http://127.0.0.1:9000](http://127.0.0.1:9000/)
privatekey| str | Private Key Set In The Haas Settings
```
get_account_details(accountguid: str)
```
從提供的guid中重新獲取帳戶詳細信息
| 參數 | 類型 |說明 |
|---|---|---|
| accountguid | str | The account guid
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**[AccountInformation](http://www.hmoore.net/zbb1025/vvvv/781234) **](http://www.hmoore.net/zbb1025/vvvv/781234) |
```
get_all_account_details()
```
從提供的guid檢索帳戶詳細信息
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result Dict[[AccountInformation](http://www.hmoore.net/zbb1025/vvvv/781234) ] |
```
get_all_open_orders()
```
獲取所有帳戶的所有未結訂單
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result dict|
```
get_all_wallets()
```
獲取所有錢包
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result dict|
```
get_enabled_accounts()
```
重新啟動已啟用帳戶的字典
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result dict|
```
get_open_orders(accountguid: str)
```
獲取特定帳戶的所有未結訂單
| 參數 | 類型 |說明 |
|---|---|---|
| accountguid | str | The account guid
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**OrderContainer**](http://www.hmoore.net/zbb1025/vvvv/781234)|
```
get_order_templates()
```
獲取當前訂單模板
- - - - - -
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result dict|
```
get_software_details()
```
重新獲取當前的軟件信息
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [SoftwareInformation](http://www.hmoore.net/zbb1025/vvvv/781234)|
```
get_template_status(templateguid: str)
```
獲取模板的狀態
| 參數 | 類型 |說明 |
|---|---|---|
| templateguid | str | Template Guid
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**EnumOrderStatus**](http://www.hmoore.net/zbb1025/cccc/780202)|
```
get_wallet(accountguid: str)
```
獲取特定帳戶的錢包
| 參數 | 類型 |說明 |
|---|---|---|
| templateguid | str |The account guid
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**Wallet**](http://www.hmoore.net/zbb1025/vvvv/781234)|
```
simulated_account_add_or_adjust_coin_amount(accountguid: str, coin: str, amount: float)
```
添加或編輯模擬賬戶代幣金額
| 參數 | 類型 |說明 |
|---|---|---|
| accountguid | str |The account guid
|coin|str|Coin to change|
|amount|float|Amount of coins to use|
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**Wallet**](http://www.hmoore.net/zbb1025/vvvv/781234)|
```
simulated_account_clear_wallet(accountguid: str)
```
如果帳戶是模擬帳戶,則清除模擬帳戶錢包。
| 參數 | 類型 |說明 |
|---|---|---|
| accountguid | str |The account guid
| 返回 |
|---|
| [HaasomeClientResponse](http://www.hmoore.net/zbb1025/gggg/780189)|
| In .result [**Wallet**](http://www.hmoore.net/zbb1025/vvvv/781234)|