View CCy_File_1.mqh
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
//+------------------------------------------------------------------+ | |
//| CCy_File_1.mqh | | |
//| igotit | | |
//| https://igotit.tistory.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "igotit" | |
#property link "https://igotit.tistory.com" | |
#property version "1.00" | |
#property strict |
View CCy_Commission_1.mqh
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
//+------------------------------------------------------------------+ | |
//| CCy_Commission_1.mqh | | |
//| igotit | | |
//| https://igotit.tistory.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "igotit" | |
#property link "https://igotit.tistory.com" | |
#property version "1.00" | |
#property strict |
View bybit USDT perpetual real time execution data.py
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
################ bybit WebSocket example. USDT perpetual ETHUSDT | |
import asyncio | |
import websockets | |
import json |
View bybit_websocket_execution_example.py
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
def processing_execution(data_dic_one): | |
leaves_qty = dic_json.get('leaves_qty') | |
if leaves_qty > 0 : | |
return | |
## 여기 이하 전량체결 이벤트일 때 수행됨. | |
## 봇에서 주문 낸 지정가 주문(지정가 의도했으나 시장가 체결된것 포함) 이 전량체결 시점임. | |
_symbol = dic_json.get('symbol') |
View mql5_CTrade.PositionClose.cpp
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
//+------------------------------------------------------------------+ | |
//| CyClosePositionAll.mq5 | | |
//| igotit | | |
//| http://igotit.tistory.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "igotit" | |
#property link "http://igotit.tistory.com" | |
#property version "1.00" | |
#include <Trade\Trade.mqh> |
View plugin.js
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
CKEDITOR.plugins.add( 'Cy-GistInsert', { | |
icons: 'Cy-GistInsert', | |
init: function( editor ) { | |
editor.addCommand( 'cmd-insertgist1', { // adding the command | |
exec: function( editor ) { | |
editor.insertHtml( 'Test from plugin Cy-GistInsert cmd-insertgist1 ' ); // at now just testing purpose. | |
} | |
}); | |
editor.ui.addButton( 'Cy-GistInsert', { | |
label: 'Insert GitHub Gist', // button's tooltip text. |
View bybit_websocket_realtime_fill_data.py
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
################ bybit WebSocket example. | |
import asyncio | |
import websockets | |
import json | |
async def my_loop_WebSocket_bybit(): | |
# 2021.09.04 error websockets version 9.1 only available version 8.1 async with websockets.client.Connect("wss://stream.bybit.com/realtime") as websocket: | |
async with websockets.connect("wss://stream.bybit.com/realtime") as websocket:# OK websockets version 9.1 |
View bybit_websocket_multi_connection_by_asyncio.py
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 asyncio | |
import websockets | |
import json | |
import time | |
import hmac | |
View favicon.html
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
<head> | |
<link rel="shortcut icon" href="myicon.ico" type="image/x-icon"> | |
<link rel="icon" href="myicon.ico" type="image/x-icon"> | |
</head> | |
// image file format .ico or .png available. size 16x16 / 32x32 available. |
View WebSocketSharp.cs
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
using System; | |
using System.Threading; | |
using WebSocketSharp; | |
namespace TestWebSocketSharp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
NewerOlder