123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- {
- "accounts": [
- {
- "id": "pacifica-main",
- "name": "Pacifica Main Trading Account",
- "platform": "PACIFICA",
- "enabled": true,
- "credentials": {
- "type": "ed25519",
- "privateKey": "f26670e2ca334117f8859f9f32e50251641953a30b54f6ffcf82db836cfdfea5"
- }
- },
- {
- "id": "pacifica-backup",
- "name": "Pacifica Backup Account",
- "platform": "PACIFICA",
- "enabled": true,
- "credentials": {
- "type": "ed25519",
- "privateKey": "a26670e2ca334117f8859f9f32e50251641953a30b54f6ffcf82db836cfdfea5"
- }
- },
- {
- "id": "aster-main",
- "name": "Aster Main Account",
- "platform": "ASTER",
- "enabled": true,
- "credentials": {
- "type": "secp256k1",
- "privateKey": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
- }
- },
- {
- "id": "binance-spot",
- "name": "Binance Spot Trading",
- "platform": "BINANCE",
- "enabled": true,
- "credentials": {
- "type": "hmac",
- "apiKey": "your-binance-api-key-here",
- "secretKey": "your-binance-secret-key-here"
- }
- }
- ],
- "hedging": {
- "platforms": {
- "PACIFICA": {
- "enabled": true,
- "primaryAccounts": ["pacifica-main"],
- "backupAccounts": ["pacifica-backup"],
- "loadBalanceStrategy": "round-robin",
- "healthCheckInterval": 30000,
- "failoverThreshold": 3
- },
- "ASTER": {
- "enabled": true,
- "primaryAccounts": ["aster-main"],
- "backupAccounts": [],
- "loadBalanceStrategy": "weighted",
- "healthCheckInterval": 30000,
- "failoverThreshold": 2
- },
- "BINANCE": {
- "enabled": true,
- "primaryAccounts": ["binance-spot"],
- "backupAccounts": [],
- "loadBalanceStrategy": "least-used",
- "healthCheckInterval": 15000,
- "failoverThreshold": 2
- }
- },
- "hedging": {
- "enableCrossplatformBalancing": true,
- "maxAccountsPerPlatform": 10,
- "reservationTimeoutMs": 60000
- }
- }
- }
|