Can it process for less than 1min timeframe
Closed this issue · 4 comments
cibogga commented
Hi. Great script. Please how do i make po_bot_ml.py process for less than 1min timeframe. It crashes whenever i change the time frame to any below 1min
VitalySvyatyuk commented
Hi @cibogga . You can't use < 1 min for po_bot_ml
and po_bot_indicators
. It is how the data received from PO websocket. If you need < 1 min, have a look at po_bot
.
x-ender commented
Thanks
cibogga commented
Please i'm finding it difficult to modify you change currency function to select only non OTC pair with payout above 75%. I've tried everything i know. It seems impossible. Even chatgpt isn't helpful. Is it even achievable? Can you assist me please
VitalySvyatyuk commented
non-OTC pairs available only from Monday to Friday. To change currency to non-OTC with payout > 75, update po_bot.py
:
- change line 252 from
if estimated_profit != '+92%':
toif int(estimated_profit.replace('+', '').replace('%', '')) < 75:
- change line 119 from
currencies = driver.find_elements(By.XPATH, "//li[contains(., '92%')]")
tocurrencies = driver.find_elements(By.XPATH, "//li[contains(., '%')]")
- change line 123 from
currency = random.choice(currencies)
tocurrency = random.choice(currencies[:15])
- change line 124 from
if CURRENCY not in currency.text:
toif CURRENCY not in currency.text and 'OTC' not in currency.text: