冲币安新币开盘用的,显而易见,成功率并不高,2021/11/4冲DAR开盘,买在了山顶,及时止损亏了10%,不玩了!
def main(): Log(exchange.GetAccount()) Log(exchange.GetCurrency()) while True: ticker = exchange.GetTicker() if ticker: Log("开盘了,冲啊!!!@") exchange.SetPrecision(1,0) amount = XX/ticker['Last'] exchange.Buy(-1, amount) exchange.Buy(-1, amount/2) exchange.Buy(-1, amount/4) exchange.Buy(-1, amount/8) exchange.Buy(-1, amount/16) Sleep(15*1000) while True: try: _ticker = exchange.GetTicker() if _ticker['Last'] > ticker['Last']: exchange.Sell(-1, amount/3) Log("已经卖出三分之一@") return else: Sleep(30) continue except: Sleep(30) continue else: Sleep(20)
randyshuhaha, great, I'm also getting ready to come up with a new strategy, so we can communicate -- you're a little bit simpler, you can add some parametric constraints.
Drunk picked up a lamp and looked at a swordBuying a rooftop cabin
GCCHa ha, if every new coin goes up, there might be a bump, and then it will probably go down.