Browse Source

Test

etomic
jl777 8 years ago
parent
commit
fa0ba6f0b9
  1. 2
      .gitignore
  2. 1
      basilisk/jumblr.c
  3. 2
      crypto777/iguana_utils.c

2
.gitignore

@ -266,3 +266,5 @@ iguana/DB/SWAPS/845549832-3630913950
iguana/DB/SWAPS/2050938501-203733478
iguana/DB/SWAPS/3434672913-3981690962
iguana/DB/SWAPS/2840127595-1174059534

1
basilisk/jumblr.c

@ -199,6 +199,7 @@ int64_t jumblr_balance(struct supernet_info *myinfo,struct iguana_info *coin,cha
{
if ( (retstr= jumblr_listunspent(myinfo,coin,addr)) != 0 )
{
printf("jumblr.(%s)\n",retstr);
if ( (retjson= cJSON_Parse(retstr)) != 0 )
{
if ( (n= cJSON_GetArraySize(retjson)) > 0 )

2
crypto777/iguana_utils.c

@ -1279,7 +1279,7 @@ double get_theoretical(double *avebidp,double *aveaskp,double *highbidp,double *
weighted = weighted_orderbook(avebidp,aveaskp,highbidp,lowaskp,bittrex_orderbook(base,rel,25),1./(*CMC_averagep));
if ( *CMC_averagep > SMALLVAL && weighted > SMALLVAL )
theoretical = calc_theoretical(weighted,*CMC_averagep,changes);
if ( counter++ < 100 )
if ( 0 && counter++ < 100 )
printf("HBLA.[%.8f %.8f] AVE.[%.8f %.8f] (%s) CMC %f %f %f %f\n",*highbidp,*lowaskp,*avebidp,*aveaskp,jprint(item,0),*CMC_averagep,changes[0],changes[1],changes[2]);
free_json(cmcjson);
}

Loading…
Cancel
Save