0 Members and 1 Guest are viewing this topic.
I just merged a pull request of forum member "alt" which allows to define the collateral and short squeeze ratio. Plese update the code and add the new configuration parameters
commit d6b19bc465fbd80021c20e814286cb4d27f8118dAuthor: Fabian Schuh <mail@xeroc.org>Date: Wed Oct 14 12:54:00 2015 +0200 Price Feed Script Update + added configuration variables to disable/enable exchanges New config Variables: ## Enable exchanges enable_yunbi = True enable_btc38 = True enable_bter = False enable_polonie = True enable_bittrex = True enable_btcavg = True
it complains "No module named 'grapheneapi'"Code: [Select] python3 pricefeeds.pyTraceback (most recent call last): File "pricefeeds.py", line 44, in <module> from grapheneapi import GrapheneAPIImportError: No module named 'grapheneapi'
python3 pricefeeds.pyTraceback (most recent call last): File "pricefeeds.py", line 44, in <module> from grapheneapi import GrapheneAPIImportError: No module named 'grapheneapi'
python3 setup.py install --user
Quote from: Xeldal on October 10, 2015, 06:20:17 pmI assume the issue is where I define -s "<ip-of-full/witness-node:port>" from the directions:programs/cli_wallet/cli_wallet --rpc-http-endpoint="127.0.0.1:8092" -s "<ip-of-full/witness-node:port>"but I can't find anything that makes it happy here.I use thisCode: [Select]./cli_wallet -w oct5_w0 --chain-id 60e21871125ea9995fe498b7f68a87a85c6583725ea5448f6fd969c59a37df83 -s ws://127.0.0.1:8090 -H 127.0.0.1:8092
I assume the issue is where I define -s "<ip-of-full/witness-node:port>" from the directions:programs/cli_wallet/cli_wallet --rpc-http-endpoint="127.0.0.1:8092" -s "<ip-of-full/witness-node:port>"but I can't find anything that makes it happy here.
./cli_wallet -w oct5_w0 --chain-id 60e21871125ea9995fe498b7f68a87a85c6583725ea5448f6fd969c59a37df83 -s ws://127.0.0.1:8090 -H 127.0.0.1:8092
:~/graphene/programs/cli_wallet# ./cli_wallet -w test_wallet --chain-id 60e21871125ea9995fe498b7f68a87a85c6583725ea5448f6fd969c59a37df83 -H 127.0.0.1:8092 -s "127.0.0.1:8090" Logging RPC to file: logs/rpc/rpc.log638120ms th_a main.cpp:114 main ] key_to_wif( committee_private_key ): 5...W638121ms th_a main.cpp:118 main ] nathan_pub_key: GPH...V638121ms th_a main.cpp:119 main ] key_to_wif( nathan_private_key ): 5...3638122ms th_a main.cpp:166 main ] wdata.ws_server: 127.0.0.1:809010 assert_exception: Assert Exceptionuri.substr(0,3) == "ws:": {} th_a websocket.cpp:600 connect {"uri":"127.0.0.1:8090"} th_a websocket.cpp:621 connect
./witness_node --rpc-endpoint "127.0.0.1:8090" --genesis-json oct5-genesis.json -d oct5 -s "104.236.51.238:2005" -s "104.236.144.84:1776" --witness-id '"1.6.24"' --private-key '["GPH...t","5...5"]'