yo guys i think the market function is not fully working though you can get some of it to work by specifying the currency
from beem import Steem
from beem.account import Account
from beembase import operations
dex2=Market("HBD:HIVE",steem_instance=trading)
also @crokkon and I found a work around for the convert and sell function:
def convert(sbd):
op = operations.Convert( **{
'owner': "maxsieg",
'requestid': randint(0,100),
'amount': ""+str(sbd) +" SBD",
'prefix': trading.prefix
})
tx = trading.finalizeOp(op, acc, "active")
def sell(steem,exp):
op=operations.Limit_order_create( *{
"owner":"maxsieg",
"orderid": randint(0,100),
"amount_to_sell": str(round(steem-0.0005,3))+" STEEM",
"min_to_receive": str(round(steemsellrate()-0.0005,3))+" SBD",
"fill_or_kill": False,
"expiration":(datetime.utcnow()+timedelta(seconds=exp)).strftime("%Y-%m-%dT%H:%M:%S"),
'prefix': trading.prefix
})
tx = trading.finalizeOp(op, acc, "active")
i was stuck on the last one for quite a while and the last few minutes aswell because i couldnt spell receive... trading is my beem instance and acc is my beem account, all be including active keyz
also my asterix characters is not fully showing up in peakd
RE: update for beem: include support for HIVE