-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
“VincentCai”
committed
May 20, 2024
1 parent
5d6107f
commit 7d7abda
Showing
49 changed files
with
1,346 additions
and
29 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
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
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 @@ | ||
|
||
|
||
#ifndef HUOBI_ACCOUNTTRANSFERV2REQUESE_H | ||
#define HUOBI_ACCOUNTTRANSFERV2REQUESE_H | ||
#include <string> | ||
|
||
struct AccountTransferV2Request { | ||
std::string from; | ||
std::string to; | ||
std::string currency; | ||
double amount; | ||
std::string marginAccount; | ||
}; | ||
|
||
#endif //HUOBI_ACCOUNTTRANSFERV2REQUESE_H |
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,12 @@ | ||
|
||
|
||
#ifndef HUOBI_ACCOUNTVALUATIONREQUEST_H | ||
#define HUOBI_ACCOUNTVALUATIONREQUEST_H | ||
|
||
#include <string> | ||
struct AccountValuationRequest{ | ||
std::string accountType; | ||
std::string valuationCurrency; | ||
|
||
}; | ||
#endif //HUOBI_ACCOUNTVALUATIONREQUEST_H |
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,10 @@ | ||
|
||
|
||
#ifndef HUOBI_SUBUSERDEDUCTMODEREQUEST_H | ||
#define HUOBI_SUBUSERDEDUCTMODEREQUEST_H | ||
#include <string> | ||
struct SubUserDeductModeRequest{ | ||
long subUids; | ||
std::string deductMode; | ||
}; | ||
#endif //HUOBI_SUBUSERDEDUCTMODEREQUEST_H |
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,20 @@ | ||
|
||
#ifndef HUOBI_AUTOPLACEREQUEST_H | ||
#define HUOBI_AUTOPLACEREQUEST_H | ||
#include <string> | ||
|
||
struct AutoPlaceRequest { | ||
std::string symbol; | ||
std::string accountId; | ||
std::string amount; | ||
std::string marketAmount; | ||
std::string borrowAmount; | ||
std::string type; | ||
std::string tradePurpose; | ||
std::string price; | ||
std::string stopPrice; | ||
std::string opreator_; | ||
std::string source; | ||
}; | ||
|
||
#endif //HUOBI_AUTOPLACEREQUEST_H |
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
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,25 @@ | ||
|
||
|
||
#ifndef HUOBI_ACCOUNTVALUATION_H | ||
#define HUOBI_ACCOUNTVALUATION_H | ||
|
||
#include <string> | ||
#include <vector> | ||
struct AccountValuation{ | ||
std::string totalBalance; | ||
std::string todayProfit; | ||
std::string todayProfitRate; | ||
struct ProfitAccountBalance { | ||
std::string distributionType; | ||
float balance; | ||
bool success; | ||
std::string accountBalance; | ||
}; | ||
std::vector<ProfitAccountBalance> profitAccountBalanceList; | ||
struct Updated{ | ||
bool success; | ||
long time; | ||
}; | ||
Updated updated; | ||
}; | ||
#endif //HUOBI_ACCOUNTVALUATION_H |
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
Oops, something went wrong.