using api of kucoin client A = "BTCUSDT" B = "ETHBTC" C = "ETHUSDT" create chain with market orders in 3 steps by using balance: first step: buy A second step: buy B third step: sell C find a gain of these 3 steps every 1500 ms
def create_chain(A, B, C, api, balance=1): #first step: buy A #second step: buy B #third step: sell C #find a gain of these 3 steps every 1500 ms return