Code Monkey home page Code Monkey logo

bsc-predict-bot's People

Contributors

bsc-predict avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bsc-predict-bot's Issues

Claim Function

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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.