dimxy
|
bd2f5a6d41
|
corr costbasis calc (prices norm)
|
2019-05-01 00:47:29 +05:00 |
|
dimxy
|
dba71a325e
|
corr ave costbasis
|
2019-04-30 21:07:56 +05:00 |
|
dimxy
|
802acc8c44
|
change ave costbasis to gmp
|
2019-04-30 20:39:49 +05:00 |
|
dimxy
|
fe0f7ed579
|
more test div
|
2019-04-30 19:34:20 +05:00 |
|
dimxy
|
7ada2401e5
|
mem alloc corr
|
2019-04-30 19:20:27 +05:00 |
|
dimxy
|
c6d91b33c0
|
test div
|
2019-04-30 19:11:24 +05:00 |
|
dimxy
|
1e131efcba
|
try use signed mpz_get_si
|
2019-04-30 18:36:56 +05:00 |
|
dimxy
|
f4837d2b09
|
changed to gmp.h
|
2019-04-30 18:27:26 +05:00 |
|
dimxy
|
3f61f3c155
|
missed mpz_init added
|
2019-04-30 16:31:37 +05:00 |
|
dimxy
|
9c50f7a7e5
|
changed div funcs to essentials
|
2019-04-30 16:25:56 +05:00 |
|
dimxy
|
67176b6a71
|
cdiv used
|
2019-04-30 16:20:52 +05:00 |
|
dimxy
|
020dcfcd85
|
changed gmp to essentials
|
2019-04-30 16:15:02 +05:00 |
|
dimxy
|
bb0e630706
|
changed gmp calls to unsigned
|
2019-04-30 16:03:26 +05:00 |
|
dimxy
|
d9a53c242e
|
Revert "try include mini-gmp.c"
This reverts commit 00debd2f61.
|
2019-04-30 15:08:18 +05:00 |
|
dimxy
|
f8bbf9b130
|
Revert "add mini-gmp to Makefile.am"
This reverts commit dbc4818b8a.
|
2019-04-30 15:08:01 +05:00 |
|
dimxy
|
dbc4818b8a
|
add mini-gmp to Makefile.am
|
2019-04-30 12:44:53 +05:00 |
|
dimxy
|
00debd2f61
|
try include mini-gmp.c
|
2019-04-30 12:40:20 +05:00 |
|
dimxy
|
762c878d56
|
added profits calc with gmp lib
|
2019-04-30 12:16:27 +05:00 |
|
dimxy
|
23f427373c
|
costbasis calc temp change to floating point
|
2019-04-30 01:00:26 +05:00 |
|
dimxy
|
b800a223c5
|
corr double mult
|
2019-04-30 00:52:47 +05:00 |
|
dimxy
|
656992811c
|
long double
|
2019-04-30 00:47:15 +05:00 |
|
dimxy
|
e6d145f2f5
|
log dcostbasis
|
2019-04-30 00:39:05 +05:00 |
|
dimxy
|
0467d13a10
|
try use floating point to calc average costbasis
|
2019-04-29 21:50:55 +05:00 |
|
dimxy
|
d81d30a27c
|
corr costbasis prec in pricesinfo
|
2019-04-29 21:35:58 +05:00 |
|
dimxy
|
911462d1aa
|
remove clearing prec in pricesinfo
|
2019-04-29 21:30:28 +05:00 |
|
dimxy
|
13a1463f02
|
removed clearing precision to 0.0001
|
2019-04-29 21:23:46 +05:00 |
|
dimxy
|
5e93f5d3b7
|
satoshiden to prices_normfactor (signed)
|
2019-04-29 20:04:21 +05:00 |
|
dimxy
|
79397bbe88
|
corrected costbasis is the latest minmax value
|
2019-04-29 16:58:05 +05:00 |
|
dimxy
|
6e8e695bc8
|
comment corrected
|
2019-04-27 17:29:41 +05:00 |
|
dimxy
|
f5aea6c1bd
|
clear last 0000 for liqprice
|
2019-04-27 17:07:27 +05:00 |
|
dimxy
|
c0a662824f
|
remove extra logging
|
2019-04-27 15:46:51 +05:00 |
|
dimxy
|
3bf8ab37b5
|
corr arithmetic normalization
|
2019-04-27 15:42:48 +05:00 |
|
dimxy
|
87571e8457
|
corr totalbets normalization
|
2019-04-27 15:37:58 +05:00 |
|
dimxy
|
b6f98557c8
|
totalbets check zero logging added
|
2019-04-27 15:32:08 +05:00 |
|
dimxy
|
5dd59ee7c1
|
prevent average costbasis zero div
|
2019-04-27 15:23:42 +05:00 |
|
dimxy
|
ba495d5baf
|
norm operation grouping
|
2019-04-27 13:46:26 +05:00 |
|
dimxy
|
3c368e8275
|
corr normalization
|
2019-04-27 13:37:44 +05:00 |
|
dimxy
|
eb515ba1ab
|
add norm to average costbasis
|
2019-04-27 13:32:07 +05:00 |
|
dimxy
|
9c2ee630b9
|
added logging accum costbasis
|
2019-04-27 13:23:57 +05:00 |
|
dimxy
|
8de1d2cd1b
|
corr calc average costbasis
|
2019-04-27 13:15:26 +05:00 |
|
dimxy
|
13fdf95907
|
add ave costbasis and liq price (not normalized)
|
2019-04-27 13:01:09 +05:00 |
|
dimxy
|
8d272e1c5f
|
val state cleared
|
2019-04-26 19:43:50 +05:00 |
|
dimxy
|
25b86870c1
|
all return invalid captured
|
2019-04-26 12:05:57 +05:00 |
|
dimxy
|
eb7d77de1d
|
off costbasis validation
|
2019-04-26 01:51:51 +05:00 |
|
dimxy
|
50adff8b8c
|
corr vintx validation for add tx
|
2019-04-26 01:46:25 +05:00 |
|
dimxy
|
1141ce95d8
|
bettx comment validation for add fund tx
|
2019-04-26 01:33:49 +05:00 |
|
dimxy
|
fc1e3209fd
|
more relaxed validation
|
2019-04-26 01:09:51 +05:00 |
|
dimxy
|
94d6916ca4
|
final tx vout check commented
|
2019-04-26 00:59:30 +05:00 |
|
dimxy
|
d9a1ff1695
|
added check vout==index
|
2019-04-26 00:48:35 +05:00 |
|
dimxy
|
2d677f3add
|
logging
|
2019-04-26 00:27:58 +05:00 |
|
dimxy
|
d1c206b347
|
corr addrindex
|
2019-04-26 00:01:59 +05:00 |
|
dimxy
|
7b17cd8a36
|
changed to cc marker
cc marker excluded for addpricesinputs
|
2019-04-25 23:52:53 +05:00 |
|
dimxy
|
4f5d16905a
|
corr check open/closed
|
2019-04-25 20:28:26 +05:00 |
|
dimxy
|
c3854b8084
|
corr cashout amount
|
2019-04-25 20:22:04 +05:00 |
|
dimxy
|
82557a93a4
|
added checks for closed
|
2019-04-25 19:47:33 +05:00 |
|
dimxy
|
02858d9103
|
corr Cashout and Rekt funcs
|
2019-04-25 18:59:37 +05:00 |
|
dimxy
|
fe3e906c46
|
added height > firstheight check
|
2019-04-25 17:33:07 +05:00 |
|
dimxy
|
00a39266aa
|
corr perm costbasis calc
|
2019-04-25 17:15:27 +05:00 |
|
dimxy
|
10447109dd
|
corr equity compare
|
2019-04-25 16:16:18 +05:00 |
|
dimxy
|
1c219dbf67
|
corr costbasis init
corr json vals precision
|
2019-04-25 16:10:05 +05:00 |
|
dimxy
|
ae4d2faa69
|
corr adding array to json res
|
2019-04-25 15:59:07 +05:00 |
|
dimxy
|
6005562b6a
|
corr resultbets entry
|
2019-04-25 15:50:19 +05:00 |
|
dimxy
|
91704c0b0a
|
result to varr
|
2019-04-25 15:40:55 +05:00 |
|
dimxy
|
879a9fbaf8
|
corr break from loop
|
2019-04-25 15:34:55 +05:00 |
|
dimxy
|
1c4c7f677a
|
added prices_scanchain func
added all bets params to json
|
2019-04-25 15:21:22 +05:00 |
|
dimxy
|
f290e2e2b3
|
corr link err (corr func def)
|
2019-04-25 13:23:42 +05:00 |
|
dimxy
|
0331607b71
|
costbasis calc now only for smoothed val
added costbasis calc for added bets
removed test windows 7
|
2019-04-25 13:15:22 +05:00 |
|
dimxy
|
58577b64e1
|
changed valid height
|
2019-04-23 22:49:13 +05:00 |
|
dimxy
|
187ce2a657
|
costbasis validation logging
|
2019-04-23 22:04:54 +05:00 |
|
dimxy
|
db8619363c
|
added costbasis validation
removed cycling in setcostbasis
|
2019-04-23 20:07:07 +05:00 |
|
dimxy
|
37a09bf6cd
|
test bettx vout0 to fake pk
|
2019-04-23 17:24:55 +05:00 |
|
dimxy
|
3de3298e57
|
test bad pk to bettx
|
2019-04-23 17:05:30 +05:00 |
|
dimxy
|
dee7212413
|
temp pubkey validation removed
|
2019-04-23 16:47:58 +05:00 |
|
dimxy
|
36227f2e9c
|
test window=7
|
2019-04-23 16:39:53 +05:00 |
|
dimxy
|
1bf4baf408
|
added normal inputs pubkey validation
|
2019-04-23 15:56:54 +05:00 |
|
dimxy
|
8982ffd918
|
added opret to test tx spending marker
|
2019-04-23 15:42:33 +05:00 |
|
dimxy
|
a8065c0462
|
added testtransactions rpc to table
|
2019-04-23 15:42:32 +05:00 |
|
dimxy
|
f341b517a3
|
corr include, syntax err
|
2019-04-23 15:42:30 +05:00 |
|
dimxy
|
ea96f4d528
|
moved testtransaction to server lib
|
2019-04-23 15:42:29 +05:00 |
|
dimxy
|
c088fa62d5
|
testtransactions.cpp added
|
2019-04-23 15:42:28 +05:00 |
|
dimxy
|
37aa2fbe88
|
test transaction moved to a separate file
added a new test tx to try to spend bettx marker
|
2019-04-23 15:42:28 +05:00 |
|
dimxy
|
b56dc25c8d
|
added logging to PricesList
|
2019-04-23 15:42:26 +05:00 |
|
dimxy
|
a4aad9e05b
|
corr check vout0 validation in ValidateFinalTX
|
2019-04-23 15:42:25 +05:00 |
|
dimxy
|
96c82c5208
|
corr validate for cashout
|
2019-04-23 15:42:24 +05:00 |
|
dimxy
|
1bdd83f1d1
|
changed profits calc (prevent conversion to 0)
|
2019-04-23 15:42:23 +05:00 |
|
dimxy
|
51e5260627
|
corrected profits calc - cast to int64
|
2019-04-23 15:42:22 +05:00 |
|
dimxy
|
0e3351557e
|
corr param num check
|
2019-04-23 15:42:21 +05:00 |
|
dimxy
|
b2c7484255
|
param to lower case
|
2019-04-23 15:42:19 +05:00 |
|
dimxy
|
8b763d971b
|
added missing return
|
2019-04-23 15:41:14 +05:00 |
|
dimxy
|
c19d636d7d
|
added all|open|close opt param to priceslist, mypriceslist
|
2019-04-23 15:41:13 +05:00 |
|
dimxy
|
a18ab80dde
|
mypriceslist added
|
2019-04-23 15:41:11 +05:00 |
|
dimxy
|
efec12bcf5
|
if TESTMODE PRICES_DAYWINDOW=3
|
2019-04-23 15:41:09 +05:00 |
|
dimxy
|
82c6560374
|
costbasis=0 zero div prevention in logging
|
2019-04-23 15:41:08 +05:00 |
|
dimxy
|
5d296e44f5
|
try SATOSHIDEN as signed
|
2019-04-23 15:41:07 +05:00 |
|
dimxy
|
d5d633140e
|
corr calc profits refheight
|
2019-04-23 15:41:06 +05:00 |
|
dimxy
|
5f30987ad6
|
outprice
|
2019-04-23 15:41:05 +05:00 |
|
dimxy
|
71b960a1e1
|
yet corr profits fraction
|
2019-04-23 15:41:04 +05:00 |
|
dimxy
|
01dfdc6b67
|
addfunding now in coins
try correct fraction of profits
|
2019-04-23 15:41:03 +05:00 |
|
dimxy
|
0684f7ab6e
|
corrected temp costbasis calculation for priceinfo
corrected equity loss check
|
2019-04-23 15:41:02 +05:00 |
|
dimxy
|
41f5437f09
|
define for 10000 factor added
|
2019-04-23 15:41:00 +05:00 |
|