Skip to content

Commit

Permalink
Merge branch 'v4.0.0_dev' into feature/backtest_result_readability
Browse files Browse the repository at this point in the history
# Conflicts:
#	plotting.py
  • Loading branch information
hawkeye-bot committed Jul 14, 2021
2 parents 50efbdb + 3aae62e commit 7905961
Show file tree
Hide file tree
Showing 8 changed files with 242 additions and 74 deletions.
53 changes: 53 additions & 0 deletions configs/live/binance_btsusdt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{"config_name": "btsusdt_160days_adg1.09%_bkr50.04%",
"logging_level": 0,
"long": {"enabled": true,
"iprc_MAr_coeffs": [[-0.10165948751067731, -0.0982006967675997],
[-0.020998933993309116, -0.36146537854630134],
[0.16528820123583632, 0.1007956992183468]],
"iprc_const": 0.9913105255114821,
"iqty_MAr_coeffs": [[0.051525816141914094, -0.1088103842112288],
[0.011654302607253086, 0.26615098813823296],
[0.10421412162708092, 0.16722176884663284]],
"iqty_const": 0.0907163328069127,
"markup_MAr_coeffs": [[-0.12131244715607409, 0.2564038518313062],
[-0.16958596268339374, 0.06065874264390081],
[-0.08462718059831609, -0.01652227037895018]],
"markup_const": 1.0150586289030816,
"pbr_limit": 1.6980746768459594,
"pbr_stop_loss": 0.1826031397757475,
"rprc_MAr_coeffs": [[-0.039688882447580766, 0.0929035697854128],
[-0.006590693150426989, -0.05389962077172251],
[0.17592015273849254, -0.00954693506973483]],
"rprc_PBr_coeffs": [[-0.7984041180340063, -0.26212085233316496]],
"rprc_const": 0.9739140506941465,
"rqty_MAr_coeffs": [[-0.017906891853922947, 0.03499386750293328],
[0.1295244119440332, -0.23954062407204635],
[-0.034438438904608334, 0.3648717785470692]],
"rqty_const": 1.363378335960883},
"max_span": 5374.537282385304,
"min_span": 937.074789448786,
"n_spans": 3,
"shrt": {"enabled": true,
"iprc_MAr_coeffs": [[-0.2996428815446351, 0.09522186675758945],
[-0.24717017023222662, 0.02466598399782075],
[0.13136783047139025, 0.20449628506747924]],
"iprc_const": 1.01016423870702,
"iqty_MAr_coeffs": [[0.007588913479769805, 0.10359375363402365],
[0.23970600603423536, 0.1698056447468712],
[0.12901637057748755, -0.21727322086771894]],
"iqty_const": 0.25507701358928325,
"markup_MAr_coeffs": [[-0.2103288862673765, -0.10722462800738326],
[-0.29369994745603656, 0.26663939561367755],
[0.039008302299617714, -0.022383302518084184]],
"markup_const": 0.9888708346063914,
"pbr_limit": 0.4547018457868798,
"pbr_stop_loss": 0.4334375761070136,
"rprc_MAr_coeffs": [[0.01777421119511812, 0.0516254651765395],
[-0.05242773304942419, 0.20713850707451548],
[0.06931985024145663, 0.03196023247098609]],
"rprc_PBr_coeffs": [[0.25128221202433043, 0.25264767853265874]],
"rprc_const": 1.0017891521324394,
"rqty_MAr_coeffs": [[-0.19982067865944983, -0.24204507439355802],
[0.17263319867533117, -0.03078990016330754],
[0.23569164601768286, -0.10130501737910064]],
"rqty_const": 0.7682976470378531}}
53 changes: 53 additions & 0 deletions configs/live/binance_hbarusdt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{"config_name": "hbarusdt_118days_adg1.75%_bkr54.28%",
"logging_level": 0,
"long": {"enabled": true,
"iprc_MAr_coeffs": [[0.4, 0.07993340297157177],
[0.2784287060795085, 0.3991675577403908],
[0.1800166159288994, 0.25205680609001574]],
"iprc_const": 0.9980693992715373,
"iqty_MAr_coeffs": [[-0.3438276847908398, 0.3112698858356725],
[-0.07742923354192152, -0.014186963857140146],
[-0.3109007974860414, 0.1245286726827758]],
"iqty_const": 0.03487742455864545,
"markup_MAr_coeffs": [[-0.32960019399796187, 0.2577485410264725],
[-0.2248830066540234, 0.21499580280011976],
[-0.300980963193893, 0.18805080809553826]],
"markup_const": 1.000767811811894,
"pbr_limit": 0.5060404855558596,
"pbr_stop_loss": 0.9554721950240447,
"rprc_MAr_coeffs": [[0.07454439463090806, 0.3762999688472547],
[-0.10859227462033334, 0.07382685710823259],
[0.34782189078741194, 0.06790941222656346]],
"rprc_PBr_coeffs": [[-0.8817629262261516, -0.18371253696618717]],
"rprc_const": 0.971367673621325,
"rqty_MAr_coeffs": [[-0.007757660191236676, -0.2840754640148552],
[0.21678655224740342, 0.263652238147782],
[-0.20151806165949013, 0.05421358087393815]],
"rqty_const": 1.9406678747003623},
"max_span": 6553.984727862074,
"min_span": 1165.5649641216837,
"n_spans": 3,
"shrt": {"enabled": true,
"iprc_MAr_coeffs": [[-0.3669639664076728, -0.21390254420495877],
[-0.18472421142985596, 0.2798217590321346],
[0.32353618303612663, 0.07937834228488914]],
"iprc_const": 1.0003836635223542,
"iqty_MAr_coeffs": [[0.1124633400562173, 0.3199110704054519],
[-0.10998164739992727, 0.31136938694358635],
[0.06518899854279862, -0.012124113202979308]],
"iqty_const": 0.3880224753921916,
"markup_MAr_coeffs": [[-0.36504256656863765, -0.075516979319405],
[0.12794457065615697, -0.33154310308068363],
[-0.09583372407041414, -0.38998243272427496]],
"markup_const": 0.9811100558440901,
"pbr_limit": 1.4255221452726068,
"pbr_stop_loss": -0.02769168707640637,
"rprc_MAr_coeffs": [[-0.11691782494710797, 0.1511420249356807],
[0.036194231034649124, 0.1313779601499256],
[0.4, 0.34454375667427534]],
"rprc_PBr_coeffs": [[0.955743000763437, 0.2807090284856998]],
"rprc_const": 1.0284916095549486,
"rqty_MAr_coeffs": [[-0.09272299615032073, 0.007454230558416118],
[-0.2901933073405225, -0.31900175050537294],
[-0.4, -0.3732085451449507]],
"rqty_const": 0.027718960304135305}}
53 changes: 53 additions & 0 deletions configs/live/binance_manausdt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{"config_name": "manausdt_119days_adg1.11%_bkr63.52%",
"logging_level": 0,
"long": {"enabled": true,
"iprc_MAr_coeffs": [[-0.020179972549256967, -0.04753088201708571],
[-0.03312372650699356, -0.04289787950175045],
[0.04505349244054142, -0.06976051066900676]],
"iprc_const": 0.9703014730461901,
"iqty_MAr_coeffs": [[-0.21935423812291008, 0.08231235020523893],
[-0.19846900413908153, -0.18095738095001948],
[0.3477484826159267, 0.21778998852926193]],
"iqty_const": 0.1253385304239044,
"markup_MAr_coeffs": [[-0.09012821085849824, 0.06949108382777634],
[-0.04406827449952169, 0.10897053437973546],
[-0.03321413922188062, 0.13985800035512885]],
"markup_const": 1.0180174749561692,
"pbr_limit": 1.5389267303480354,
"pbr_stop_loss": 0.9971104735074021,
"rprc_MAr_coeffs": [[-0.03669453038839429, -0.033526119324597564],
[-0.22248614883606976, -0.024832134647255765],
[0.13794819590239454, -0.00395700179825475]],
"rprc_PBr_coeffs": [[-0.496381441846378, -0.8824157290756476]],
"rprc_const": 0.9989130015465455,
"rqty_MAr_coeffs": [[-0.04122371688120499, -0.021310583489415776],
[-0.11636106902103219, 0.14644253554743786],
[-0.08782923539172122, -0.030110493745427316]],
"rqty_const": 2.1362822553449337},
"max_span": 2029.2392999798058,
"min_span": 210.4433000602718,
"n_spans": 3,
"shrt": {"enabled": true,
"iprc_MAr_coeffs": [[-0.20973188448490937, 0.027623573221198024],
[0.10081071416382024, -0.025330951445712305],
[-0.07006351196608906, -0.05393123917450649]],
"iprc_const": 1.0047477495118669,
"iqty_MAr_coeffs": [[-0.12479088168552614, 0.032633144492905046],
[-0.07508483009314795, 0.13262309406598283],
[0.03424306701196755, -0.17704521816952978]],
"iqty_const": 0.03393907177625886,
"markup_MAr_coeffs": [[-0.10278876396038673, -0.06569870020216159],
[0.021663807746839257, -0.03349610041199449],
[0.07389031297086192, 0.05620273553268696]],
"markup_const": 0.9799109701640004,
"pbr_limit": 1.953972417864134,
"pbr_stop_loss": 0.14294283808132976,
"rprc_MAr_coeffs": [[0.061167373502452965, 0.08178552145790713],
[-0.08333688277749458, 0.017894582811576853],
[-0.03638506402800297, -0.004690826379744354]],
"rprc_PBr_coeffs": [[0.3203641880951397, 0.2113627647639362]],
"rprc_const": 1.0162232553657264,
"rqty_MAr_coeffs": [[-0.04726841527346438, 0.020623047518177444],
[-0.12601896504164303, -0.11463117588557156],
[-0.024451826119083492, -0.07992511614427669]],
"rqty_const": 0.6700137162520826}}
98 changes: 49 additions & 49 deletions configs/live/binance_xmrusdt.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{"config_name": "xmrusdt_180days_for_v4_testing",
{"config_name": "xmrusdt_192days_adg0.52%_bkr89%",
"logging_level": 0,
"long": {"enabled": true,
"iprc_MAr_coeffs": [[0.004106469914205057, 0.12083458401160009],
[0.005141985222584151, 0.27973128594034424],
[-0.11499345917568332, 0.004374368246634423]],
"iprc_const": 1.0092128958608435,
"iqty_MAr_coeffs": [[0.1262091909718856, 0.06831274899971977],
[-0.011882977862275428, -0.008678001373701828],
[0.027052801349846355, -0.1284349034400821]],
"iqty_const": 0.11810191530363057,
"markup_MAr_coeffs": [[-0.008334163232905117, 0.26668647963634523],
[-0.046601985366112396, 0.1252598552714736],
[0.14011545480657878, -0.09819797356086028]],
"markup_const": 1.0206911671161911,
"pbr_limit": 0.4696126733756657,
"pbr_stop_loss": 0.3134569434919128,
"rprc_MAr_coeffs": [[0.033136094571494926, 0.01641485996082103],
[-0.19545237926947454, -0.11950978871967866],
[0.1326689512291094, 0.017638444099266327]],
"rprc_PBr_coeffs": [[-0.1732714039448127, 0.061658370519902465]],
"rprc_const": 0.9985971158173941,
"rqty_MAr_coeffs": [[-0.07787654385579448, 0.0649844522748256],
[-0.32661280561619016, 0.02209272103966953],
[-0.0725937809257568, -0.22558501553484175]],
"rqty_const": 0.6804106035477787},
"max_span": 4628.289061364501,
"min_span": 755.6729299823498,
"iprc_MAr_coeffs": [[0.38390533831003426, -0.28569634004623057],
[-0.2860511951407368, 0.3008878062445333],
[-0.017947694922333484, 0.003456373051962558]],
"iprc_const": 0.9986368471832818,
"iqty_MAr_coeffs": [[0.10317940340980065, 0.05884345042819396],
[-0.14058561517401497, -0.08028146392509167],
[0.16536293835789417, -0.09584622805578118]],
"iqty_const": 0.2591381137866127,
"markup_MAr_coeffs": [[-0.21686389944317894, 0.03992631764181527],
[-0.38277224310999697, 0.05076812808263615],
[-0.2133552356661783, -0.2796507557628623]],
"markup_const": 1.013686799475922,
"pbr_limit": 0.7412489230510291,
"pbr_stop_loss": 0.8850857869901652,
"rprc_MAr_coeffs": [[0.2984876817371391, 0.36090634832128005],
[-0.287579262128058, 0.256369655054967],
[0.1316640727013451, 0.07249264018278938]],
"rprc_PBr_coeffs": [[-0.28682677856057753, -0.6999482347166472]],
"rprc_const": 0.9775404137869171,
"rqty_MAr_coeffs": [[-0.14058958964366672, 0.18330040457795915],
[0.0067072351422239555, 0.2364878749518105],
[-0.2947142303506108, 0.07326991598585278]],
"rqty_const": 1.7114931705128638},
"max_span": 2297.9034553491997,
"min_span": 579.5883498946881,
"n_spans": 3,
"shrt": {"enabled": true,
"iprc_MAr_coeffs": [[0.021764321037159053, 0.0075079318750867425],
[-0.02822029560099375, 0.002789007656455701],
[0.3107459801106745, 0.009225810067490299]],
"iprc_const": 1.028400037564102,
"iqty_MAr_coeffs": [[-0.02040241286528053, 0.043886619325719696],
[-0.2185435432382775, 0.023819053604466546],
[0.061509604768872746, -0.04036964252799606]],
"iqty_const": 0.20051809953732833,
"markup_MAr_coeffs": [[-0.1614415320558887, -0.03563771786965954],
[0.0003549442668932752, -0.2220593720438022],
[-0.11136958644273176, -0.011154560318389337]],
"markup_const": 0.994233042877343,
"pbr_limit": 0.6443383053961507,
"pbr_stop_loss": 0.49123689110823376,
"rprc_MAr_coeffs": [[-0.1429875732852174, 0.1973243450252151],
[-0.04951562859754121, 0.0032753234362921835],
[-0.14126514803250548, 0.03699058091855086]],
"rprc_PBr_coeffs": [[-0.060665227650984255, -0.001624305978165112]],
"rprc_const": 1.0236254102559954,
"rqty_MAr_coeffs": [[0.037605353246666855, -0.03778586262240275],
[0.02810053914597384, 0.021165202290817597],
[0.0371537279146842, 0.2596083236486678]],
"rqty_const": 0.4452088614593395}}
"iprc_MAr_coeffs": [[0.08845386658786077, 0.017157856315872733],
[-0.029889651962206415, -0.04592083871577437],
[0.1307080046277678, -0.2887896749947207]],
"iprc_const": 1.0004679475874545,
"iqty_MAr_coeffs": [[-0.18146503336279693, -0.0985392690663802],
[0.3396750268248571, 0.1362277808316432],
[-0.10542620486297291, 0.2825585291796672]],
"iqty_const": 0.06120425323618794,
"markup_MAr_coeffs": [[-0.3082733056950245, -0.24241169543187976],
[0.22403426226913162, 0.09111180489579059],
[-0.08665147965175249, -0.31247727778333256]],
"markup_const": 0.9836908747225341,
"pbr_limit": 0.31548151415683606,
"pbr_stop_loss": 0.6340038637914338,
"rprc_MAr_coeffs": [[-0.04938509306480463, 0.09886523074056734],
[-0.09211401626694102, 0.16716000886582894],
[0.2112155195906607, 0.024629642857572555]],
"rprc_PBr_coeffs": [[0.5432117927173702, 0.16137572670819525]],
"rprc_const": 1.0076188162667274,
"rqty_MAr_coeffs": [[-0.04649485096614456, 0.14013411120750607],
[-0.10628026558050882, -0.06316594674166683],
[-0.27862423865539904, 0.09604349428778508]],
"rqty_const": 0.9644696121423146}}
Loading

0 comments on commit 7905961

Please sign in to comment.