BitShares Forum

Main => Stakeholder Proposals => Topic started by: xeroc on January 24, 2015, 03:04:50 pm

Title: Python script to put portions of delegate pay into markers at or below the feed
Post by: xeroc on January 24, 2015, 03:04:50 pm
Source:
https://github.com/xeroc/pytshares/blob/master/exchange-delegate-pay.py

Configuration of RPC:
from https://github.com/xeroc/pytshares/blob/master/config-sample.py
put the RPC config stuff into config.py
Code: [Select]
url = "http://127.0.0.1:19988/rpc"
user = 'username'
passwd = 'pwd'
unlock = "unlockPwd"
wallet = "default"

Configuration of Script:
Code: [Select]
accountname = "delegate.xeroc"       # the delegate
exchangename = "exchange.xeroc"      # a separate account to do the market operations
payoutname = "payouts.xeroc"      # collect all funds to that account
partition = {                                  # how to split the pay .. here 50% stay BTS 25% each for EUR and USD
"USD" : .25,
"EUR" : .25,
"BTS" : .5,
} ## BTS has to be last
spread = 0.02                # put ask 2% below feed 
txfee = 0.1 # BTS
btsprecision = 1e5


I am going to run this on a weekly basis at the above settings to feed the USD and BTS markets with my 3% pay delegate.
Title: Re: Python script to put portions of delegate pay into markers at or below the feed
Post by: fluxer555 on January 24, 2015, 06:22:08 pm
I don't know about this. Doesn't this make the incentives imbalanced? Doesn't this put centralized influence into the free-market system? I'm not an economist, but this doesn't seem kosher to me.

Title: Re: Python script to put portions of delegate pay into markers at or below the feed
Post by: toast on January 24, 2015, 06:23:36 pm
I don't know about this. Doesn't this make the incentives imbalanced? Doesn't this put centralized influence into the free-market system? I'm not an economist, but this doesn't seem kosher to me.

Would it be kosher if delegates did it by hand instead? Some of us want to hedge 30% for tax reasons, for example.

Delegates don't have to run this
Title: Re: Python script to put portions of delegate pay into markers at or below the feed
Post by: fluxer555 on January 24, 2015, 06:27:47 pm
After reading again, I now see that I misunderstood the concept. Carry on