Upload KRAKEN_SETUP.txt with huggingface_hub
Browse files- KRAKEN_SETUP.txt +33 -0
KRAKEN_SETUP.txt
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
🤗 **Hugging Face Variables Setup - Kraken API**
|
| 2 |
+
|
| 3 |
+
Step 1: Go to your HF Space Settings: https://huggingface.co/spaces/your-space/settings
|
| 4 |
+
|
| 5 |
+
Step 2: Add these variables in "Variables and secrets":
|
| 6 |
+
|
| 7 |
+
Variable 1:
|
| 8 |
+
- Name: KRAKEN_API_KEY
|
| 9 |
+
- Value: LiDaYtBBuulJsstTruv0uDDUk41q79uptIHzAk5jx1D8uWuYIwQDyR4s
|
| 10 |
+
- Type: Secret
|
| 11 |
+
|
| 12 |
+
Variable 2:
|
| 13 |
+
- Name: KRAKEN_API_SECRET
|
| 14 |
+
- Value: lYfYD2agfqla9qdt2k6SLen+1NyrPpg/jTha9Mgy9+6J51L9ykItqPzGM1cun7R9HvL/lYySKXNGAQwcsqalsw==
|
| 15 |
+
- Type: Secret
|
| 16 |
+
|
| 17 |
+
Variable 3:
|
| 18 |
+
- Name: KRAKEN_WALLET_ADDRESS
|
| 19 |
+
- Value: 0x37a8023762c69f7150d878733fd9f635f1070fc6
|
| 20 |
+
- Type: Variable
|
| 21 |
+
|
| 22 |
+
Step 3: Save and restart your Space
|
| 23 |
+
|
| 24 |
+
Step 4: Test with:
|
| 25 |
+
```python
|
| 26 |
+
import os
|
| 27 |
+
api_key = os.getenv('KRAKEN_API_KEY')
|
| 28 |
+
secret = os.getenv('KRAKEN_API_SECRET')
|
| 29 |
+
print(f'Key: {api_key[:10]}...' if api_key else 'Not found')
|
| 30 |
+
print(f'Secret: {secret[:10]}...' if secret else 'Not found')
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
🔧 Ready for automated Kraken trading!
|