forked from RajeshSivadasan/alice-blue-option-selling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathab_options_sell.ini
87 lines (83 loc) · 2.84 KB
/
ab_options_sell.ini
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tokens]
read_settings_from_url = 0
settings_url = https://raw.githubusercontent.com/RajeshSivadasan/mysettings/main/ab_options_sell.ini
autologin_date = 2022-12-28
bot_token = bot1821162929:AAE0SwfLqm5Qe18gxHc72WI8EXXXXXXXX
chat_id = XXXXXXXX
enable_bg_process = 1
log_to_file = 0
BASE_URL = https://ant.aliceblueonline.com/rest/AliceBlueAPIService
[realtime]
trade_nifty = 1
trade_banknifty = 0
nifty_sl = 30.0
bank_sl = 40.0
mtm_sl = -50000
mtm_target = 50000
sl_buffer = 5
nifty_limit_price_offset = -10
bank_limit_price_offset = -10
nifty_strike_ce_offset = 200
nifty_strike_pe_offset = 200
bank_strike_ce_offset = 100
bank_strike_pe_offset = -100
strategy1_hhmm = 920
strategy2_hhmm = 1320
[info]
interval_seconds = 30
nifty_lot_size = 50
bank_lot_size = 25
premarket_advance = 17
premarket_decline = 33
enable_nfo = 1
enable_bank = 0
premarket_flag = 0
holiday_dates = 2023-01-26,2023-03-30,2024-08-15
init_sleep_seconds = 1
pending_ord_limit_mins = 30
enable_nfo_data = 1
enable_bank_data = 1
nifty_trade_start_time = 920
nifty_trade_end_time = 1440
nifty_no_trade_zones = [(900,925),(1100,1330)]
sl_wait_time = 100
nifty_limit_price_low = 50
nifty_limit_price_high = 400
bank_limit_price_low = 50
bank_limit_price_high = 470
nifty_opt_per_lot_qty = 50
comment2 = Below param values for next week expiry e.g 1-Mon,2-Tue,3-Wed,4-Thu,5-Fri. Default is current week expiry
next_week_expiry_days = 1,2,3,4
comment4.1 = below is the nth(from the current ltp) support or resistance levels which needs to be traded for each day of the week
comment4.2 = format {dayofweek:[pivotlevelfromLTP1,pivotlevelfromLTP2]}
ord_sizing_lvls_reg = {1:[2,3,4],2:[2,3,4],3:[2,3,4],4:[1,2,3,4],5:[3,4],6:[3,4],7:[3,4]}
ord_sizing_lvls_mr = {1:[3,4],2:[3,4],3:[3,4],4:[2,3,4],5:[4,5],6:[3,4],7:[3,4]}
qty_multiplier_per_lvls_reg = {1:[1,1,1,1,2,2],2:[1,1,1,1,2,2],3:[1,1,1,1,2,2],4:[1,1,1,1,2,2],5:[1,1,1,1,2,2],6:[1,1,1,1,1,1],7:[1,1,1,1,1,1]}
qty_multiplier_per_lvls_mr = {1:[1,1,1,1,2,2],2:[1,1,1,1,2,2],3:[1,1,1,1,2,2],4:[1,1,1,1,2,2],5:[1,1,1,1,2,2],6:[1,1,1,1,1,1],7:[1,1,1,1,1,1]}
nifty_avg_margin_req_per_lot = 100000
[user-user1]
active = Y
uid = XXXXXXXX
pwd = XXXXXXXX
twofa = XXXX
totp_key = XXXXXXXXXXXXXXXX
api_key = 3chA5f1uG4yg0gqf7cWr6E22kdOfepIlKYzIJuiKSHrdzhB60B29SkMv6iUI1NaErL4KkNRRS18VTVlvL6b0cRjWT7PExfXXXXXXXXXXXXXXXX
option_sell_type = CE
nifty_opt_base_lot = 1
profit_target_perc = 1
loss_limit_perc = 25
profit_booking_qty_perc = 80
virtual_trade = 0
[user-user2]
active = N
uid = XXXXXXXX
pwd = XXXXXXXX
twofa = XXXX
totp_key = XXXXXXXXXXXXXXXX
api_key = 3chA5f1uG4yg0gqf7cWr6E22kdOfepIlKYzIJuiKSHrdzhB60B29SkMv6iUI1NaErL4KkNRRS18VTVlvL6b0cRjWT7PExfXXXXXXXXXXXXXXXX
option_sell_type = CE
nifty_opt_base_lot = 1
profit_target_perc = 1
loss_limit_perc = 25
profit_booking_qty_perc = 80
virtual_trade = 0