Skip to content

Instantly share code, notes, and snippets.

View shreyas1496's full-sized avatar

Shreyas Patankar shreyas1496

  • India
View GitHub Profile
// Run this script as: node historical.js <api-key> <api-secret> <request-token>
// Expected it should return correct values for close and volume for the duration, however it does not
const api_key = process.argv[2];
const api_secret = process.argv[3];
const request_token = process.argv[4];
var KiteConnect = require("kiteconnect").KiteConnect;
@shreyas1496
shreyas1496 / docker-compose.yml
Created July 2, 2021 08:18
Starts local dynamodb server and ui service to access it using docker compose. Data is persisted accross restarts. Use the variables to configure the ports for the respective services.
version: "3.5"
# Starts local dynamodb server and ui service to access it
# Variables
# DYNAMODB_SERVER_PORT (default 5000)
# DYNAMODB_UI_PORT (default 5001)
services:
dynamo:
container_name: local-dynamodb
image: amazon/dynamodb-local