@gbozee/ultimate 0.0.2-36 → 0.0.2-37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34709,6 +34709,9 @@ class BinanceExchange {
|
|
|
34709
34709
|
}
|
|
34710
34710
|
async setLeverage(payload) {
|
|
34711
34711
|
let maxLeverage = payload.leverage;
|
|
34712
|
+
if (["BTCUSDT", "BTCUSDC"].includes(payload.symbol)) {
|
|
34713
|
+
maxLeverage = 100;
|
|
34714
|
+
}
|
|
34712
34715
|
if (!maxLeverage) {
|
|
34713
34716
|
const response = await this.client.getNotionalAndLeverageBrackets({
|
|
34714
34717
|
symbol: payload.symbol
|