Skip to content

Commit

Permalink
Fix hedge mode typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Erfaniaa committed Apr 27, 2023
1 parent 0c8851e commit e9be2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
LAST_ACCOUNT_BALANCES_LIST_MAX_LENGTH = 12
IMPORTANT_CANDLES_COUNT = 100
SEND_TELEGRAM_MESSAGE = False
HEDGE_MOODE = True # True to allow long and short positions simultaneously
HEDGE_MODE = True # True to allow long and short positions simultaneously
IS_TESTNET = True # True to enable mode teste for Binance
URL_BASE_PRODUCTION = "https://fapi.binance.com"
URL_BASE_TESTNET = "https://testnet.binancefuture.com"
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def main() -> None:
init_bot()
update_account_balance_and_unrealized_profit(FIRST_COIN_SYMBOL)
set_leverage(CONTRACT_SYMBOL, LEVERAGE)
set_position_mode(HEDGE_MOODE)
set_position_mode(HEDGE_MODE)
while True:
sleep(SLEEP_INTERVAL)
update_current_time()
Expand Down

0 comments on commit e9be2bc

Please sign in to comment.