Skip to content

Instantly share code, notes, and snippets.

View surrealist's full-sized avatar
🐌
a life.

Suthep Sangvirotjanaphat surrealist

🐌
a life.
View GitHub Profile
@date 20 Oct 2020
@index 750
You can type text here ใช้บันทึกการเทรด ใส่ไอคอน 🦋 🗻 ได้ การเทรดแต่ละวัน ให้เริ่มต้นบรรทัดแรกด้วย @date และตามด้วยวันที่ในรูปแบบเช่นนี้ "22 Oct 2020" (ขอให้เป็นแบบนี้เท่านั้น)
ส่วน @index คือค่าดัชนีของสินค้า เช่น index ปัจจุบันของ S50Z20 ค่าตัวเลขที่พิมพ์จะปรากฏเป็นเส้นสีส้มสูงอย่างต่ำ 200 จุดใน payoff chart ปกติเราจะใส่ index ณ เวลาปัจจุบันที่เทรด (พิมพ์แก้ไขเปลี่ยนแปลงไปเรื่อยๆ ตลอดวัน และเปลี่ยนเป็นค่า close หรือ settlement index เมื่อจบวันนั้นๆ)
@. orders
บรรทัดที่เป็น order นั้น OptionsGo จะดูว่าขึ้นต้นบรรทัดด้วย LF SF LC SC LP SP เช่น
const prices = [
991,
991.2,
991.2,
991,
991.2,
991.2,
991.1,
991.2,
991.1,
JSON.stringifyOnce = function(obj, replacer, indent){
var printedObjects = [];
var printedObjectKeys = [];
function printOnceReplacer(key, value){
if ( printedObjects.length > 2000){ // browsers will not print more than 20K, I don't see the point to allow 2K.. algorithm will not be fast anyway if we have too many objects
return 'object too long';
}
var printedObjIndex = false;
printedObjects.forEach(function(obj, index){
JSON.stringifyOnce = function(obj, replacer, indent){
var printedObjects = [];
var printedObjectKeys = [];
function printOnceReplacer(key, value){
if ( printedObjects.length > 2000){ // browsers will not print more than 20K, I don't see the point to allow 2K.. algorithm will not be fast anyway if we have too many objects
return 'object too long';
}
var printedObjIndex = false;
printedObjects.forEach(function(obj, index){

OptionsGo.net Data Text Syntax (version 0.2)

OptionsGo Data Text syntax is a plain text (unicode or UTF-8 encoding) that uses line-based syntax. Each line can be only one of these but they can be in any order:

  1. Command lines
  2. Order lines
  3. Text lines
  4. Comment lines

1. Command Lines

(function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory();else if(typeof define==="function"&&define.amd)define([],factory);else if(typeof exports==="object")exports["signalR"]=factory();else root["signalR"]=factory()})(window,function(){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{enumerable:true,get:getter})}};__webpack_require__.r=function(exports){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.t

OptionsGo Data Text Format (version 0.1)

OptionsGo file (.txt extension) is a plain text file (unicode or UTF-8 encoding) that uses line-based syntax. Each line can be only one of these but they can be in any order:

  1. Command lines
  2. Order lines
  3. Text lines
  4. Comment lines

1. Command Lines

using System;
using System.Threading;
namespace Oct5
{
class Program
{
static void Main(string[] args)
{

Courses

Essential ASP.NET Core MVC

Get Started and learn the essentials of ASP.NET Core,
MVC, EF Core with this most-popular course!
5 days (30 hours) Roon 10 will be held on 8-12 October, 2018.