Hook-Nest/src/constants/brokers.js
2025-10-04 15:42:58 +05:30

85 lines
1.9 KiB
JavaScript

export const BROKER_OPTIONS = ['Masak', 'AngelOne', 'Zerodha', 'Dhan'];
export const STATUS_OPTIONS = ['active', 'inactive', 'expired'];
export const STATUS_TYPES = {
ACTIVE: 'active',
INACTIVE: 'inactive',
EXPIRED: 'expired',
};
export const STATUS_COLORS = {
[STATUS_TYPES.ACTIVE]: 'bg-green-500',
[STATUS_TYPES.EXPIRED]: 'bg-red-500',
[STATUS_TYPES.INACTIVE]: 'bg-yellow-500',
};
export const INITIAL_BROKERS = [
{
id: 'BR301',
name: 'Techbonds Markets',
broker: 'Masak',
dateAdded: 'Feb 16, 2025',
status: 'active',
balance: '$978.50',
apiKey: 'api_key_123456789abcdef',
secretKey: 'sk_412345LH...',
dateCreated: '04/12/2025',
},
{
id: 'BR295',
name: 'Techbonds Markets',
broker: 'AngelOne',
dateAdded: 'Mar 02, 2025',
status: 'expired',
balance: '$978.50',
apiKey: 'api_key_987654321fedcba',
secretKey: 'sk_987654LH...',
dateCreated: '03/02/2025',
},
{
id: 'BR298',
name: 'MarketEases',
broker: 'Masak',
dateAdded: 'Feb 14, 2025',
status: 'active',
balance: '$102.25',
apiKey: 'api_key_111222333444555',
secretKey: 'sk_111222LH...',
dateCreated: '02/14/2025',
},
{
id: 'BR293',
name: 'Techbonds Markets',
broker: 'Zerodha',
dateAdded: 'Mar 03, 2025',
status: 'inactive',
balance: '$978.50',
apiKey: 'api_key_555444333222111',
secretKey: 'sk_555444LH...',
dateCreated: '03/03/2025',
},
{
id: 'BR297',
name: 'Techbonds Markets',
broker: 'Dhan',
dateAdded: 'Feb 14, 2025',
status: 'active',
balance: '$102.25',
apiKey: 'api_key_666777888999000',
secretKey: 'sk_666777LH...',
dateCreated: '02/14/2025',
},
{
id: 'BR292',
name: 'Techbonds Markets',
broker: 'AngelOne',
dateAdded: 'Mar 02, 2025',
status: 'inactive',
balance: '$978.50',
apiKey: 'api_key_000999888777666',
secretKey: 'sk_000999LH...',
dateCreated: '03/02/2025',
},
];