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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Send Money App</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> |
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
<script type="x-shader/x-vertex" id="shader-passthrough-vertex"> | |
varying vec2 vUv; | |
void main() { | |
vUv = uv; | |
gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.0); | |
} | |
</script> | |
<script type="x-shader/x-fragment" id="shader-passthrough-fragment"> | |
uniform sampler2D tDiffuse; |
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
# coding=utf-8 | |
import sys,os | |
import secrets | |
from datetime import datetime | |
import time | |
import csv | |
import random | |
class dailyRecord(): | |
def __init__(self,name): |
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
global FF_ApplyCustomModifierSettings | |
fn FF_ApplyCustomModifierSettings = | |
( | |
result = callbacks.notificationParam() | |
theObj = result[1] | |
theMod = result[2] | |
case classof theMod of | |
( | |
Uvwmap: | |
( |
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
const fetch = require('node-fetch') | |
const CryptoJS = require('crypto-js') | |
var accessKey = `` | |
var passphrase = `` | |
var secretKey = `` | |
const httpGet = (url, param,accessKey,passphrase,secretKey) => { | |
let paramKeys = Object.keys(param) | |
for (let index in paramKeys) { |
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
I am attesting that this GitHub handle kangchihlun is linked to the Tezos account tz1Pfy671qbp8g3eLjpmyt5qrLtYzKrw29RY for tzprofiles | |
sig:edsigtkyrV7hVVRDsxuLuE822skLgKpztYRz5tKdMvbmEuiUcnA8GkjZ8AGjNrkroHEnErFCJQWrHb4euBPrb8DLWTbA1Mpy5xN |
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
# coding=utf-8 | |
import os,sys | |
import time | |
liqperc = 0.05 # 清算線,抓安全一點 5% | |
initialCapital = 10000 | |
omg_1231_entry_price = 13.91 # omg 1231 開倉價 | |
omg_perp_entry_price = 15.378 # omg perp 開倉價 | |
basis = abs(omg_perp_entry_price - omg_1231_entry_price) / omg_perp_entry_price |
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
# coding=utf-8 | |
import os,sys | |
import time | |
import math | |
import random | |
def getLowerFromUpper( | |
P, # 當前幣價 | |
Pu, # 上界 |
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
# coding=utf-8 | |
import os,sys | |
import time | |
import math | |
cprice_eth = 3840 | |
cprice_matic = 1.565 | |
lower = 2000 | |
upper = 2991 | |
initCapital = 6197 # 初始資金(美金) |
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
const okex_api = require('../../libs/okex-api') | |
const constant = require('../../libs/constants') | |
const request = require('request') | |
const numgrid = 100 | |
var marketinfo = {} | |
const fetch_market_info = async () => { | |
let _mkt = await okex_api.fetch_perp_symbols(mode='all') | |
_mkt.forEach((inst) => { | |
marketinfo[inst.instrument_id] = inst |
NewerOlder