[2026-05-07 06:21:55] STEP 1: Request received
[2026-05-07 06:21:55] STEP 2: Parsed input: {"symbol":"P-BTC-81000-070526"}
[2026-05-07 06:21:55] STEP 3: Symbol = P-BTC-81000-070526
[2026-05-07 06:21:55] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/P-BTC-81000-070526
[2026-05-07 06:21:55] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:21:55] STEP 5: Ticker cURL error = none
[2026-05-07 06:21:55] STEP 5: Ticker response = {"result":{"underlying_asset_symbol":"BTC","tags":[],"turnover_symbol":"USD","oi":"48.1930","mark_price":"204.88573694","oi_change_usd_6h":"144285.3300","close":203.0,"tick_size":"0.100000000000000000","quotes":{"ask_iv":"0.24443574","ask_size":"3977","best_ask":"206","best_bid":"203","bid_iv":"0.24077469","bid_size":"8383","impact_mid_price":null,"mark_iv":"0.24313474"},"greeks":{"delta":"-0.50773625","gamma":"0.00080028","rho":"-0.26591071","spot":"80988.8","theta":"-423.22519954","vega":"8.19431183"},"ltp_change_24h":"-55.8696","mark_vol":"0.24309991","strike_price":"81000","low":107.0,"open":460.0,"high":473.0,"contract_value":"0.001000000000000000","oi_value":"48.1930","volume":719.9079999999985,"oi_contracts":"48193","spot_price":"80988.8","product_trading_status":"operational","timestamp":1778134914304333,"oi_value_symbol":"BTC","symbol":"P-BTC-81000-070526","product_id":133515,"time":"2026-05-06T06:17:17.623121702Z","top_tag":"","size":719908,"price_band":{"lower_limit":"0.1","upper_limit":"2094.49545107"},"leverage":200,"oi_value_usd":"3903093.2384","sort_priority":1,"mark_change_24h":"-58.9883","turnover_usd":58665010.14719997,"turnover":58665010.14719997,"description":"BTC  Put","contract_type":"put_options"},"success":true}
[2026-05-07 06:21:55] STEP 6: best_bid = 203
[2026-05-07 06:21:55] STEP 7: Ladder prices = [203,201.984999999999985220711096189916133880615234375,200.969999999999998863131622783839702606201171875]
[2026-05-07 06:21:55] STEP 8.1: Placing order at price 203
[2026-05-07 06:21:55] STEP 8.1: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"203","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778134915"}
[2026-05-07 06:21:56] STEP 9.1: Order HTTP code = 401
[2026-05-07 06:21:56] STEP 9.1: Order cURL error = none
[2026-05-07 06:21:56] STEP 9.1: Order response = {"error":{"code":"ip_not_whitelisted_for_api_key","context":{"client_ip":"2a02:4780:2d:ae61::1"}},"success":false}
[2026-05-07 06:21:56] STEP 8.2: Placing order at price 202
[2026-05-07 06:21:56] STEP 8.2: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"202","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778134916"}
[2026-05-07 06:21:57] STEP 9.2: Order HTTP code = 401
[2026-05-07 06:21:57] STEP 9.2: Order cURL error = none
[2026-05-07 06:21:57] STEP 9.2: Order response = {"error":{"code":"ip_not_whitelisted_for_api_key","context":{"client_ip":"2a02:4780:2d:ae61::1"}},"success":false}
[2026-05-07 06:21:57] STEP 8.3: Placing order at price 201
[2026-05-07 06:21:57] STEP 8.3: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"201","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778134917"}
[2026-05-07 06:21:57] STEP 9.3: Order HTTP code = 401
[2026-05-07 06:21:57] STEP 9.3: Order cURL error = none
[2026-05-07 06:21:57] STEP 9.3: Order response = {"error":{"code":"ip_not_whitelisted_for_api_key","context":{"client_ip":"2a02:4780:2d:ae61::1"}},"success":false}
[2026-05-07 06:21:57] STEP 10: All done
[2026-05-07 06:21:57] ------------------------------------------------------------
[2026-05-07 06:27:43] STEP 1: Request received
[2026-05-07 06:27:43] STEP 2: Parsed input: {"symbol":"P-BTC-81000-070526"}
[2026-05-07 06:27:43] STEP 3: Symbol = P-BTC-81000-070526
[2026-05-07 06:27:43] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/P-BTC-81000-070526
[2026-05-07 06:27:44] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:27:44] STEP 5: Ticker cURL error = none
[2026-05-07 06:27:44] STEP 5: Ticker response = {"result":{"oi_contracts":"54786","mark_vol":"0.23964496","underlying_asset_symbol":"BTC","symbol":"P-BTC-81000-070526","turnover_symbol":"USD","tags":[],"turnover":59473282.50269998,"sort_priority":1,"mark_price":"196.42682159","product_id":133515,"close":201.0,"turnover_usd":59473282.50269998,"oi_value_usd":"4436937.3462","product_trading_status":"operational","oi":"54.7860","quotes":{"ask_iv":"0.2415194","ask_size":"3892","best_ask":"198","best_bid":"195","bid_iv":"0.23782719","bid_size":"8933","impact_mid_price":null,"mark_iv":"0.23966082"},"low":107.0,"open":460.0,"high":473.0,"price_band":{"lower_limit":"0.1","upper_limit":"2081.65081692"},"oi_change_usd_6h":"1002534.3600","oi_value_symbol":"BTC","timestamp":1778135263525701,"leverage":200,"time":"2026-05-06T06:27:19.934272553Z","top_tag":"","mark_change_24h":"-56.5921","size":729889,"contract_type":"put_options","greeks":{"delta":"-0.50165823","gamma":"0.00081726","rho":"-0.25815940","spot":"80996.5","theta":"-421.90053700","vega":"8.12515848"},"ltp_change_24h":"-56.3043","spot_price":"80996.6","strike_price":"81000","oi_value":"54.7860","contract_value":"0.001000000000000000","volume":729.8889999999985,"description":"BTC  Put","tick_size":"0.100000000000000000"},"success":true}
[2026-05-07 06:27:44] STEP 6: best_bid = 195
[2026-05-07 06:27:44] STEP 7: Ladder prices = [195,194.025000000000005684341886080801486968994140625,193.05000000000001136868377216160297393798828125]
[2026-05-07 06:27:44] STEP 8.1: Placing order at price 195
[2026-05-07 06:27:44] STEP 8.1: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"195","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778135264"}
[2026-05-07 06:27:45] STEP 9.1: Order HTTP code = 200
[2026-05-07 06:27:45] STEP 9.1: Order cURL error = none
[2026-05-07 06:27:45] STEP 9.1: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_1_1778135264","updated_at":"2026-05-07T06:27:45.561441Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122412,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:27:45.561441Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"195","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:27:45] STEP 8.2: Placing order at price 194
[2026-05-07 06:27:45] STEP 8.2: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"194","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778135265"}
[2026-05-07 06:27:46] STEP 9.2: Order HTTP code = 200
[2026-05-07 06:27:46] STEP 9.2: Order cURL error = none
[2026-05-07 06:27:46] STEP 9.2: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_2_1778135265","updated_at":"2026-05-07T06:27:46.628312Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122428,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:27:46.628312Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"194","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:27:46] STEP 8.3: Placing order at price 193.1
[2026-05-07 06:27:46] STEP 8.3: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"193.1","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778135266"}
[2026-05-07 06:27:47] STEP 9.3: Order HTTP code = 200
[2026-05-07 06:27:47] STEP 9.3: Order cURL error = none
[2026-05-07 06:27:47] STEP 9.3: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_3_1778135266","updated_at":"2026-05-07T06:27:47.804018Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122443,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:27:47.804018Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"193.1","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:27:47] STEP 10: All done
[2026-05-07 06:27:47] ------------------------------------------------------------
[2026-05-07 06:28:20] STEP 1: Request received
[2026-05-07 06:28:20] STEP 2: Parsed input: {"symbol":"P-BTC-81000-070526"}
[2026-05-07 06:28:20] STEP 3: Symbol = P-BTC-81000-070526
[2026-05-07 06:28:20] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/P-BTC-81000-070526
[2026-05-07 06:28:20] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:28:20] STEP 5: Ticker cURL error = none
[2026-05-07 06:28:20] STEP 5: Ticker response = {"result":{"turnover_symbol":"USD","underlying_asset_symbol":"BTC","tags":[],"tick_size":"0.100000000000000000","oi_value":"54.7890","turnover":59473282.50269998,"ltp_change_24h":"-58.0217","close":193.1,"strike_price":"81000","leverage":200,"contract_value":"0.001000000000000000","spot_price":"81001.8","oi_value_usd":"4438067.8881","turnover_usd":59473282.50269998,"contract_type":"put_options","oi":"54.7890","symbol":"P-BTC-81000-070526","greeks":{"delta":"-0.49732636","gamma":"0.00081868","rho":"-0.25555353","spot":"81001.8","theta":"-421.79260325","vega":"8.11946304"},"low":107.0,"open":460.0,"high":473.0,"mark_change_24h":"-57.2322","mark_price":"193.39403024","mark_vol":"0.23944135","quotes":{"ask_iv":"0.2412667","ask_size":"3850","best_ask":"195","best_bid":"192","bid_iv":"0.2375719","bid_size":"8870","impact_mid_price":null,"mark_iv":"0.23948825"},"price_band":{"lower_limit":"0.1","upper_limit":"2073.57630701"},"timestamp":1778135297781354,"product_trading_status":"operational","product_id":133515,"top_tag":"","time":"2026-05-06T06:27:19.934272553Z","size":729889,"oi_contracts":"54789","sort_priority":1,"oi_change_usd_6h":"1002488.7300","oi_value_symbol":"BTC","volume":729.8889999999985,"description":"BTC  Put"},"success":true}
[2026-05-07 06:28:20] STEP 6: best_bid = 192
[2026-05-07 06:28:20] STEP 7: Ladder prices = [192,191.039999999999992041921359486877918243408203125,190.07999999999998408384271897375583648681640625]
[2026-05-07 06:28:20] STEP 8.1: Placing order at price 192
[2026-05-07 06:28:20] STEP 8.1: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"192","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778135300"}
[2026-05-07 06:28:21] STEP 9.1: Order HTTP code = 200
[2026-05-07 06:28:21] STEP 9.1: Order cURL error = none
[2026-05-07 06:28:21] STEP 9.1: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_1_1778135300","updated_at":"2026-05-07T06:28:21.465003Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122943,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:28:21.465003Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"192","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:28:21] STEP 8.2: Placing order at price 191
[2026-05-07 06:28:21] STEP 8.2: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"191","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778135301"}
[2026-05-07 06:28:22] STEP 9.2: Order HTTP code = 200
[2026-05-07 06:28:22] STEP 9.2: Order cURL error = none
[2026-05-07 06:28:22] STEP 9.2: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_2_1778135301","updated_at":"2026-05-07T06:28:22.538974Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122962,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:28:22.538974Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"191","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:28:22] STEP 8.3: Placing order at price 190.1
[2026-05-07 06:28:22] STEP 8.3: Payload = {"product_symbol":"P-BTC-81000-070526","size":1,"limit_price":"190.1","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778135302"}
[2026-05-07 06:28:23] STEP 9.3: Order HTTP code = 200
[2026-05-07 06:28:23] STEP 9.3: Order cURL error = none
[2026-05-07 06:28:23] STEP 9.3: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_3_1778135302","updated_at":"2026-05-07T06:28:23.353064Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306122982,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:28:23.353064Z","bracket_order":null,"time_in_force":"gtc","product_id":133515,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"190.1","mmp":"disabled","trail_amount":null,"product_symbol":"P-BTC-81000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:28:23] STEP 10: All done
[2026-05-07 06:28:23] ------------------------------------------------------------
[2026-05-07 06:34:46] STEP 1: Request received
[2026-05-07 06:34:46] STEP 2: Parsed input: {"symbol":"C-BTC-81900-070526"}
[2026-05-07 06:34:46] STEP 3: Symbol = C-BTC-81900-070526
[2026-05-07 06:34:46] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/C-BTC-81900-070526
[2026-05-07 06:34:47] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:34:47] STEP 5: Ticker cURL error = none
[2026-05-07 06:34:47] STEP 5: Ticker response = {"result":null,"success":true}
[2026-05-07 06:34:47] STEP 6: best_bid = 0
[2026-05-07 06:34:47] STEP 6 ERROR: best_bid is 0 or missing
[2026-05-07 06:35:35] STEP 1: Request received
[2026-05-07 06:35:35] STEP 2: Parsed input: {"symbol":"C-BTC-81900-070526"}
[2026-05-07 06:35:35] STEP 3: Symbol = C-BTC-81900-070526
[2026-05-07 06:35:35] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/C-BTC-81900-070526
[2026-05-07 06:35:36] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:35:36] STEP 5: Ticker cURL error = none
[2026-05-07 06:35:36] STEP 5: Ticker response = {"result":null,"success":true}
[2026-05-07 06:35:36] STEP 6: best_bid = 0
[2026-05-07 06:35:36] STEP 6 ERROR: best_bid is 0 or missing
[2026-05-07 06:45:14] STEP 1: Request received
[2026-05-07 06:45:14] STEP 2: Parsed input: {"symbol":"C-BTC-82000-070526"}
[2026-05-07 06:45:14] STEP 3: Symbol = C-BTC-82000-070526
[2026-05-07 06:45:14] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/C-BTC-82000-070526
[2026-05-07 06:45:15] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:45:15] STEP 5: Ticker cURL error = none
[2026-05-07 06:45:15] STEP 5: Ticker response = {"result":{"strike_price":"82000","tags":[],"ltp_change_24h":"-91.5119","leverage":200,"contract_value":"0.001000000000000000","tick_size":"0.100000000000000000","oi_contracts":"209920","mark_price":"39.7828329","close":32.0,"oi_value_usd":"17080539.6480","top_tag":"","mark_change_24h":"-89.9347","symbol":"C-BTC-82000-070526","volume":1058.4239999999916,"oi_value_symbol":"BTC","oi":"209.9200","mark_vol":"0.28628285","turnover_symbol":"USD","oi_value":"209.9200","product_trading_status":"operational","price_band":{"lower_limit":"0.1","upper_limit":"762.11667987"},"low":8.0,"open":377.0,"high":1158.0,"turnover":86195506.77079996,"oi_change_usd_6h":"11181859.2000","timestamp":1778136314251371,"sort_priority":1,"quotes":{"ask_iv":"0.28682921","ask_size":"250","best_ask":"41","best_bid":"33","bid_iv":"0.26813626","bid_size":"356","impact_mid_price":null,"mark_iv":"0.2877362"},"contract_type":"call_options","product_id":133499,"time":"2026-05-06T06:42:23.473466849Z","size":1058424,"spot_price":"81374.2","turnover_usd":86195506.77079996,"greeks":{"delta":"0.13321117","gamma":"0.00038897","rho":"0.06472182","spot":"81381.1","theta":"-272.09733022","vega":"4.28524907"},"underlying_asset_symbol":"BTC","description":"BTC  Call"},"success":true}
[2026-05-07 06:45:15] STEP 6: best_bid = 33
[2026-05-07 06:45:15] STEP 7: Ladder prices = [33,32.83500000000000085265128291212022304534912109375,32.6700000000000017053025658242404460906982421875]
[2026-05-07 06:45:15] STEP 7: Ladder prices = [0,0,0]
[2026-05-07 06:45:15] STEP 8.1: Placing order at price 0
[2026-05-07 06:45:15] STEP 8.1: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778136315"}
[2026-05-07 06:45:16] STEP 9.1: Order HTTP code = 200
[2026-05-07 06:45:16] STEP 9.1: Order cURL error = none
[2026-05-07 06:45:16] STEP 9.1: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_1_1778136315","updated_at":"2026-05-07T06:45:16.647950Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306153847,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:45:16.647950Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:45:16] STEP 8.2: Placing order at price 0
[2026-05-07 06:45:16] STEP 8.2: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778136316"}
[2026-05-07 06:45:17] STEP 9.2: Order HTTP code = 200
[2026-05-07 06:45:17] STEP 9.2: Order cURL error = none
[2026-05-07 06:45:17] STEP 9.2: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_2_1778136316","updated_at":"2026-05-07T06:45:17.479705Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306153887,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:45:17.479705Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:45:17] STEP 8.3: Placing order at price 0
[2026-05-07 06:45:17] STEP 8.3: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778136317"}
[2026-05-07 06:45:18] STEP 9.3: Order HTTP code = 200
[2026-05-07 06:45:18] STEP 9.3: Order cURL error = none
[2026-05-07 06:45:18] STEP 9.3: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_3_1778136317","updated_at":"2026-05-07T06:45:18.265367Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306153916,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:45:18.265367Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:45:18] STEP 10: All done
[2026-05-07 06:45:18] ------------------------------------------------------------
[2026-05-07 06:54:51] STEP 1: Request received
[2026-05-07 06:54:51] STEP 2: Parsed input: {"symbol":"C-BTC-82000-070526"}
[2026-05-07 06:54:51] STEP 3: Symbol = C-BTC-82000-070526
[2026-05-07 06:54:51] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/C-BTC-82000-070526
[2026-05-07 06:54:51] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:54:51] STEP 5: Ticker cURL error = none
[2026-05-07 06:54:51] STEP 5: Ticker response = {"result":{"contract_type":"call_options","mark_vol":"0.28555873","product_trading_status":"operational","mark_change_24h":"-90.6757","tags":[],"turnover_usd":87689612.3158,"price_band":{"lower_limit":"0.1","upper_limit":"752.70691741"},"volume":1076.7919999999908,"close":31.0,"turnover":87689612.3158,"underlying_asset_symbol":"BTC","sort_priority":1,"turnover_symbol":"USD","tick_size":"0.100000000000000000","oi_value_usd":"17152535.7341","low":8.0,"open":406.0,"high":1158.0,"oi_value_symbol":"BTC","contract_value":"0.001000000000000000","leverage":200,"ltp_change_24h":"-92.3645","timestamp":1778136890458343,"oi_contracts":"210781","symbol":"C-BTC-82000-070526","product_id":133499,"oi_value":"210.7810","oi":"210.7810","time":"2026-05-06T06:52:25.353232006Z","top_tag":"","oi_change_usd_6h":"10387249.0500","size":1076792,"greeks":{"delta":"0.12966671","gamma":"0.00038457","rho":"0.06106815","spot":"81376.4","theta":"-273.53229676","vega":"4.14100602"},"mark_price":"37.63478164","description":"BTC  Call","strike_price":"82000","spot_price":"81374.7","quotes":{"ask_iv":"0.2905417","ask_size":"1116","best_ask":"40","best_bid":"31.1","bid_iv":"0.26901431","bid_size":"150","impact_mid_price":null,"mark_iv":"0.28616508"}},"success":true}
[2026-05-07 06:54:51] STEP 6: best_bid = 31.1
[2026-05-07 06:54:51] STEP 7: Ladder prices = [31.10000000000000142108547152020037174224853515625,30.944500000000001449507180950604379177093505859375,30.7890000000000014779288903810083866119384765625]
[2026-05-07 06:54:51] STEP 7: Ladder prices = [0,0,0]
[2026-05-07 06:54:51] STEP 8.1: Placing order at price 0
[2026-05-07 06:54:51] STEP 8.1: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778136891"}
[2026-05-07 06:54:53] STEP 9.1: Order HTTP code = 200
[2026-05-07 06:54:53] STEP 9.1: Order cURL error = none
[2026-05-07 06:54:53] STEP 9.1: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_1_1778136891","updated_at":"2026-05-07T06:54:52.930441Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306167607,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:54:52.930441Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:54:53] STEP 8.2: Placing order at price 0
[2026-05-07 06:54:53] STEP 8.2: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778136893"}
[2026-05-07 06:54:53] STEP 9.2: Order HTTP code = 200
[2026-05-07 06:54:53] STEP 9.2: Order cURL error = none
[2026-05-07 06:54:53] STEP 9.2: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_2_1778136893","updated_at":"2026-05-07T06:54:53.749638Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306167623,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:54:53.749638Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:54:53] STEP 8.3: Placing order at price 0
[2026-05-07 06:54:53] STEP 8.3: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"0","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778136893"}
[2026-05-07 06:54:54] STEP 9.3: Order HTTP code = 200
[2026-05-07 06:54:54] STEP 9.3: Order cURL error = none
[2026-05-07 06:54:54] STEP 9.3: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_3_1778136893","updated_at":"2026-05-07T06:54:54.576786Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306167645,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:54:54.576786Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"0.1","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:54:54] STEP 10: All done
[2026-05-07 06:54:54] ------------------------------------------------------------
[2026-05-07 06:58:16] STEP 1: Request received
[2026-05-07 06:58:16] STEP 2: Parsed input: {"symbol":"C-BTC-82000-070526"}
[2026-05-07 06:58:16] STEP 3: Symbol = C-BTC-82000-070526
[2026-05-07 06:58:16] STEP 4: Fetching ticker from https://api.india.delta.exchange/v2/tickers/C-BTC-82000-070526
[2026-05-07 06:58:16] STEP 5: Ticker HTTP code = 200
[2026-05-07 06:58:16] STEP 5: Ticker cURL error = none
[2026-05-07 06:58:16] STEP 5: Ticker response = {"result":{"tick_size":"0.100000000000000000","underlying_asset_symbol":"BTC","tags":[],"turnover_symbol":"USD","symbol":"C-BTC-82000-070526","greeks":{"delta":"0.17076331","gamma":"0.00041259","rho":"0.07952100","spot":"81410.5","theta":"-372.32328729","vega":"4.95129686"},"volume":1082.2419999999909,"mark_price":"52.95195412","close":60.0,"top_tag":"","spot_price":"81410.5","contract_value":"0.001000000000000000","mark_vol":"0.3090924","low":8.0,"open":406.0,"quotes":{"ask_iv":"0.32325894","ask_size":"2670","best_ask":"60","best_bid":"52","bid_iv":"0.30709375","bid_size":"1630","impact_mid_price":null,"mark_iv":"0.30748064"},"high":1158.0,"turnover":88133275.3725,"strike_price":"82000","oi_contracts":"212595","price_band":{"lower_limit":"0.1","upper_limit":"877.99738974"},"timestamp":1778137093912404,"oi_value_symbol":"BTC","oi_change_usd_6h":"10497658.4100","product_id":133499,"mark_change_24h":"-86.8991","sort_priority":1,"product_trading_status":"operational","oi_value_usd":"17307465.2475","time":"2026-05-06T06:57:26.297899675Z","ltp_change_24h":"-85.2217","size":1082242,"contract_type":"call_options","oi_value":"212.5950","oi":"212.5950","leverage":200,"turnover_usd":88133275.3725,"description":"BTC  Call"},"success":true}
[2026-05-07 06:58:16] STEP 6: best_bid = 52
[2026-05-07 06:58:16] STEP 7: Ladder prices = [52,51.74000000000000198951966012828052043914794921875,51.47999999999999687361196265555918216705322265625]
[2026-05-07 06:58:16] STEP 7: Ladder prices = [0,0,0]
[2026-05-07 06:58:16] STEP 8.1: Placing order at price 52
[2026-05-07 06:58:16] STEP 8.1: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"52","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_1_1778137096"}
[2026-05-07 06:58:17] STEP 9.1: Order HTTP code = 200
[2026-05-07 06:58:17] STEP 9.1: Order cURL error = none
[2026-05-07 06:58:17] STEP 9.1: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_1_1778137096","updated_at":"2026-05-07T06:58:17.804211Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306172853,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:58:17.804211Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"52","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:58:17] STEP 8.2: Placing order at price 51
[2026-05-07 06:58:17] STEP 8.2: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"51","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_2_1778137097"}
[2026-05-07 06:58:19] STEP 9.2: Order HTTP code = 200
[2026-05-07 06:58:19] STEP 9.2: Order cURL error = none
[2026-05-07 06:58:19] STEP 9.2: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_2_1778137097","updated_at":"2026-05-07T06:58:18.911994Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306172877,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:58:18.911994Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"51","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:58:19] STEP 8.3: Placing order at price 49.4
[2026-05-07 06:58:19] STEP 8.3: Payload = {"product_symbol":"C-BTC-82000-070526","size":1,"limit_price":"49.4","side":"buy","order_type":"limit_order","post_only":"true","time_in_force":"gtc","client_order_id":"ladder_3_1778137099"}
[2026-05-07 06:58:20] STEP 9.3: Order HTTP code = 200
[2026-05-07 06:58:20] STEP 9.3: Order cURL error = none
[2026-05-07 06:58:20] STEP 9.3: Order response = {"meta":{},"result":{"bracket_stop_loss_limit_price":null,"margin_mode":"portfolio","user_id":13501232,"reduce_only":false,"commission":"0","client_order_id":"ladder_3_1778137099","updated_at":"2026-05-07T06:58:20.039811Z","stop_price":null,"state":"open","bracket_trail_amount":null,"id":1306172896,"stop_trigger_method":null,"stop_order_type":null,"bracket_take_profit_price":null,"average_fill_price":null,"unfilled_size":1,"bracket_take_profit_limit_price":null,"paid_commission":"0","cancellation_reason":null,"created_at":"2026-05-07T06:58:20.039811Z","bracket_order":null,"time_in_force":"gtc","product_id":133499,"bracket_stop_loss_price":null,"quote_size":null,"side":"buy","size":1,"limit_price":"49.4","mmp":"disabled","trail_amount":null,"product_symbol":"C-BTC-82000-070526","meta_data":{"ip":"147.93.47.217","otc":false,"post_only":true,"source":"api"},"order_type":"limit_order"},"success":true}
[2026-05-07 06:58:20] STEP 10: All done
[2026-05-07 06:58:20] ------------------------------------------------------------
