FTX Sample Code https://github.com/ftexchange/ftx
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
■中二病っぽいセリフ | |
「私は失敗したことがありません。 | |
ただ、うまくいかない方法を1万通り発見しただけです。」 | |
狂気:それは、同じことを何度も何度も繰り返し行い、 | |
違う結果を予測することである。 | |
■わすれないこと | |
・家族を大事に大切にする | |
・友達を大事に大切にする |
This file contains hidden or 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 asyncio | |
import ccxt.async_support as ccxt | |
from random import gauss, uniform | |
async def main(): | |
api = ccxt.bitflyer({'apiKey':'xxxx','secret':'xxxx'}) | |
async def wabi(no): | |
while True: |
This file contains hidden or 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
cmake_minimum_required(VERSION 2.8) | |
add_definitions("-Wall -std=c++11") | |
add_executable(main main.cpp) | |
add_executable(search search.cpp) |
This file contains hidden or 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
#include <stdio.h> | |
int main(void){ | |
unsigned long in = 0x00000003; | |
unsigned long out; | |
out = in; | |
out = ((out & 0x0000ff00) << 8) | (out & 0x000000ff); | |
out = ((out & 0x00f0f0f0) << 4) | (out & 0x000f0f0f); | |
out = ((out & 0x0ccccccc) << 2) | (out & 0x03333333); | |
out = ((out & 0xaaaaaaaa) << 1) | (out & 0x55555555); | |
printf("in %lx out %lx\n",in, out); |
This file contains hidden or 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
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
class Ramp { | |
public: | |
Ramp(float v_start, float v_max, float v_end, float acceleration, float L, float T) | |
{ | |
/* 加速時間と減速時間を計算 | |
http://keisan.casio.jp/exec/system/1164005431 */ |
This file contains hidden or 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
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
class Ramp { | |
public: | |
Ramp(float v_start, float v_max, float v_end, float acceleration, float L) | |
{ | |
/* 加速時間と減速時間を計算 | |
http://keisan.casio.jp/exec/system/1164005431 */ |
This file contains hidden or 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
#include <functional> | |
#include <stdio.h> | |
typedef struct { | |
unsigned int state; | |
} co_state_t; | |
#define co_begin(T)\ | |
{\ | |
co_state_t *__current = &(T);\ |
#DCモータのサーボ制御メモ
NewerOlder