Skip to content

Instantly share code, notes, and snippets.

import freqtrade.vendor.qtpylib.indicators as qtpylib
import numpy as np
import talib.abstract as ta
from freqtrade.strategy.interface import IStrategy
from freqtrade.strategy import (merge_informative_pair,
DecimalParameter, IntParameter, CategoricalParameter)
from pandas import DataFrame, Series
from functools import reduce
from freqtrade.persistence import Trade
from datetime import datetime
import freqtrade.vendor.qtpylib.indicators as qtpylib
import numpy as np
import talib.abstract as ta
from freqtrade.strategy.interface import IStrategy
from freqtrade.strategy import (merge_informative_pair,
DecimalParameter, IntParameter, CategoricalParameter)
from pandas import DataFrame
from functools import reduce
from freqtrade.persistence import Trade
from datetime import datetime
@lorvent
lorvent / cloudSettings
Last active April 30, 2020 13:19
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-30T13:19:42.506Z","extensionVersion":"v3.4.3"}
This file has been truncated, but you can view the full file.
==> /var/log/gitlab/alertmanager/current <==
==> /var/log/gitlab/alertmanager/state <==
==> /var/log/gitlab/gitlab-pages/current <==
==> /var/log/gitlab/gitlab-pages/state <==
==> /var/log/gitlab/crond/current <==
id user_id value created_at updated_at
1 1 1329 2016-07-16 21:37:54 2016-07-16 21:37:54
2 2 860 2016-07-16 21:37:55 2016-07-16 21:37:55
3 1 1329 2016-07-16 21:38:53 2016-07-16 21:38:53
4 2 860 2016-07-16 21:38:53 2016-07-16 21:38:53
5 1 1329 2016-07-16 21:39:06 2016-07-16 21:39:06
6 2 860 2016-07-16 21:39:06 2016-07-16 21:39:06
[{"name":"users","color":"Red","position":{"x":100,"y":100},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"name","type":"string","length":"255","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c23","order":0}],"relation":[],"seeding":[]}]
@lorvent
lorvent / eloquent.md
Created February 17, 2014 10:49 — forked from msurguy/eloquent.md

Conventions:

Defining Eloquent model (will assume that DB table named is set as plural of class name and primary key named "id"):

class Shop extends Eloquent {}

Using custom table name

protected $table = 'my_shops';