-
Create a fresh new Next js project. https://nextjs.org/docs/getting-started#automatic-setup
pnpm create next-app --typescript
-
install prettier
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
{ | |
"W": 768, | |
"H": 1024, | |
"tiling": false, | |
"restore_faces": false, | |
"seed": 1159736376, | |
"sampler": "Euler a", | |
"seed_resize_from_w": 0, | |
"seed_resize_from_h": 0, | |
"steps": 60, |
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
# =============================================================== # | |
from pprint import pprint | |
from tda.orders.generic import OrderBuilder | |
from typing import Union | |
import sys | |
from tda.orders.common import (one_cancels_other as oco, | |
first_triggers_second as trigger) | |
# =============================================================== # |
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
# https://hakibenita.com/fast-load-data-python-postgresql | |
from typing import Iterator, Dict, Any, Optional | |
from urllib.parse import urlencode | |
import datetime | |
#------------------------ Profile | |
import time |