Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,8 +13,8 @@ app = Flask(__name__)
|
|
| 13 |
|
| 14 |
# Configuration (use environment variables for security)
|
| 15 |
API_BASE_URL = "https://open-api.bingx.com"
|
| 16 |
-
API_KEY = os.getenv('BINGX_API_KEY', "") # Replace with environment variable or secure storage
|
| 17 |
-
API_SECRET = os.getenv('BINGX_API_SECRET', "") # Replace with environment variable or secure storage
|
| 18 |
|
| 19 |
# Generate Signature
|
| 20 |
def generate_signature(api_secret, params_str):
|
|
|
|
| 13 |
|
| 14 |
# Configuration (use environment variables for security)
|
| 15 |
API_BASE_URL = "https://open-api.bingx.com"
|
| 16 |
+
API_KEY = os.getenv('BINGX_API_KEY', "EXW9448ytbIhsoaEIqomKqVziRmWCAZ88OhLKmyMoPb7jFTtDnWjO1DFATt3sizsKi2hgn7SxQ06ALTDmU9w") # Replace with environment variable or secure storage
|
| 17 |
+
API_SECRET = os.getenv('BINGX_API_SECRET', "PCEzaYObtvi1DB3fmQy3XfFGl9ybRlFI6eVjpjSWykE1mJQ5mEDYlPsuJJ9mXfr2wjaxprMKzBCeitcY7xGdKQ") # Replace with environment variable or secure storage
|
| 18 |
|
| 19 |
# Generate Signature
|
| 20 |
def generate_signature(api_secret, params_str):
|