This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter | |
from tkinter import * | |
from tkinter import font | |
from tkinter import ttk | |
from quoine.client import Quoinex | |
import datetime | |
import time | |
import urllib | |
import json | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zaifapi import ZaifLeverageTradeApi | |
from zaifapi import ZaifFuturesPublicApi | |
import time | |
import sys | |
###SETTINGS### | |
api_key = "YOUR_API_KEY" | |
api_secret = "YOUR_API_SECRET" | |
chase_size = 0.1 #このサイズ以上の注文に対し割り込みを行う | |
chase_spread = 10 #割り込みの際つける価格差 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zaifapi import ZaifLeverageTradeApi | |
import datetime | |
import time | |
import json | |
import pandas as pd | |
#kara~madeの期間の損益を出力。 | |
kara = datetime.datetime(2018, 3, 16, 0, 0, 0) | |
made = datetime.datetime(2018, 3, 16, 23, 59, 59) | |
unix = time.mktime(kara.timetuple()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: ZOC_v.0.21.py | |
# Purpose: | |
# | |
# Author: sj@crypto | |
# | |
# Created: 08/03/2018 | |
# Copyright: (c) sjtrading | |
# Licence: free 2 use | |
#------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------- | |
# Name: ccxttest.py | |
# Purpose: | |
# | |
# Author: @sj_crypto | |
# | |
# Created: 28/02/2018 | |
# Licence: free | |
#------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zaifapi import ZaifTradeApi | |
from decimal import Decimal | |
print("Zaif Order Client ver.0.11") | |
zaift = ZaifTradeApi("YOUR_API_KEY","YOUR_API_SECRET") | |
print("API call success.") | |
def parts(act): | |
if act == "1": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zaifapi import ZaifLeverageTradeApi | |
from decimal import Decimal | |
print("Zaif Order Client ver.0.01") | |
zaiflt = ZaifLeverageTradeApi("YOUR_API_KEY","YOUR_API_SECRET") | |
print("API call success.") | |
print("1:new order 2:change order 3:cancel order 4:positions") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Will use tool 'Tesseract (sh)' | |
Available languages: eng, osd | |
Will use lang 'eng' | |
Bitcoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import sys | |
import pyocr | |
import pyocr.builders | |
tools = pyocr.get_available_tools() | |
if len(tools) == 0: | |
print("No OCR tool found") | |
sys.exit(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pybitflyer | |
import time | |
import json | |
import pandas as pd | |
def main(): | |
#ループ回数カウンタ(ここでは一度目かどうかしか見ない) | |
loopcount = 0 | |
#APIから呼び出したデータを後ろに引っ付けていく | |
def add_list(list,btcfx): |
NewerOlder