You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
*model.MakeTradingPair(model.XLM, model.USDT): *model.MakeOrderConstraints(5, 2, 100.0), // converted USDT value to XLM for minBaseVolume with a lot of slack
180
-
*model.MakeTradingPair(model.XLM, model.BTC): *model.MakeOrderConstraints(8, 0, 100.0), // converted BTC value to XLM for minBaseVolume with a lot of slack
181
-
}
182
-
183
176
returnmakeCcxtExchange(
184
177
"http://localhost:3000",
185
178
"binance",
186
-
binanceOrderConstraints,
179
+
nil,
187
180
exchangeFactoryData.apiKeys,
188
181
exchangeFactoryData.simMode,
189
182
)
@@ -197,7 +190,7 @@ var exchanges = map[string]ExchangeContainer{
197
190
returnmakeCcxtExchange(
198
191
"http://localhost:3000",
199
192
"poloniex",
200
-
map[model.TradingPair]model.OrderConstraints{}, // TODO when enabling trading
193
+
nil,
201
194
exchangeFactoryData.apiKeys,
202
195
exchangeFactoryData.simMode,
203
196
)
@@ -211,7 +204,7 @@ var exchanges = map[string]ExchangeContainer{
211
204
returnmakeCcxtExchange(
212
205
"http://localhost:3000",
213
206
"bittrex",
214
-
map[model.TradingPair]model.OrderConstraints{}, // TODO when enabling trading
// decode markets and sets it on the ccxt instance
119
+
varmarketsmap[string]CcxtMarket
120
+
e=mapstructure.Decode(marketsResponse, &markets)
121
+
ife!=nil {
122
+
returnfmt.Errorf("error converting loadMarkets output to a map of Market for exchange instance (exchange=%s, instanceName=%s): %s", c.exchangeName, c.instanceName, e)
0 commit comments