Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
5340beacfc
  1. 2
      iguana/exchanges/nxtae.c
  2. 2
      iguana/iguana_exchanges.c
  3. BIN
      iguana/pnacl/Release/iguana.pexe
  4. 2
      includes/iguana_apideclares.h

2
iguana/exchanges/nxtae.c

@ -532,7 +532,7 @@ double UPDATE(struct exchange_info *exchange,char *base,char *rel,struct exchang
json = cJSON_CreateObject();
cJSON_AddItemToObject(json,"bids",bids);
cJSON_AddItemToObject(json,"asks",asks);
// if ( Debuglevel > 2 )
if ( Debuglevel > 2 )
printf("invert.%d NXTAE.(%s)\n",invert,jprint(json,0));
hbla = exchanges777_json_orderbook(exchange,commission,base,rel,bidasks,maxdepth,json,0,"bids","asks",0,0,invert);
free_json(json);

2
iguana/iguana_exchanges.c

@ -936,7 +936,7 @@ void exchanges777_init(struct supernet_info *myinfo,cJSON *exchanges,int32_t sle
#include "../includes/iguana_apidefs.h"
THREE_STRINGS_AND_THREE_INTS(InstantDEX,orderbook,exchange,base,rel,depth,allfields,invert)
THREE_STRINGS_AND_THREE_INTS(InstantDEX,orderbook,exchange,base,rel,depth,allfields,ignore)
{
struct exchange_info *ptr;
if ( (ptr= exchanges777_info(exchange,1,json,remoteaddr)) != 0 )

BIN
iguana/pnacl/Release/iguana.pexe

Binary file not shown.

2
includes/iguana_apideclares.h

@ -26,7 +26,7 @@ ZERO_ARGS(SuperNET,activehandle);
THREE_STRINGS(SuperNET,encryptjson,password,permanentfile,anything);
TWO_STRINGS(SuperNET,decryptjson,password,permanentfile);
THREE_STRINGS_AND_THREE_INTS(InstantDEX,orderbook,exchange,base,rel,depth,allfields,invert);
THREE_STRINGS_AND_THREE_INTS(InstantDEX,orderbook,exchange,base,rel,depth,allfields,ignore);
THREE_STRINGS_AND_THREE_DOUBLES(InstantDEX,buy,exchange,base,rel,price,volume,dotrade);
THREE_STRINGS_AND_THREE_DOUBLES(InstantDEX,sell,exchange,base,rel,price,volume,dotrade);
THREE_STRINGS_AND_DOUBLE(InstantDEX,withdraw,exchange,base,destaddr,amount);

Loading…
Cancel
Save