Skip to content

Instantly share code, notes, and snippets.

View Kanna007's full-sized avatar
💭
Seeking for job

Aravind kanna Kanna007

💭
Seeking for job
View GitHub Profile
@Kanna007
Kanna007 / stockpredict.py
Created November 11, 2018 08:47
Its a simple script to predict the stock price maybe it can be right or wrong you can change to monitor ur prefered stock by modifing the quandl line and api key given here is free version so if you have premium version you can change it to ur own api key the prediction wroks only the stock contains dataset of open,close,date,high,low so becaref…
import quandl
import math
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
import datetime
import random
style.use('ggplot')
@Kanna007
Kanna007 / Stack_ArrayImplementation.C
Created July 20, 2018 05:50 — forked from mycodeschool/Stack_ArrayImplementation.C
This is a basic array based implementation of stack data structure in C.
// Stack - Array based implementation.
// Creating a stack of integers.
#include<stdio.h>
#define MAX_SIZE 101
int A[MAX_SIZE]; // integer array to store the stack
int top = -1; // variable to mark top of stack in array
// Push operation to insert an element on top of stack.