We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
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
"symbol","series","date","prevclose","open","high","low","last","close","vwap","volume","turnover","nooftrades","deliverableqty","percentdelivery","insert_timestamp" | |
"TCS ","EQ ","2018-07-27",1964.70,1960.85,1964.65,1940.30,1943.75,1943.75,1948.53,2033977,3963271946.50,103516,1389322,68.31,"2018-07-28 19:27:19.008727" | |
"INFY ","EQ ","2018-07-27",1373.25,1373.20,1389.00,1368.30,1371.20,1373.45,1377.08,3246616,4470848815.00,101649,2173390,66.94,"2018-07-28 19:27:19.008727" | |
"KOTAKBANK ","EQ ","2018-07-27",1311.25,1313.05,1327.00,1305.65,1312.90,1311.10,1316.74,1885821,2483145144.90,73950,944774,50.10,"2018-07-28 19:27:19.008727" | |
"RELIANCE ","EQ ","2018-07-27",1110.65,1119.50,1137.40,1112.15,1128.00,1129.85,1127.43,6679468,7530602219.35,140124,2217077,33.19,"2018-07-28 19:27:19.008727" | |
"KOTAKBANK ","EQ ","2018-07-26",1314.90,1311.65,1322.50,1294.35,1310.55,1311.25,1307.55,3664497,4791512541.15,76422,1433092,39.11,"2018 |
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
################################################################################################ | |
# name: convert_daily_to_monthly.py | |
# desc: takes inout as daily prices and convert into monthly data | |
# date: 2018-06-15 | |
# Author: conquistadorjd | |
################################################################################################ | |
import pandas as pd | |
import numpy as np | |
print('*** Program Started ***') |
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
# This is a non-multiexchange version of GODMODE indicator | |
# If you want the multi exchange version of GODMODE indicator, you need to implement willy and csi calculations too | |
# Original source of god mode indicator: | |
# https://www.tradingview.com/script/oA3U7pok-GODMODE-OSCILLATOR-FRESH-BREAD-GENERATOR-FREE-TO-USE/ | |
import pandas as pd | |
import talib | |
channel_length = 9 | |
average_length = 26 |
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
//@version=4 | |
''' | |
Quick explanation from "Market Cipher - what is just a closed source of this script with alerts. (DO NOT PAY 1.500$ JUST FOR ALERT FUNCTION!)" | |
Market Cipher B is an all-in-one oscillator allowing for more quality indications than ever before. | |
It combines five algorithms (some well-known, some custom) that have all been fine-tuned and smoothed for optimal analysis and trading results. | |
When all of the algorithms converge, Market Cipher B will project a “Green Dot” which will aid you in longing the dips in bull markets as well as temporarily exiting shorts in bear markets. | |
The Green Dot is often accompanied by extreme sellers’ momentum and will warn you of potential market bottoms, giving you strong hands even when the night is at its darkest. | |
Market Cipher B certainly excels on the small time frames, but is a particularly deadly tool for isolating large swings in the market. |
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
#! /bin/bash | |
# | |
# chkconfig: - 55 45 | |
# description: The memcached daemon is a network memory cache service. | |
# processname: memcached | |
### END INIT INFO | |
# Based on https://gist.github.com/lboynton/3775818 | |
# Usage: | |
# cp /etc/sysconfig/memcached /etc/sysconfig/memcached-server1 |
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
import sys | |
import time | |
import dateparser | |
import pytz | |
import json | |
import csv | |
from datetime import datetime | |
from binance.client import Client |
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
import asyncio | |
import json | |
import logging | |
import signal | |
import aiohttp | |
import platform | |
from aiohttp import web | |
from datetime import datetime | |
from nats.aio.client import Client as NATS |
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
def calculate_aspect(width: int, height: int) -> str: | |
def gcd(a, b): | |
"""The GCD (greatest common divisor) is the highest number that evenly divides both width and height.""" | |
return a if b == 0 else gcd(b, a % b) | |
r = gcd(width, height) | |
x = int(width / r) | |
y = int(height / r) | |
return f"{x}:{y}" |
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
<?php | |
# ========================================================================# | |
# | |
# Author: Jarrod Oberto | |
# Version: 1.1 | |
# Date: 08-Aug-12 | |
# Purpose: Resizes and saves or shows image | |
# Requires : Requires PHP5, GD library. | |
# Usage Example: |
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
<?php | |
/** | |
* Catch php output buffering data over jQuery AJAX | |
* | |
* @author: Sohel Rana ([email protected]) | |
* @author url: https://blog.sohelrana.me | |
* @link: https://blog.sohelrana.me/catch-php-output-buffering-data-jquery-ajax/ | |
* @licence MIT | |
*/ |