i made a small webpage to display current XMR and BBR prices for Polo (including history).
currently its just two graphs, but i have many plans...
please share your views: http://k1024.de/cn
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
#include
#include
SEXP Sum(SEXP xNumVect, SEXP nCount, SEXP Nint)
{
int i, j, n, n1, N, N2;
double sum;
double *pNUM, *pResult;
SEXP result;
PROTECT(xNumVect = AS_NUMERIC(xNumVect));
N = INTEGER_VALUE(Nint);
n = INTEGER_VALUE(nCount);
PROTECT(result = NEW_NUMERIC(n));
pResult = NUMERIC_POINTER(result);
pNUM = NUMERIC_POINTER(xNumVect);
N2 = N - 2;
n1 = n - 1;
for(i = n1; i > N2; i--)
{
sum = 0;
for(j = 0; j < N; j++)
sum += pNUM[i - j];
pResult[i] = sum;
}
for(i = N2; i > -1; i--)
pResult[i] = R_NaN;
UNPROTECT(2);
return result;
}
SEXP Max(SEXP xNumVect, SEXP nCount, SEXP Nint)
{
int i, j, n, n1, N, N2;
double max;
double *pNUM, *pResult;
SEXP result;
PROTECT(xNumVect = AS_NUMERIC(xNumVect));
N = INTEGER_VALUE(Nint);
n = INTEGER_VALUE(nCount);
PROTECT(result = NEW_NUMERIC(n));
pResult = NUMERIC_POINTER(result);
pNUM = NUMERIC_POINTER(xNumVect);
N2 = N - 2;
n1 = n - 1;
for(i = n1; i > N2; i--)
{
max = R_NegInf;
for(j = 0; j < N; j++)
if(pNUM[i - j] == R_NaN)
if(pNUM[i - j] > max)
max = pNUM[i - j];
if(max == R_NegInf)
pResult[i] = R_NaN;
else
pResult[i] = max;
}
for(i = N2; i > -1; i--)
pResult[i] = R_NaN;
UNPROTECT(2);
return result;
}
SEXP Min(SEXP xNumVect, SEXP nCount, SEXP Nint)
{
int i, j, n, n1, N, N2;
double min;
double *pNUM, *pResult;
SEXP result;
PROTECT(xNumVect = AS_NUMERIC(xNumVect));
N = INTEGER_VALUE(Nint);
n = INTEGER_VALUE(nCount);
PROTECT(result = NEW_NUMERIC(n));
pResult = NUMERIC_POINTER(result);
pNUM = NUMERIC_POINTER(xNumVect);
N2 = N - 2;
n1 = n - 1;
for(i = n1; i > N2; i--)
{
min = R_PosInf;
for(j = 0; j < N; j++)
if(pNUM[i - j] == R_NaN)
if(pNUM[i - j] < min)
min = pNUM[i - j];
if(min == R_NegInf)
pResult[i] = R_NaN;
else
pResult[i] = min;
}
for(i = N2; i > -1; i--)
pResult[i] = R_NaN;
UNPROTECT(2);
return result;
}