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
#!/usr/bin/env python | |
import os | |
import sys | |
import argparse | |
import logging | |
from datetime import datetime, timedelta | |
from typing import List, Optional | |
from collections import defaultdict |
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
#!/usr/bin/env python | |
""" A simple Interactive Brokers application that will fetch | |
current market data for a contract from the IB TWS/Gateway. """ | |
import argparse | |
import logging | |
from typing import List | |
from ibapi import wrapper |
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
from btgym import BTgymEnv | |
import IPython.display as Display | |
import PIL.Image as Image | |
from gym import spaces | |
import gym | |
import numpy as np | |
import random |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# File: run-atari.py | |
# Author: Yuxin Wu <[email protected]> | |
# Решение для хакатона https://vk.com/4liftnet?w=wall-136020006_164 | |
# https://github.com/ppwwyyxx/tensorpack/tree/master/examples/A3C-Gym | |
import numpy as np | |
import os |
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
{* Component template *} | |
<div style="border-style: solid; border-width: 1px;"> | |
<h4>Komponenta</h4> | |
<p>Jméno komponenty: {$control->name}</p> | |
{snippet com} | |
<p>Čas vykreslení:{$time|date:'%H:%M:%S'}</p> | |
{/snippet} | |
<p><a n:href="refresh!" class="ajax">REFRESH (invalidování)</a></p> | |
</div> |