-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.ts
More file actions
27 lines (25 loc) 路 841 Bytes
/
Copy pathconfig.example.ts
File metadata and controls
27 lines (25 loc) 路 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { IOrder } from './src/@types/Order';
const config = {
quidax_secret: process.env.QUIDAX_API_SECRET as string, // required
mailgun_scret: process.env.MAILGUN_SECRET as string, // optional, if not provided, mailgun will not be used to send notifications
mailgun_domain: process.env.MAILGUN_DOMAIN as string,
notifications: {
from: '',
to: '',
},
orders: [
{
asset: 'eth', // what to buy, accepted: btc, ltc, eth, xrp, usdt, dash
currency: 'ngn', // what to buy with, accepted: ngn, usdt, ghs
amount: '500', // buy 500 ngn worth of eth
schedule: '', // buy immediately
},
{
asset: 'btc',
currency: 'usdt',
quantity: '0.0001', // buy 0.0001 btc with usdt
schedule: '00 11 * * *', // buy at 11am every day
},
] as IOrder[],
};
export default config;