Skip to content

Instantly share code, notes, and snippets.

@sovannit
sovannit / create-kiteconnect-candlestick-q.py
Created September 28, 2021 05:57 — forked from oldmonkABA/create-kiteconnect-candlestick-q.py
Implementation of ticks to 1min and 15 mins candles in zerodha kiteconnect using python queues. This code is modified version of the code given in http://ezeetrading.in/Articles/Candles_formation_from_tick_data_zerodha.html. The difference is that in on_ticks functions the only action performed is that the ticks are place in a event queue. This …
################## Ticks to candles in kiteconnect python ####################
# Author : Arun B
# Reference : http://ezeetrading.in/Articles/Candles_formation_from_tick_data_zerodha.html
# Purpose : Convert ticks to candles by putting ticks in a queue. This redues time wasted in on_ticks function
################################################################################
from kiteconnect import KiteTicker
import datetime
from copy import copy
import queue
/* This is simple ORB Breakout AFL, can be planned for any Breakout Strategy, Run explorer to see the data points
Planned for 15 MIn candle as default, but you can plan this strategy based on your need. The breakout is mentioned below for 15 minute candle for Indian market
Developed by DTM FInancial Solutions www.dailytrademantra.com
Please contact us for any clarification or further query : dailytrademantra@gmail.com
*/
_SECTION_BEGIN("ORB Breakout AFL");
/* This is simple ORB Breakout AFL, can be planned for any Breakout Strategy, Run explorer to see the data points
Planned for 15 MIn candle as default, but you can plan this strategy based on your need. The breakout is mentioned below for 15 minute candle for Indian market
Developed by DTM FInancial Solutions www.dailytrademantra.com
Please contact us for any clarification or further query : dailytrademantra@gmail.com
*/
_SECTION_BEGIN("ORB Breakout AFL");
@sovannit
sovannit / app.py
Created November 23, 2019 07:57 — forked from ajinasokan/app.py
KiteConnect postback example
'''
Hi traders,
Here is a simple generic example for implementing a postback mechanism. You can host this in a remote server or in your local server itself.
Run Locally
===========
1. Install ngrok from https://ngrok.com/