-
Notifications
You must be signed in to change notification settings - Fork 2
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 21, 2024
1 parent
2eb0eaf
commit f357d4d
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
src/main/java/com/huobi/wss/event/SwapContractElementSubResponse.java
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,49 @@ | ||
package com.huobi.wss.event; | ||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
import java.math.BigDecimal; | ||
import java.util.List; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class SwapContractElementSubResponse { | ||
public String op; | ||
public String topic; | ||
public long ts; | ||
public Data data; | ||
|
||
public static class Data { | ||
public String contract_code; | ||
public String instrument_index_code; | ||
public Integer real_time_settlement; | ||
public BigDecimal transfer_profit_ratio; | ||
public Integer min_level; | ||
public Integer max_level; | ||
public List<ContractInfo> contract_infos; | ||
public Integer open_order_limit; | ||
public Integer offset_order_limit; | ||
public Integer long_position_limit; | ||
public Integer short_position_limit; | ||
public String price_tick; | ||
public String instrument_value; | ||
public Integer settle_period; | ||
public Integer funding_rate_cap; | ||
public Integer funding_rate_floor; | ||
public Integer hig_normal_limit; | ||
public Integer min_normal_limit; | ||
public Integer hig_open_limit; | ||
public Integer min_open_limit; | ||
public Integer hig_trade_limit; | ||
public Integer min_trade_limit; | ||
} | ||
|
||
public static class ContractInfo { | ||
public String contract_code; | ||
public String delivery_time; | ||
public String create_date; | ||
public Integer contract_status; | ||
public String settlement_date; | ||
} | ||
} |