pbgui's People
Forkers
xjwlove noneplayers osasere1m racaes lordofbeer krusher55 fishoppa supermalinge teknosgpt 583 metrosound xiaobai3310 ksiva sephral webclinic017 praying phoenix8459 iampaopaoyu notgood0937 bretzay donewiththedollarpbgui's Issues
Interested in Collaboration and Close Communication
Hello Admin, I'm CazTLo on Binance platform, and I've invested my life savings into trading with you. I would greatly appreciate the opportunity to collaborate on ideas with you. Additionally, I'm eager to learn from you, as I trust you completely with my life.
Would be appreciated if i be able to talk to you!
just hit me up or send me a message
PBRemote Issue
Hi,
I can't seem to get the PBRemote working to sync all the instances together. I was able to setup Rsync as described in the Readme and from my main instance I can see my other 2 servers connected in green text, etc. However whenever I try to sync a bot/config, it doesn't show up on the other instances. When I click Remote, the list of bots/configs on each of my 2 other servers is just empty despite me having clicked "sync to remote" several times. When I click "sync to remote", the PBRemote log file doesn't throw any errors, it shows what looks like a success message: "2024-01-26 00:54:16 sync_to: <main_instance> sync OPUSDT_futures 6a2263e3-7bbd-4bb7-9bf0-78e9f9668759".
What's going wrong?
Run Optimizer stops immediately
`using numba
using numba
using numba
using numba
fetching market_specific_settings for APEUSDT...
market_type futures
user okx_01
latency_simulation_ms 1000
starting_balance 1000.0
start_date 2023-05-25
end_date 2024-05-25
slim_analysis True
base_dir /root/passivbot/backtests/pbgui
ohlcv True
adg_n_subdivisions 10
enable_interactive_plot False
plot_theme light
plot_candles_interval 1m
spot False
exchange okx
session_name 2023-05-25_2024-05-25
symbol APEUSDT
caches_dirpath /root/passivbot/backtests/pbgui/okx/APEUSDT/caches/
plots_dirpath /root/passivbot/backtests/pbgui/okx/APEUSDT/plots/
c_mult 0.1
hedge_mode True
inverse False
maker_fee 0.0002
min_cost 0.0
min_qty 1.0
price_step 0.0001
qty_step 1.0
taker_fee 0.0005
n_harmonies 32
hm_considering_rate 0.9
bandwidth 0.07
pitch_adjusting_rate 0.24
n_particles 36
w 0.73
c0 1
c1 0.4
algorithm harmony_search
n_cpus 2
iters 4000
n_backtest_slices 5
maximum_drawdown_max_long 0.25
maximum_drawdown_max_short 0.25
maximum_drawdown_1pct_worst_mean_long 0.1
maximum_drawdown_1pct_worst_mean_short 0.1
maximum_pa_distance_std_long -1
maximum_pa_distance_std_short -1
maximum_pa_distance_mean_long -1
maximum_pa_distance_mean_short -1
maximum_pa_distance_1pct_worst_mean_long -0.1
maximum_pa_distance_1pct_worst_mean_short -0.1
maximum_loss_profit_ratio_long 0.15
maximum_loss_profit_ratio_short 0.15
maximum_hrs_stuck_max_long 120
maximum_hrs_stuck_max_short 120
maximum_exposure_ratios_mean_long -1
maximum_exposure_ratios_mean_short -1
maximum_time_at_max_exposure_long -1
maximum_time_at_max_exposure_short -1
clip_threshold 0
do_long True
do_short True
backwards_tp_long True
backwards_tp_short True
passivbot_mode recursive_grid
results_fpath results_harmony_search_recursive_grid/2024-05-25T09-53-07_APEUSDT/
config_name recursive_grid_test
logging_level 0
starting new initial eval 1 of 32
starting new initial eval 2 of 32`
I tried running the optimizer many times and immediately stopped afterwards. This is the log file
IndexError: list index out of range
When I select multi and then add, as well as various other menu items, the following error pops up
IndexError: list index out of range
Traceback:
File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/home/pbgui/pages/2_Multi.py", line 104, in
select_instance()
File "/home/pbgui/pages/2_Multi.py", line 41, in select_instance
st.session_state.edit_multi_instance = MultiInstance()
File "/home/pbgui/Multi.py", line 17, in init
self._user = self._users.list()[0]
Bitget Futures unable to fetch list of symobols
Backtest page does not load and when we click on Update symbols button we get following error:
2024-06-10 12:15:37.287 Uncaught app exception
Traceback (most recent call last):
File "/home/delsin/pgbuienv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "/home/delsin/pbgui/pages/3_Backtest.py", line 219, in
bt_add()
File "/home/delsin/pbgui/pages/3_Backtest.py", line 25, in bt_add
my_bt.edit_base()
File "/home/delsin/pbgui/Base.py", line 101, in edit_base
self.user = st.session_state.base_user
File "/home/delsin/pbgui/Base.py", line 53, in user
self._symbol = self._symbols[0]
IndexError: list index out of range
![image](https://private-user-images.githubusercontent.com/31121668/338179687-9ad50853-6820-4b9e-99c2-345ebf35c320.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MzE2MTIsIm5iZiI6MTcxOTYzMTMxMiwicGF0aCI6Ii8zMTEyMTY2OC8zMzgxNzk2ODctOWFkNTA4NTMtNjgyMC00YjllLTk5YzItMzQ1ZWJmMzVjMzIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDAzMjE1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3NThhMmNiZTMxMGVjYmUxMzJjMjliN2JiZjlkYzJkNTM0MTg5ZTVmNzkyYmE5MDRhOGNjMDgwZDQ3MTgxOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZLdKjYKh_CmF0rjG-T5YANP0KEKkGiThep1HS_nA5cE)
Backtest queue issue
error fetching ticks b string indices must be integers {'code': -1003, 'msg': 'Way too many requests; IP(xxx) banned until 1705673011099. Please use the websocket for live updates to avoid bans.'}
When several backtests of one pair are launched simultaneously, the statistics server is bombarded with hundreds of requests simultaneously and blocks the address. Maybe you should first download the required history in pairs and then run a bunch of tests?
Illegal instruction
CPU:D2550
python3.10.12
os:armbian x86
Illegal instruction
Optimize issue
push Add and then we get an error:
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
Traceback:
File "/home/clore/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/home/clore/bot/pbgui/pages/3_Optimize.py", line 133, in
opt_edit()
File "/home/clore/bot/pbgui/pages/3_Optimize.py", line 43, in opt_edit
if my_opt.file and my_opt.position >= 0:
This error appears no matter what.
But I overcame this - we create the necessary conditions. Then in the opt_queue folder we take a fresh json and in it we edit what does not fit, then in the Queue we launch the need settings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.