on Algorithmic Trading
Python & Historical Tick Data
Dr. Yves J. Hilpisch | The Python Quants GmbH
Online, 24. October 2017
| <style> | |
| /* lookup field override */ | |
| .lookupInput a { | |
| display: block; | |
| position: absolute; | |
| top: 0px; | |
| } | |
| .lookupInput img { | |
| float:right; |
#Laravel 5 Simple ACL manager
Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.
If the user has a 'Root' role, then they can perform any actions.
Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php
| #!/usr/var/env python | |
| import sys | |
| def convert_To_18(id): | |
| #check valid input | |
| if id is None: | |
| return id | |
| if len(id) < 15: | |
| print "not a valid 15 digit ID" | |
| return |
| # -*- coding: utf-8 -*- | |
| from django import forms | |
| from crispy_forms.helper import FormHelper | |
| from crispy_forms.layout import Layout, Div, Submit, HTML, Button, Row, Field | |
| from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions | |
| class MessageForm(forms.Form): | |
| text_input = forms.CharField() |