bsc-predict / bsc-predict-bot Goto Github PK
View Code? Open in Web Editor NEWPancakeSwap Prediction market bot. Use your own strategy
Home Page: https://www.bscpredict.com
PancakeSwap Prediction market bot. Use your own strategy
Home Page: https://www.bscpredict.com
First of all, nice work with the script. Very easy to add my own strategies.
The only issue I'm facing is the claim function doesn't seem to work. I've done some brief debugging, just enough to know for sure that it is executing claimed = claim(account=self.account, secret_key=self.secret_key)
in BaseBot.py. However nothing is actually being claimed on the contract.
Are you aware of the issue or does it function properly on your system?
Thanks,
Not working on Python 3.8 and 3.11. all sort of errors
File "c:\Python38\Predict\contracts\prediction.py", line 20, in
rounds = [Round(r.split(",")) for r in r.text.split("\n")[1:] if len(r) > 0]
File "c:\Python38\Predict\classes\RoundClass.py", line 29, in init
epoch,
VlueError: too many values to unpack (expected 14)
Using Windows I added \r\n for the next line, still not working. It gets the csv but doesn't see, to parse it correctly.
If I modify RoundCLass like below, it jumps the error but contract is reverted. No bet.
def __init__(self, t: List):
epoch, \
startTimestamp, \
lockTimestamp, \
closeTimestamp, \
lockPrice, \
closePrice, \
lockOracleId, \
closeOracleId, \
totalAmount, \
bullAmount, \
bearAmount, \
rewardBaseCalAmount, \
rewardAmount, \
oracleCalled, \
*extra = t
It's buggy and I'm done iwth it. Verdict. Not working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.