Skip to content

Commit

Permalink
fix param
Browse files Browse the repository at this point in the history
  • Loading branch information
“VincentCai” committed Jul 8, 2024
1 parent e9cb234 commit f4d26f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace huobi_futures
std::optional<std::string> margin_position;
std::optional<std::string> margin_frozen;
std::optional<std::string> margin_available;
std::optional<std::string> profit_real;
std::optional<std::string> profit_unreal;
std::optional<std::string> risk_rate;
std::optional<std::string> new_risk_rate;
Expand All @@ -35,7 +34,7 @@ namespace huobi_futures
std::optional<std::string> adjust_factor;
std::optional<std::string> margin_static;
JS_OBJ(symbol, margin_balance, margin_position, margin_frozen, margin_available,
profit_real, profit_unreal, risk_rate, new_risk_rate, trade_partition,
profit_unreal, risk_rate, new_risk_rate, trade_partition,
liquidation_price, withdraw_available, lever_rate, adjust_factor, margin_static);
};
std::optional<std::vector<Data>> data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ namespace huobi_futures
std::optional<JS::Nullable<float>> margin_position;
std::optional<JS::Nullable<float>> margin_frozen;
std::optional<JS::Nullable<float>> margin_available;
std::optional<JS::Nullable<float>> profit_real;
std::optional<JS::Nullable<float>> profit_unreal;
std::optional<JS::Nullable<float>> risk_rate;
std::optional<JS::Nullable<float>> withdraw_available;
Expand All @@ -56,7 +55,7 @@ namespace huobi_futures
std::optional<std::string> trade_partition;
std::optional<std::vector<Position>> positions;

JS_OBJ(symbol, margin_balance, margin_position, margin_frozen, margin_available, profit_real, profit_unreal, risk_rate, withdraw_available, liquidation_price, lever_rate, adjust_factor, margin_static, new_risk_rate, trade_partition, positions);
JS_OBJ(symbol, margin_balance, margin_position, margin_frozen, margin_available, profit_unreal, risk_rate, withdraw_available, liquidation_price, lever_rate, adjust_factor, margin_static, new_risk_rate, trade_partition, positions);
};
std::optional<std::string> status;
std::optional<JS::Nullable<int64_t>> ts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace huobi_futures
std::optional<JS::Nullable<int64_t>> margin_position;
std::optional<JS::Nullable<int64_t>> margin_frozen;
std::optional<JS::Nullable<int64_t>> margin_available;
std::optional<JS::Nullable<int64_t>> profit_real;
std::optional<JS::Nullable<int64_t>> profit_unreal;
std::optional<JS::Nullable<float>> risk_rate;
std::optional<JS::Nullable<float>> liquidation_price;
Expand All @@ -33,7 +32,7 @@ namespace huobi_futures
std::optional<JS::Nullable<float>> margin_static;
std::optional<JS::Nullable<float>> new_risk_rate;
std::optional<std::string> trade_partition;
JS_OBJ(symbol, margin_balance, margin_position, margin_frozen, margin_available, profit_real, profit_unreal, risk_rate, liquidation_price, withdraw_available, lever_rate, adjust_factor, margin_static, new_risk_rate, trade_partition);
JS_OBJ(symbol, margin_balance, margin_position, margin_frozen, margin_available, profit_unreal, risk_rate, liquidation_price, withdraw_available, lever_rate, adjust_factor, margin_static, new_risk_rate, trade_partition);
};
std::string status;
JS::Nullable<int64_t> ts;
Expand Down

0 comments on commit f4d26f0

Please sign in to comment.