Git Product home page Git Product logo

coinpicker's People

Contributors

circa10a avatar m-ayers avatar torpus avatar

Watchers

 avatar

coinpicker's Issues

Coin passed in as baseline gets characters after the first changed to lowercase

In the scenario where a coin like LBRY is passed in the code changes it to Lbry but the response json is keyed for LBRY. Nice feature for being able to pass in 'ethereum' and have it changed to 'Ethereum' but breaks for coins being returned from the rest call in all caps. Will look into a fix.

python3 coinPicker.py -c LBRY -f approvedCoinFile
Traceback (most recent call last):
  File "coinPicker.py", line 48, in <module>
    fetchCoinJson(coin,coinFile)
  File "coinPicker.py", line 36, in fetchCoinJson
    print(coin + ' = ' + str(rJson[coin]['profitability']) + ' :: ' + coinToMine + ' = ' + str(rJson[coinToMine]['profitability']))
KeyError: 'Lbry'

Coin compared more than once in some scenarios

Vivo was initial coin argument passed in. Ethereum surpases its profit so Eth became the new baseline, then once it got down through the approved coin file it processes vivo again. Need to do a check to see if coin has been processed

Ethereum = 100 :: Vivo = 76
GoByte = 67 :: Ethereum = 100
LBRY = 10 :: Ethereum = 100
Decred = 29 :: Ethereum = 100
Monero = 47 :: Ethereum = 100
Vivo = 76 :: Ethereum = 100
Crowdcoin = 93 :: Ethereum = 100
BitcoinGold = 75 :: Ethereum = 100
Decred = 29 :: Ethereum = 100
EthereumClassic = 90 :: Ethereum = 100
Verge-Lyra2REv2 = 26 :: Ethereum = 100
Vertcoin = 14 :: Ethereum = 100

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.