-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig-sample.toml
53 lines (43 loc) · 919 Bytes
/
config-sample.toml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[strategy]
name="BreakoutStrategy"
data_account_name = "my-finvasia-account"
trading_account_name = "my-dhan-account"
cash_to_trade = 30000
stocks = ['ABC', 'XYZ']
# enable only one startegy at a time, code is not written to run multiple startegy
# support for multiple starategy will be done later
# [strategy]
# name="HighLowStrategy"
# data_account_name = "my-zebu-account"
# trading_account_name = "my-flat-account"
# cash_to_trade = 9000
[[accounts]]
name = "my-zebu-account"
broker = "zebu"
user_id = ""
password = ""
secret = ""
api_key = ""
[[accounts]]
name = "my-flat-account"
broker = ""
user_id = ""
password = ""
secret = ""
api_key = ""
api_secret = ""
totp = ""
[[accounts]]
name = "my-dhan-account"
broker = "dhan"
client_id = ""
access_token = ""
[[accounts]]
name = "my-finvasia-account"
broker = "finvasia"
user_id = ""
password = ""
totp_token = ""
imei = ""
vendor_code = ""
api_key = ""