This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## WARNING: This is not meant to be used, this is just for demonstration purpose. Get official kite API access from Zerodha. | |
## USAGE: | |
# from kiteext_pro_open import KiteExt | |
# kite = KiteExt() | |
# kite.login_with_credentials(user_id, password, twofa_secret) | |
# print(kite.profile()) | |
# print(kite.ltp(['NSE:TCS'])) | |
# print(kite.quote(['NSE:TCS'])) | |
# known issue: history api not working. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# intended for use in a Jupyter Notebook or similar. | |
import calendar | |
from calendar import HTMLCalendar | |
from IPython.display import HTML | |
class HighlightedCalendar(HTMLCalendar): | |
def __init__(self, highlight_dates={}, *args, **kwargs): | |
super().__init__(*args, **kwargs) | |
self._highlight_dates = {} | |
for color,dates in highlight_dates.items(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S3 CSV read: 0.8764402866363525 | |
S3 CSV write: 1.758180856704712 | |
S3 CSV size: 5998538 | |
S3 JSON write: 0.9272201061248779 | |
S3 JSON read: 2.5027835369110107 | |
S3 JSON size: 12003799 | |
S3 Parquet write: 0.5380315780639648 | |
S3 Parquet read: 0.42629337310791016 | |
S3 Parquet size: 1171252 | |
S3 Feather write: 0.2664041519165039 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Here is a sample output for binance exchange. These are the start time stamp on which the currency pair got listed om binance exchange. | |
1INCH/BTC 1608872340001 2020-12-25T04:59:00.001Z | |
1INCH/BUSD 1614081540001 2021-02-23T11:59:00.001Z | |
1INCH/USDT 1608872340001 2020-12-25T04:59:00.001Z | |
1INCHDOWN/USDT 1618471140001 2021-04-15T07:19:00.001Z | |
1INCHUP/USDT 1618471140001 2021-04-15T07:19:00.001Z | |
AAVE/BKRW 1602730740001 2020-10-15T02:59:00.001Z | |
AAVE/BNB 1602730740001 2020-10-15T02:59:00.001Z | |
AAVE/BRL 1627034340001 2021-07-23T09:59:00.001Z | |
AAVE/BTC 1602730740001 2020-10-15T02:59:00.001Z |