板情報を取得し、その10%下に指値注文を入れる。
response = requests.get("https://api.bitflyer.jp/v1/ticker/") date = response.json() best_bid = date["best_bid"] best_bid09 = round(best_bid*0.9) api_key = "" api_secret = "" base_url = "https://api.bitflyer.jp" path_url = "/v1/me/sendchildorder" method = "POST" timestamp = str(datetime.datetime.today()) param = { "product_code" : "BTC_JPY", "child_order_type" : "LIMIT", "side" : "BUY", "price" : best_bid09, "size" : 0.001, }