Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plt.subplots() Error #1

Open
yaroshoris opened this issue Feb 18, 2023 · 0 comments
Open

plt.subplots() Error #1

yaroshoris opened this issue Feb 18, 2023 · 0 comments

Comments

@yaroshoris
Copy link

Hi, I faced with an issue in matplotlib during the image_creation.

Could you please help me to overcome this error.
I am sorry, I am not familiar with mathplotlib.

Derivatives fetched (2 sec)...
UniswapV2_ETH_USD starting to train...
[10 / 12] Train Loss: 2136724518.4 | Time 20
Finished training...
Derivative : ETH-30JUN23-1300-P_LONG | Qty : 0.2663932144641876
Derivative : ETH-3MAR23-1700-P_LONG | Qty : 0.34883177280426025
Derivative : ETH-29DEC23-400-P_LONG | Qty : 0.5454152226448059
Derivative : ETH-19FEB23-1750-C_LONG | Qty : 0.11839322000741959
Derivative : ETH-30JUN23-1600-C_LONG | Qty : 0.5747504830360413
Derivative : ETH-29SEP23-2200-C_LONG | Qty : -0.06874413788318634
Derivative : ETH-29SEP23-800-P_LONG | Qty : 0.16246916353702545
Derivative : ETH-29DEC23-1400-C_LONG | Qty : 0.25322407484054565
Derivative : ETH-28APR23-1000-P_LONG | Qty : 0.004981562495231628
Derivative : ETH-29DEC23-5500-C_LONG | Qty : -0.11885019391775131
Derivative : ETH-29DEC23-1200-C_LONG | Qty : 0.34750810265541077
Derivative : ETH-30JUN23-400-P_LONG | Qty : 0.20866447687149048
Derivative : ETH-10MAR23-1600-P_LONG | Qty : 0.6014055013656616
Derivative : ETH-19FEB23-1675-P_LONG | Qty : 0.40389400720596313
Derivative : ETH-10MAR23-1400-P_LONG | Qty : 1.05963134765625
Derivative : ETH-30JUN23-800-P_LONG | Qty : 0.5240401029586792
Derivative : ETH-31MAR23-1500-P_LONG | Qty : 0.3410712480545044
Derivative : ETH-31MAR23-2500-C_LONG | Qty : -0.0705946832895279
Derivative : ETH-10MAR23-2100-C_LONG | Qty : 0.5003399848937988
Derivative : ETH-29DEC23-1900-P_LONG | Qty : 0.9440963268280029
Derivative : ETH-10MAR23-1800-P_LONG | Qty : 0.36805886030197144
Derivative : ETH-10MAR23-2400-C_LONG | Qty : 0.12555336952209473
Derivative : ETH-31MAR23-2300-C_LONG | Qty : 0.4960184693336487
Derivative : ETH-29SEP23-1800-C_LONG | Qty : 0.6061535477638245
Derivative : ETH-28APR23-1300-P_LONG | Qty : 0.5899654626846313
Derivative : ETH-30JUN23-600-P_LONG | Qty : 0.7270155549049377
Derivative : ETH-3MAR23-1250-P_LONG | Qty : 0.878631591796875
Derivative : ETH-29DEC23-1500-C_LONG | Qty : -0.05965476483106613
Derivative : ETH-19FEB23-1700-C_LONG | Qty : 0.785031259059906
Derivative : ETH-24FEB23-1600-P_LONG | Qty : 0.5690056681632996
Derivative : ETH-29DEC23-600-P_LONG | Qty : 0.31110239028930664
Derivative : ETH-18FEB23-1725-P_LONG | Qty : 1.0483930110931396
Derivative : ETH-18FEB23-1650-C_LONG | Qty : 0.35467877984046936
Derivative : ETH-29DEC23-1000-P_LONG | Qty : 0.7269138097763062
Derivative : ETH-30JUN23-1700-C_LONG | Qty : 0.7023255228996277
Derivative : ETH-30JUN23-2600-C_LONG | Qty : 0.2409207969903946
Derivative : ETH-3MAR23-1800-C_LONG | Qty : 0.4035707116127014
Derivative : ETH-28APR23-1800-C_LONG | Qty : -0.041958536952733994
Derivative : ETH-19FEB23-1650-P_LONG | Qty : 0.21100184321403503
Derivative : ETH-3MAR23-1750-C_LONG | Qty : 0.043139271438121796
Derivative : ETH-28APR23-3200-C_LONG | Qty : 0.801819384098053
Derivative : ETH-31MAR23-800-P_LONG | Qty : 0.09069570899009705
Derivative : ETH-24FEB23-1800-P_LONG | Qty : 1.0337564945220947
Derivative : ETH-29SEP23-1700-P_LONG | Qty : 0.2584429979324341
Derivative : ETH-3MAR23-1450-P_LONG | Qty : 0.3658530116081238
Derivative : ETH-29DEC23-2500-C_LONG | Qty : 0.04158387333154678
Derivative : ETH-29DEC23-1200-P_LONG | Qty : -0.08102457225322723
Derivative : ETH-10MAR23-2200-C_LONG | Qty : 0.5865296125411987
Derivative : ETH-10MAR23-1350-P_LONG | Qty : 0.9441972374916077
Derivative : ETH-31MAR23-600-P_LONG | Qty : 0.8566763997077942
Derivative : ETH-10MAR23-900-P_LONG | Qty : 0.3566584587097168
Derivative : ETH-29SEP23-1800-P_LONG | Qty : 0.8959375619888306
Derivative : ETH-30JUN23-5000-C_LONG | Qty : 0.4805355668067932
Derivative : ETH-10MAR23-2600-C_LONG | Qty : 0.5383511781692505
Derivative : ETH-29DEC23-800-P_LONG | Qty : 0.2463064342737198
Derivative : ETH-29DEC23-1100-P_LONG | Qty : 0.48961755633354187
Derivative : ETH-3MAR23-1150-P_LONG | Qty : 0.7971398234367371
Derivative : ETH-28APR23-2800-C_LONG | Qty : -0.059725597500801086
Derivative : ETH-10MAR23-1300-P_LONG | Qty : 0.21763327717781067
Derivative : ETH-29SEP23-5500-C_LONG | Qty : -0.10425378382205963
Derivative : ETH-30JUN23-5500-C_LONG | Qty : -0.0406428724527359
Derivative : ETH-3MAR23-1650-P_LONG | Qty : 0.7413961291313171
Derivative : ETH-30JUN23-1200-P_LONG | Qty : 0.7183807492256165
Derivative : ETH-30JUN23-1900-C_LONG | Qty : 0.7630876302719116
Derivative : ETH-30JUN23-1800-P_LONG | Qty : 0.38083043694496155
Derivative : ETH-10MAR23-2800-C_LONG | Qty : -0.02876313403248787
Derivative : ETH-30JUN23-900-P_LONG | Qty : 0.7948668599128723
Derivative : ETH-29DEC23-1700-P_LONG | Qty : 1.0500602722167969
Derivative : ETH-19FEB23-1600-P_LONG | Qty : 0.8519355654716492
Derivative : ETH-29SEP23-200-P_LONG | Qty : -0.11638899892568588
Derivative : ETH-10MAR23-1900-C_LONG | Qty : 0.6558263301849365
Derivative : ETH-24FEB23-1950-C_LONG | Qty : 0.4819050431251526
Derivative : ETH-3MAR23-1300-P_LONG | Qty : 0.9658588767051697
Derivative : ETH-29SEP23-1000-P_LONG | Qty : -0.0660066157579422
Derivative : ETH-31MAR23-2200-C_LONG | Qty : 0.16000507771968842
Derivative : ETH-28APR23-1700-P_LONG | Qty : 0.24709749221801758
Derivative : ETH-30JUN23-2000-C_LONG | Qty : 0.809560239315033
Derivative : ETH-31MAR23-1600-P_LONG | Qty : 1.070061445236206
Derivative : ETH-29SEP23-1600-C_LONG | Qty : 0.4840746819972992
Derivative : ETH-29SEP23-3000-C_LONG | Qty : 0.32931971549987793
Derivative : ETH-29DEC23-5000-C_LONG | Qty : -0.1013270765542984
Derivative : ETH-29SEP23-1300-P_LONG | Qty : 0.2601936459541321
Derivative : ETH-10MAR23-1550-P_LONG | Qty : 0.37508395314216614
Derivative : ETH-31MAR23-1000-P_LONG | Qty : 0.6197957992553711
Derivative : ETH-29DEC23-3000-C_LONG | Qty : 0.013979600742459297
Derivative : ETH-10MAR23-1850-C_LONG | Qty : 0.5690299868583679
Derivative : ETH-30JUN23-900-C_LONG | Qty : 0.226173996925354
Derivative : ETH-28APR23-3600-C_LONG | Qty : 0.06470105051994324
Derivative : ETH-30JUN23-2500-C_LONG | Qty : 0.8707181811332703
Derivative : ETH-31MAR23-1100-C_LONG | Qty : 0.000692903995513916
Derivative : ETH-24FEB23-1550-C_LONG | Qty : 0.7895316481590271
Derivative : ETH-10MAR23-1500-C_LONG | Qty : 0.13012072443962097
Derivative : ETH-28APR23-600-P_LONG | Qty : 0.6644392609596252
Derivative : ETH-29SEP23-2000-P_LONG | Qty : 0.8793157339096069
Derivative : ETH-19FEB23-1775-C_LONG | Qty : 0.1939568668603897
Derivative : ETH-30JUN23-4000-C_LONG | Qty : 0.3330928683280945
Derivative : ETH-29SEP23-4500-C_LONG | Qty : 0.2759021520614624
Derivative : ETH-31MAR23-1800-P_LONG | Qty : 0.1695951223373413
Derivative : ETH-30JUN23-1700-P_LONG | Qty : 0.3417481482028961
Derivative : ETH-3MAR23-1600-P_LONG | Qty : 0.9629430174827576
Derivative : ETH-30JUN23-2000-P_LONG | Qty : 0.7417161464691162
Derivative : ETH-28APR23-2600-C_LONG | Qty : 0.38041600584983826
Derivative : ETH-10MAR23-1650-C_LONG | Qty : 0.33187246322631836
Derivative : ETH-28APR23-2500-C_LONG | Qty : 0.7392162680625916
Derivative : ETH-29DEC23-4500-C_LONG | Qty : 0.49872684478759766
Derivative : ETH-30JUN23-4500-C_LONG | Qty : 0.8118749260902405
Derivative : ETH-10MAR23-1600-C_LONG | Qty : 0.6440513730049133
Derivative : ETH-28APR23-1500-P_LONG | Qty : 0.38405564427375793
Derivative : ETH-31MAR23-2600-C_LONG | Qty : 0.46097812056541443
Derivative : ETH-3MAR23-1700-C_LONG | Qty : 0.045880645513534546
Derivative : ETH-19FEB23-1725-C_LONG | Qty : -0.05686455965042114
Derivative : ETH-10MAR23-1000-P_LONG | Qty : 0.5261355042457581
Derivative : ETH-24FEB23-1300-P_LONG | Qty : 0.34742793440818787
Derivative : ETH-29SEP23-1500-P_LONG | Qty : 0.8011754155158997
Derivative : ETH-31MAR23-2100-C_LONG | Qty : 0.8413718342781067
Derivative : ETH-18FEB23-1700-P_LONG | Qty : 0.9066497683525085
Derivative : ETH-3MAR23-1650-C_LONG | Qty : 0.7104817032814026
Derivative : ETH-29SEP23-300-P_LONG | Qty : 0.6085850596427917
Derivative : ETH-3MAR23-1350-P_LONG | Qty : 0.4490874409675598
Derivative : ETH-3MAR23-1800-P_LONG | Qty : 0.6257497072219849
Derivative : ETH-30JUN23-6500-C_LONG | Qty : 0.8131425976753235
Derivative : ETH-10MAR23-2000-C_LONG | Qty : 0.8063007593154907
Derivative : ETH-29DEC23-4000-C_LONG | Qty : 0.5937125086784363
Derivative : ETH-3MAR23-1200-P_LONG | Qty : 0.5524880886077881
Derivative : ETH-28APR23-2400-C_LONG | Qty : -0.022921456024050713
Derivative : ETH-29SEP23-600-P_LONG | Qty : -0.10173001140356064
Derivative : ETH-24FEB23-1600-C_LONG | Qty : 0.8750669956207275
Derivative : ETH-10MAR23-1750-C_LONG | Qty : 0.6432402729988098
Derivative : ETH-31MAR23-1700-P_LONG | Qty : 0.4634934663772583
Derivative : ETH-28APR23-700-P_LONG | Qty : -0.020755302160978317
Derivative : ETH-31MAR23-1600-C_LONG | Qty : 0.24536404013633728
Derivative : ETH-28APR23-1200-P_LONG | Qty : 0.8282329440116882
Derivative : ETH-19FEB23-1750-P_LONG | Qty : 0.4578937292098999
Derivative : ETH-31MAR23-1200-P_LONG | Qty : 0.17928704619407654
Derivative : ETH-3MAR23-1500-P_LONG | Qty : 0.6453590989112854
Derivative : ETH-28APR23-2300-C_LONG | Qty : 0.1760604828596115
Derivative : ETH-3MAR23-2200-C_LONG | Qty : 0.47107139229774475
Derivative : ETH-10MAR23-1800-C_LONG | Qty : 0.1887509822845459
Derivative : ETH-24FEB23-1750-P_LONG | Qty : 0.9394285082817078
Derivative : ETH-29DEC23-3500-C_LONG | Qty : -0.035275351256132126
Derivative : ETH-24FEB23-1900-C_LONG | Qty : 0.07380668818950653
Derivative : ETH-28APR23-1900-P_LONG | Qty : 0.32753986120224
Derivative : ETH-28APR23-800-P_LONG | Qty : 0.5502063035964966
Derivative : ETH-30JUN23-2300-C_LONG | Qty : 0.2509201765060425
Derivative : ETH-28APR23-1100-P_LONG | Qty : 0.6350439190864563
Derivative : ETH-29DEC23-1300-P_LONG | Qty : 0.5084047317504883
Derivative : ETH-29SEP23-1600-P_LONG | Qty : 0.1554563343524933
Derivative : ETH-19FEB23-1800-C_LONG | Qty : 0.7656753063201904
Derivative : ETH-29DEC23-1500-P_LONG | Qty : 0.9952732920646667
Derivative : ETH-29SEP23-1200-P_LONG | Qty : 0.46495166420936584
Derivative : ETH-10MAR23-1500-P_LONG | Qty : 0.36235275864601135
Derivative : ETH-30JUN23-1100-P_LONG | Qty : -0.06098657101392746
Derivative : ETH-29SEP23-700-P_LONG | Qty : 0.4715193510055542
Derivative : ETH-28APR23-1900-C_LONG | Qty : 0.6118538975715637
Derivative : ETH-3MAR23-1550-P_LONG | Qty : 0.4219663143157959
Derivative : ETH-10MAR23-1700-C_LONG | Qty : 0.7978982925415039
Derivative : ETH-31MAR23-3200-C_LONG | Qty : 0.17329244315624237
Derivative : ETH-30JUN23-500-P_LONG | Qty : 0.35058897733688354
Derivative : ETH-31MAR23-900-P_LONG | Qty : 0.6807788610458374
Derivative : ETH-31MAR23-1900-P_LONG | Qty : 0.12071634083986282
Derivative : ETH-29SEP23-4000-C_LONG | Qty : 0.49023473262786865
Derivative : ETH-31MAR23-1200-C_LONG | Qty : 0.384480744600296
Derivative : ETH-31MAR23-1400-P_LONG | Qty : 0.7008042335510254
Derivative : ETH-31MAR23-2000-C_LONG | Qty : -0.025917597115039825
Derivative : ETH-29DEC23-2200-P_LONG | Qty : 0.5754087567329407
Derivative : ETH-29DEC23-1600-P_LONG | Qty : 0.8045167326927185
Derivative : ETH-30JUN23-2400-C_LONG | Qty : 0.14249728620052338
Derivative : ETH-24FEB23-1350-P_LONG | Qty : 0.8572816252708435
Derivative : ETH-30JUN23-300-P_LONG | Qty : 0.481825590133667
Derivative : ETH-30JUN23-3500-C_LONG | Qty : 0.06693610548973083
Derivative : ETH-24FEB23-1500-C_LONG | Qty : 0.13853518664836884
Derivative : ETH-18FEB23-1700-C_LONG | Qty : -0.10473991185426712
Derivative : ETH-29DEC23-1800-P_LONG | Qty : 0.6283696889877319
Derivative : ETH-24FEB23-1500-P_LONG | Qty : 0.3885508179664612
Derivative : ETH-31MAR23-1300-C_LONG | Qty : 0.32713234424591064
Derivative : ETH-30JUN23-700-P_LONG | Qty : -0.08303000032901764
Derivative : ETH-31MAR23-700-P_LONG | Qty : 0.44010940194129944
Derivative : ETH-29DEC23-200-P_LONG | Qty : -0.11877944320440292
Derivative : ETH-29DEC23-2000-C_LONG | Qty : 0.8117557764053345
Derivative : ETH-10MAR23-1450-P_LONG | Qty : 0.7055929899215698
Derivative : ETH-18FEB23-1675-P_LONG | Qty : 0.4017474353313446
Derivative : ETH-24FEB23-1750-C_LONG | Qty : 0.02290661633014679
Derivative : ETH-28APR23-3400-C_LONG | Qty : 0.18858276307582855
Derivative : ETH-10MAR23-1650-P_LONG | Qty : 0.45517683029174805
Derivative : ETH-31MAR23-1400-C_LONG | Qty : 0.035927921533584595
Derivative : ETH-19FEB23-1825-C_LONG | Qty : 0.18095120787620544
Derivative : ETH-29DEC23-1900-C_LONG | Qty : 0.7600202560424805
Derivative : ETH-29DEC23-1600-C_LONG | Qty : 0.7631820440292358
Derivative : ETH-28APR23-1600-C_LONG | Qty : 0.22619131207466125
Derivative : ETH-3MAR23-1850-C_LONG | Qty : 0.14016784727573395
Derivative : ETH-10MAR23-1750-P_LONG | Qty : 0.3010506331920624
Derivative : ETH-24FEB23-1400-P_LONG | Qty : 0.5272440910339355
Derivative : ETH-28APR23-3000-C_LONG | Qty : 0.8653337359428406
Derivative : ETH-30JUN23-1400-P_LONG | Qty : 1.0886822938919067
Derivative : ETH-24FEB23-1550-P_LONG | Qty : 0.21670421957969666
Derivative : ETH-28APR23-900-P_LONG | Qty : 0.2958567142486572
Derivative : ETH-31MAR23-1100-P_LONG | Qty : 0.9959059953689575
Derivative : ETH-28APR23-1700-C_LONG | Qty : 0.3266837000846863
Derivative : ETH-3MAR23-1900-C_LONG | Qty : -0.11345618963241577
Derivative : ETH-29SEP23-2500-C_LONG | Qty : 0.5676674246788025
Derivative : ETH-28APR23-2200-C_LONG | Qty : 0.6091547012329102
Derivative : ETH-24FEB23-1700-C_LONG | Qty : 0.09990064799785614
Derivative : ETH-29SEP23-2000-C_LONG | Qty : -0.007466563023626804
Derivative : ETH-29DEC23-1300-C_LONG | Qty : 0.058162182569503784
Derivative : ETH-3MAR23-1600-C_LONG | Qty : -0.04671541601419449
Derivative : ETH-24FEB23-1650-C_LONG | Qty : 0.49520188570022583
Derivative : ETH-29SEP23-1700-C_LONG | Qty : 0.2017221748828888
Derivative : ETH-19FEB23-1725-P_LONG | Qty : 0.24261508882045746
Derivative : ETH-24FEB23-1450-P_LONG | Qty : 1.0052047967910767
Derivative : ETH-31MAR23-1800-C_LONG | Qty : 0.6877776980400085
Derivative : ETH-24FEB23-2000-C_LONG | Qty : -0.07384683191776276
Derivative : ETH-18FEB23-1675-C_LONG | Qty : 0.5938206315040588
Derivative : ETH-31MAR23-3400-C_LONG | Qty : -0.03929807245731354
Derivative : ETH-28APR23-1800-P_LONG | Qty : 0.6867581605911255
Derivative : ETH-28APR23-1500-C_LONG | Qty : 0.7180299162864685
Derivative : ETH-29DEC23-2000-P_LONG | Qty : 0.7111417651176453
Derivative : ETH-3MAR23-1100-P_LONG | Qty : 0.39405760169029236
Derivative : ETH-24FEB23-1650-P_LONG | Qty : 0.6622461080551147
Derivative : ETH-30JUN23-6000-C_LONG | Qty : 0.4427005350589752
Derivative : ETH-28APR23-1600-P_LONG | Qty : 0.3325950503349304
Derivative : ETH-29SEP23-1400-P_LONG | Qty : 1.1144871711730957
Derivative : ETH-30JUN23-2100-C_LONG | Qty : 0.8468642830848694
Derivative : ETH-19FEB23-1675-C_LONG | Qty : 0.6787647604942322
Derivative : ETH-30JUN23-1500-P_LONG | Qty : 0.12248727679252625
Derivative : ETH-24FEB23-1300-C_LONG | Qty : 0.05246472358703613
Derivative : ETH-29SEP23-1900-P_LONG | Qty : 0.2459302693605423
Derivative : ETH-24FEB23-1800-C_LONG | Qty : 0.5337473154067993
Derivative : ETH-29SEP23-3500-C_LONG | Qty : 0.6966158747673035
Derivative : ETH-3MAR23-1400-P_LONG | Qty : 0.5582373738288879
Derivative : ETH-30JUN23-1800-C_LONG | Qty : 0.5158051252365112
Derivative : ETH-29SEP23-1100-P_LONG | Qty : 0.3819553256034851
Derivative : ETH-3MAR23-2400-C_LONG | Qty : 0.526529848575592
Derivative : ETH-31MAR23-1700-C_LONG | Qty : 0.2503393590450287
Derivative : ETH-10MAR23-1100-P_LONG | Qty : 0.7344710230827332
Derivative : ETH-31MAR23-3000-C_LONG | Qty : 0.7757068276405334
Derivative : ETH-30JUN23-1000-P_LONG | Qty : -0.11363203823566437
Derivative : ETH-10MAR23-1200-P_LONG | Qty : 0.12720468640327454
Derivative : ETH-29SEP23-900-P_LONG | Qty : 0.524795651435852
Derivative : ETH-31MAR23-1500-C_LONG | Qty : 0.6297632455825806
Derivative : ETH-29DEC23-1400-P_LONG | Qty : 0.20857442915439606
Derivative : ETH-31MAR23-3500-C_LONG | Qty : 0.4837947487831116
Derivative : ETH-28APR23-2000-C_LONG | Qty : 0.4004441499710083
Derivative : ETH-24FEB23-1700-P_LONG | Qty : 0.1468174308538437
Derivative : ETH-28APR23-1400-P_LONG | Qty : 0.9555763006210327
Derivative : ETH-24FEB23-2100-C_LONG | Qty : 0.35164427757263184
Derivative : ETH-31MAR23-2400-C_LONG | Qty : 0.683199405670166
Derivative : ETH-30JUN23-1900-P_LONG | Qty : 0.34849315881729126
Derivative : ETH-10MAR23-1250-P_LONG | Qty : 0.8182446956634521
Derivative : ETH-31MAR23-2800-C_LONG | Qty : 0.39182376861572266
Derivative : ETH-19FEB23-1625-P_LONG | Qty : 0.122331403195858
Derivative : ETH-19FEB23-1700-P_LONG | Qty : 0.9164912104606628
Derivative : ETH-29SEP23-1900-C_LONG | Qty : 0.15066739916801453
Derivative : ETH-29SEP23-5000-C_LONG | Qty : -0.11878897249698639
Derivative : ETH-29SEP23-400-P_LONG | Qty : 0.6893854737281799
Derivative : ETH-10MAR23-1700-P_LONG | Qty : 0.6193593144416809
Derivative : ETH-3MAR23-2000-C_LONG | Qty : 0.0726034939289093
Derivative : ETH-30JUN23-1600-P_LONG | Qty : 0.4776587188243866
Derivative : ETH-28APR23-2100-C_LONG | Qty : -0.004676184616982937
Derivative : ETH-31MAR23-1900-C_LONG | Qty : 0.4168780744075775
Derivative : ETH-29SEP23-500-P_LONG | Qty : 0.28146660327911377
Derivative : ETH-3MAR23-1750-P_LONG | Qty : 0.7250677943229675
Derivative : ETH-30JUN23-3000-C_LONG | Qty : 0.5238500833511353
Derivative : ETH-29DEC23-2200-C_LONG | Qty : 0.8771857619285583
Derivative : ETH-31MAR23-1300-P_LONG | Qty : 0.1566387563943863
Derivative : ETH-30JUN23-2200-C_LONG | Qty : 0.7330741882324219
Traceback (most recent call last):
File "C:\Users\yaros\OneDrive\3_DEV\DeFi_test\lp-delta-hedge-main\src\v2_experiment_runner.py", line 46, in
runner.present_pnl("Options Portfolio Payoff - ETH USD - Uniform Liquidity")
File "C:\Users\yaros\OneDrive\3_DEV\DeFi_test\lp-delta-hedge-main\src\delta_hedge\OptimizationRunner.py", line 114, in present_pnl
create_plot_from_fn(
File "C:\Users\yaros\OneDrive\3_DEV\DeFi_test\lp-delta-hedge-main\utils\image_creation.py", line 22, in create_plot_from_fn
_, ax = plt.subplots()
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 1474, in subplots
fig = figure(**fig_kw)
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib_api\deprecation.py", line 454, in wrapper
return func(*args, **kwargs)
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 813, in figure
manager = new_figure_manager(
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 382, in new_figure_manager
_warn_if_gui_out_of_main_thread()
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 360, in _warn_if_gui_out_of_main_thread
if _get_required_interactive_framework(_get_backend_mod()):
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 208, in _get_backend_mod
switch_backend(rcParams._get("backend"))
File "C:\Users\yaros\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 331, in switch_backend
manager_pyplot_show = vars(manager_class).get("pyplot_show")
TypeError: vars() argument must have dict attribute

Process finished with exit code 1

And my conf file is:
{ "name": "UniswapV2_ETH_USD", "asset": "ETH", "long_only": "True", "initial_asset_price": 1613.68, "learning_rate": 0.01, "final_price_lower_bound": 1000, "final_price_upper_bound": 2000, "num_samples": 6000, "batch_size": 500, "test_batch_size": 100, "log_every": 10, "portfolio_initial_value": 463647 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant