py blotter code

py blotter code