Python error when --sim is used

See original GitHub issue

Describe the bug Error : 2022-03-10 23:45:00 | JASMYUSDT | 15m | Close: 0.0169 | BUY Resistance level of 0.0172 formed at 2022-03-10 21:15:00 Fibonacci Retracement Levels:{'ratio0_286': 0.01, 'ratio0': 0.01} TypeError("cannot concatenate object of type '<class 'dict'>'; only Series and DataFrame objs are valid")

when i run simulation

To Reproduce Steps to reproduce the behavior: python3 pycryptobot.py --market JASMYUSDT --live 0 --sim fast Expected behavior Result of the simulation

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.4 LTS
  • pycryptobot beta 6.2.0
  • python 3.9.5
  • pip 22.0.4

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
juancastillacommented, May 2, 2022

same issue here:

running: python3 pycryptobot.py --market BTC-USDT --sim fast-sample --simstartdate 2022-01-01 --simenddate 2022-04-01

leads to:

2022-01-14 20:00:00 | BTCUSDT | 1h | Close: 43100.94 - Ready Chg: 2.42%/0.5% | ^ EMA12/26: 42861.8433 > 42848.7487 ^ | ^ MACD: 13.0945 > -90.0369 ^ | BUY | Last Action: SELL | DF HIGH: 51853.1 | DF LOW: 40679.82 | SWING: 27.47% | CURR Price is -16.88% away from DF HIGH | Range: 2022-01-02 09:00:00 <–> 2022-01-14 20:00:00 2022-01-14 20:00:00 | BTCUSDT | 1h | Close: 43100.94 | BUY Resistance level of 44500.0 formed at 2022-01-13 14:00:00 Fibonacci Retracement Levels:{‘ratio0_768’: 42329.91, ‘ratio0_618’: 43396.78} TypeError(“cannot concatenate object of type ‘<class ‘dict’>’; only Series and DataFrame objs are valid”)

1reaction
t00becommented, Apr 3, 2022

Hello. I have the same problem. I fixed it by updating the matplotlib libraries

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error on set_param SimulationCommand start - Stack Overflow
If I just execute sim("thermo") everything works. Unfortunatelly I would like to use set_param instead of sim. How can I use set_param("thermo", ...
Read more >
Re: Help on using pysim to flash a SIM card - The Mail Archive
Hi Vadim and all, pyProg.py fails with an error, could you help (btw, I change all real info to xxx :)): support@S2600WFT:~/pysim$ python...
Read more >
Python-SimConnect Help with P3D? · Issue #75 - GitHub
The P3D sim i am using is P3D V5 which has a simconnect version of 5.1. 0. Thus, the server (P3D) does not...
Read more >
Can't run python sample - Omniverse Isaac Sim
I get an error importing something called carb. ModuleNotFoundError: No module named 'carb._carb'. The sample is time_stepping.py and the ...
Read more >
[Basic] Python Injecting into The Sims 4 | by TURBODRIVER
Below I'm sharing my own injector function that is used as a decorator to inject various types of functions found in the game...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found