fix: HL testnet - add API wallet address to signed orders, 3-param constructor
This commit is contained in:
@@ -191,7 +191,7 @@ func NewTrader(cfg *Config, database *db.DB) *Trader {
|
||||
if cfg.BitgetAPIKey != "" {
|
||||
bt = exchange.NewBitgetTrade(cfg.BitgetAPIKey, cfg.BitgetAPISecret, cfg.BitgetPassphrase)
|
||||
}
|
||||
hl, _ := exchange.NewHyperLiquidTrade(cfg.HLPrivateKey, cfg.HLAddress)
|
||||
hl, _ := exchange.NewHyperLiquidTrade(cfg.HLPrivateKey, cfg.HLAddress, cfg.HLAPIAddress)
|
||||
|
||||
t := &Trader{
|
||||
cfg: cfg,
|
||||
|
||||
Reference in New Issue
Block a user