forked from HuobiRDCenter/huobi_Golang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new API setSubUserTradbleMarket and setSubUserTransferability
- Loading branch information
Showing
9 changed files
with
228 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package config | ||
|
||
var Host = "api.huobi.pro" | ||
var AccessKey = "05008dec-6056d77a-frbghq7rnm-4dc0d" | ||
var AccessKey = "xxxx" | ||
var AccountId = "xxxx" | ||
var SubUid int64 = 1234567890 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package subuser | ||
|
||
type SetSubUserTradableMarketResponse struct { | ||
Code int `json:"code"` | ||
Message string `json:"message"` | ||
Data []TradableMarket `json:"data"` | ||
} | ||
|
||
type TradableMarket struct { | ||
SubUid string `json:"subUid"` | ||
AccountType string `json:"accountType"` | ||
Activation string `json:"activation"` | ||
ErrCode int `json:"errCode"` | ||
ErrMessage string `json:"errMessage"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package subuser | ||
|
||
type SetSubUserTradableMarketRequest struct { | ||
SubUids int64 `json:"subUids"` | ||
AccountType string `json:"accountType"` | ||
Activation string `json:"activation"` | ||
} |
Oops, something went wrong.